Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Side by Side Diff: third_party/talloc/libreplace/timegm.c

Issue 10797029: Enforce all the source files to be encoded in UTF-8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add README.chromium Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 1997 Kungliga Tekniska Högskolan 2 * Copyright (c) 1997 Kungliga Tekniska Högskolan
3 * (Royal Institute of Technology, Stockholm, Sweden). 3 * (Royal Institute of Technology, Stockholm, Sweden).
4 * All rights reserved. 4 * All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 12 *
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 res += ndays[is_leap(tm->tm_year)][i]; 69 res += ndays[is_leap(tm->tm_year)][i];
70 res += tm->tm_mday - 1; 70 res += tm->tm_mday - 1;
71 res *= 24; 71 res *= 24;
72 res += tm->tm_hour; 72 res += tm->tm_hour;
73 res *= 60; 73 res *= 60;
74 res += tm->tm_min; 74 res += tm->tm_min;
75 res *= 60; 75 res *= 60;
76 res += tm->tm_sec; 76 res += tm->tm_sec;
77 return res; 77 return res;
78 } 78 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698