/external/icu4c/samples/datefmt/answers/ |
main_0.cpp | 17 * TimeZone::createTimeZone() will return a GMT zone object. In order 18 * to detect this error, we check the ID of the returned zone against 23 TimeZone* zone = TimeZone::createTimeZone(id); local 24 if (zone->getID(str) != id) { 25 delete zone; 28 printf(") returned zone with ID "); 33 return zone;
|
main_1.cpp | 16 * TimeZone::createTimeZone() will return a GMT zone object. In order 17 * to detect this error, we check the ID of the returned zone against 22 TimeZone* zone = TimeZone::createTimeZone(id); local 23 if (zone->getID(str) != id) { 24 delete zone; 27 printf(") returned zone with ID "); 32 return zone;
|
main_2.cpp | 16 * TimeZone::createTimeZone() will return a GMT zone object. In order 17 * to detect this error, we check the ID of the returned zone against 22 TimeZone* zone = TimeZone::createTimeZone(id); local 23 if (zone->getID(str) != id) { 24 delete zone; 27 printf(") returned zone with ID "); 32 return zone; 38 TimeZone *zone; local 62 zone = createZone("GMT"); // Create a GMT zone [all...] |
main_3.cpp | 16 * TimeZone::createTimeZone() will return a GMT zone object. In order 17 * to detect this error, we check the ID of the returned zone against 22 TimeZone* zone = TimeZone::createTimeZone(id); local 23 if (zone->getID(str) != id) { 24 delete zone; 27 printf(") returned zone with ID "); 32 return zone; 38 TimeZone *zone; local 62 zone = createZone("GMT"); // Create a GMT zone [all...] |
/external/iptables/include/linux/netfilter/ |
xt_CT.h | 8 __u16 zone; member in struct:xt_ct_target_info
|
/external/chromium/net/http/ |
url_security_manager_win.cc | 17 // URL security zone manager. See the MSDN page "URL Security Zones" at 19 // info on the Internet Security Manager and Internet Zone Manager objects. 77 // not located in the Intranet zone". TODO(wtc): Note that it's 86 DWORD zone = 0; local 87 hr = security_manager_->MapUrlToZone(url_w.c_str(), &zone, 0); 92 return zone <= URLZONE_INTRANET; 106 // TODO(cbentzel): Could this just use the security zone as well? Apparently
|
/external/icu4c/samples/datefmt/ |
main.cpp | 16 * TimeZone::createTimeZone() will return a GMT zone object. In order 17 * to detect this error, we check the ID of the returned zone against 22 TimeZone* zone = TimeZone::createTimeZone(id); local 23 if (zone->getID(str) != id) { 24 delete zone; 27 printf(") returned zone with ID "); 32 return zone; 38 TimeZone *zone; local 62 zone = createZone("GMT"); // Create a GMT zone [all...] |
/external/webkit/Tools/DumpRenderTree/mac/ |
CheckedMalloc.cpp | 42 static void* checkedMalloc(malloc_zone_t* zone, size_t size) 46 return savedMalloc(zone, size); 49 static void* checkedRealloc(malloc_zone_t* zone, void* ptr, size_t size) 53 return savedRealloc(zone, ptr, size); 71 malloc_zone_t* zone = malloc_default_zone(); local 74 mach_vm_address_t pageStart = reinterpret_cast<vm_address_t>(zone) & static_cast<vm_size_t>(~(getpagesize() - 1)); 77 vm_size_t len = reinterpret_cast<vm_address_t>(zone) - pageStart + sizeof(malloc_zone_t); 82 savedMalloc = zone->malloc; 83 savedRealloc = zone->realloc; 84 zone->malloc = checkedMalloc [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
ResponseData.java | 244 TimeZone zone = TimeZone.getTimeZone(tz); local 245 int zoneOffset = zone.getRawOffset() + zone.getDSTSavings();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
SimpleTimeZoneTest.java | 261 TimeZone zone = TimeZone.getTimeZone("EST"); local 263 assertFalse("Returned incorrect daylight value1", zone.inDaylightTime(gc 266 assertFalse("Returned incorrect daylight value1", zone.inDaylightTime(gc 268 gc = new GregorianCalendar(zone); 270 assertTrue("Returned incorrect daylight value3", !(zone 273 assertFalse("Returned incorrect daylight value4", zone 276 assertTrue("Returned incorrect daylight value5", !(zone 279 assertFalse("Returned incorrect daylight value6", zone 282 assertTrue("Returned incorrect daylight value7", !zone 284 assertFalse("Returned incorrect daylight value8", zone [all...] |
TimeZoneTest.java | 163 TimeZone zone = new SimpleTimeZone(45, "TEST"); local 164 TimeZone.setDefault(zone); 165 assertEquals("timezone not set", zone, TimeZone.getDefault());
|
/external/freetype/src/cff/ |
cffgload.h | 109 /* execution context charstring zone */ 129 CFF_Decoder_Zone* zone; member in struct:CFF_Decoder_
|
/external/freetype/src/pshinter/ |
pshglob.c | 157 PSH_Blue_Zone zones, zone; local 161 /* read blue zone entry, and select target top/bottom zone */ 183 zone = zones; 184 for ( ; count > 0; count--, zone++ ) 186 if ( reference < zone->org_ref ) 189 if ( reference == zone->org_ref ) 191 FT_Int delta0 = zone->org_delta; 199 zone->org_delta = delta; 204 zone->org_delta = delta 274 PSH_Blue_Zone zone = top_table->zones; local 297 PSH_Blue_Zone zone = bot_table->zones; local 320 PSH_Blue_Zone zone; local 431 PSH_Blue_Zone zone; local 534 PSH_Blue_Zone zone; local [all...] |
/external/icu4c/i18n/ |
udat.cpp | 127 TimeZone *zone = TimeZone::createTimeZone(UnicodeString((UBool)(tzIDLength == -1), tzID, tzIDLength)); local 128 if(zone == 0) { 133 fmt->adoptTimeZone(zone);
|
ucal.cpp | 32 TimeZone* zone = NULL; local 40 zone = TimeZone::createTimeZone(zoneStrID); 41 if (zone == NULL) { 45 return zone; 62 TimeZone* zone = TimeZone::createDefault(); local 63 if (zone == NULL) { 67 zone->getID(id); 68 delete zone; 77 TimeZone* zone = _createTimeZone(zoneID, -1, ec); local 78 if (zone != NULL) 86 TimeZone* zone = _createTimeZone(zoneID, -1, ec); local [all...] |
/external/icu4c/test/intltest/ |
tzbdtest.cpp | 108 TimeZone *zone = TimeZone::createDefault(); local 109 findDaylightBoundaryUsingTimeZone(d, startsInDST, expectedBoundary, zone); 110 delete zone; 193 logln("-- Verifying time " + dateToString(d) + " in zone " + time_zone->getID(str)); 227 * calendar and time zone in conjunction with one another, 229 * the time zone getOffset method. 459 logln(UnicodeString("-- Zone ") + z->getID(str) + " starts in " + year + " with DST = " + (lastState?"true":"false")); 491 * of specific zones. Since ICU's zone table is based on the Olson 493 * test can fail after a zone table update. If that happens, the 504 TimeZone *zone = TimeZone::createTimeZone("America/New_York") local [all...] |
dtptngts.cpp | 353 TimeZone *zone = TimeZone::createTimeZone(UnicodeString("ECT")); local 354 if (zone==NULL) { 360 format->setTimeZone(*zone); 389 format->setTimeZone(*zone); 400 // modify it to change the zone. 465 delete zone; [all...] |
/external/icu4c/test/perf/DateFmtPerf/ |
DateFmtPerf.h | 163 TimeZone *zone; local 169 zone = TimeZone::createTimeZone("GMT"); // Create a GMT zone 170 cal->adoptTimeZone(zone);
|
/external/kernel-headers/original/linux/ |
gfp.h | 13 /* Zone modifiers in GFP_ZONEMASK (see linux/mmzone.h - low three bits) */ 81 int zone = GFP_ZONEMASK & (__force int) gfp; local 82 BUG_ON(zone >= GFP_ZONETYPES); 83 return zone; 94 * We get the zone list from the current node and the gfp_mask. 95 * This zone list contains a maximum of MAXNODES*MAX_NR_ZONES zones.
|
/libcore/luni/src/main/java/java/util/ |
TimeZone.java | 25 * {@code TimeZone} represents a time zone, primarily used for configuring a {@link Calendar} or 29 * the time zone where the program is running. 88 * Returns a new time zone with the same ID, raw offset, and daylight 89 * savings time rules as this time zone. 100 * Returns the system's installed time zone IDs. Any of these IDs can be 101 * passed to {@link #getTimeZone} to lookup the corresponding time zone 111 * lookup the corresponding time zone instance. 120 * Returns the user's preferred time zone. This may have been overridden for 123 * <p>Since the user's time zone changes dynamically, avoid caching this 158 * zone with either standard or daylight time, as written in {@code locale} 285 TimeZone zone = ZoneInfoDB.getTimeZone(id); local [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
SimpleTimeZoneTest.java | 403 SimpleTimeZone zone = new SimpleTimeZone(tz.getRawOffset(), "EST", local 407 assertTrue("Returned incorrect daylight value1", zone.inDaylightTime(gc 410 assertTrue("Returned incorrect daylight value2", !(zone 412 gc = new GregorianCalendar(zone); 414 assertTrue("Returned incorrect daylight value3", !(zone 417 assertTrue("Returned incorrect daylight value4", zone 420 assertTrue("Returned incorrect daylight value5", !(zone 423 assertTrue("Returned incorrect daylight value6", zone 426 assertTrue("Returned incorrect daylight value7", !zone 428 assertTrue("Returned incorrect daylight value8", zone [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
DisplaySyncHistogram.java | 159 TimeZone zone = RegularTimePeriod.DEFAULT_TIME_ZONE; local 160 Calendar calendar = Calendar.getInstance(zone);
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipEntryTest.java | 365 TimeZone zone = TimeZone.getDefault(); local 386 TimeZone.setDefault(zone);
|
/external/chromium/base/third_party/nspr/ |
prtime.cc | 127 // Adjust for time zone and dst. Convert from seconds to microseconds. 164 // If timegm returned -1. Since we don't pass it a time zone, the only 510 * be interpreted relative to the local time zone (PR_FALSE) or GMT (PR_TRUE). 525 TIME_TOKEN zone = TT_UNKNOWN; local 556 else if (zone == TT_UNKNOWN && 559 zone = TT_AST; 566 if (zone == TT_UNKNOWN && 569 zone = TT_BST; 572 if (zone == TT_UNKNOWN && 575 zone = TT_CDT [all...] |
/external/freetype/src/psaux/ |
t1decode.c | 360 T1_Decoder_Zone zone; local 388 decoder->zone = decoder->zones; 389 zone = decoder->zones; 408 zone->base = charstring_base; 409 limit = zone->limit = charstring_base + charstring_len; 410 ip = zone->cursor = zone->base; [all...] |