HomeSort by relevance Sort by last modified time
    Searched defs:zone (Results 1 - 25 of 69) sorted by null

1 2 3

  /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/webkit/WebKitTools/DumpRenderTree/mac/
CheckedMalloc.cpp 40 static void* checkedMalloc(malloc_zone_t* zone, size_t size)
44 return savedMalloc(zone, size);
47 static void* checkedRealloc(malloc_zone_t* zone, void* ptr, size_t size)
51 return savedRealloc(zone, ptr, size);
56 malloc_zone_t* zone = malloc_default_zone(); local
59 vm_address_t pageStart = reinterpret_cast<vm_address_t>(zone) & static_cast<vm_size_t>(~(getpagesize() - 1));
60 vm_size_t len = reinterpret_cast<vm_address_t>(zone) - pageStart + sizeof(malloc_zone_t);
64 savedMalloc = zone->malloc;
65 savedRealloc = zone->realloc;
66 zone->malloc = checkedMalloc
    [all...]
  /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...]
  /packages/apps/Launcher2/src/com/android/launcher2/
ClippedImageView.java 45 final int zone = mZone; local
46 return !(zone != 0 && (zone > 0 && event.getX() >= zone) ||
47 (zone < 0 && event.getX() < getWidth() + zone)) && super.onTouchEvent(event);
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/
DisplaySyncHistogram.java 155 TimeZone zone = RegularTimePeriod.DEFAULT_TIME_ZONE; local
156 Calendar calendar = Calendar.getInstance(zone);
  /external/chromium/third_party/icu/source/i18n/
udat.cpp 83 TimeZone *zone = TimeZone::createTimeZone(UnicodeString((UBool)(tzIDLength == -1), tzID, tzIDLength)); local
84 if(zone == 0) {
89 fmt->adoptTimeZone(zone);
ucal.cpp 30 TimeZone* zone = NULL; local
38 zone = TimeZone::createTimeZone(zoneStrID);
39 if (zone == NULL) {
43 return zone;
60 TimeZone* zone = TimeZone::createDefault(); local
61 if (zone == NULL) {
65 zone->getID(id);
66 delete zone;
75 TimeZone* zone = _createTimeZone(zoneID, -1, ec); local
76 if (zone != NULL)
84 TimeZone* zone = _createTimeZone(zoneID, -1, ec); local
    [all...]
  /external/chromium/third_party/icu/source/test/intltest/
dtptngts.cpp 311 TimeZone *zone = TimeZone::createTimeZone(UnicodeString("ECT")); local
312 if (zone==NULL) {
318 format->setTimeZone(*zone);
347 format->setTimeZone(*zone);
358 // modify it to change the zone.
423 delete zone;
686 zone = TimeZone::createTimeZone(UnicodeString("GMT"));
687 formatter.setTimeZone(*zone);
702 delete zone;
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.
457 logln(UnicodeString("-- Zone ") + z->getID(str) + " starts in " + year + " with DST = " + (lastState?"true":"false"));
489 * of specific zones. Since ICU's zone table is based on the Olson
491 * test can fail after a zone table update. If that happens, the
502 TimeZone *zone = TimeZone::createTimeZone("America/New_York") local
    [all...]
tztest.cpp 81 SimpleTimeZone *zone = new SimpleTimeZone(offset, id); local
82 if (zone->useDaylightTime()) errln("FAIL: useDaylightTime should return FALSE");
84 TimeZone* zoneclone = zone->clone();
85 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed");
87 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed");
90 zoneclone = zone->clone();
91 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed");
93 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed");
95 SimpleTimeZone copy(*zone);
96 if (!(copy == *zone)) errln("FAIL: copy constructor or operator== failed")
153 SimpleTimeZone *zone = new SimpleTimeZone((int32_t)offset, "TestZone"); local
    [all...]
  /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 30 TimeZone* zone = NULL; local
38 zone = TimeZone::createTimeZone(zoneStrID);
39 if (zone == NULL) {
43 return zone;
60 TimeZone* zone = TimeZone::createDefault(); local
61 if (zone == NULL) {
65 zone->getID(id);
66 delete zone;
75 TimeZone* zone = _createTimeZone(zoneID, -1, ec); local
76 if (zone != NULL)
84 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 312 TimeZone *zone = TimeZone::createTimeZone(UnicodeString("ECT")); local
313 if (zone==NULL) {
319 format->setTimeZone(*zone);
348 format->setTimeZone(*zone);
359 // modify it to change the zone.
424 delete zone;
687 zone = TimeZone::createTimeZone(UnicodeString("GMT"));
688 formatter.setTimeZone(*zone);
703 delete zone;
    [all...]
tztest.cpp 81 SimpleTimeZone *zone = new SimpleTimeZone(offset, id); local
82 if (zone->useDaylightTime()) errln("FAIL: useDaylightTime should return FALSE");
84 TimeZone* zoneclone = zone->clone();
85 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed");
87 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed");
90 zoneclone = zone->clone();
91 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed");
93 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed");
95 SimpleTimeZone copy(*zone);
96 if (!(copy == *zone)) errln("FAIL: copy constructor or operator== failed")
162 SimpleTimeZone *zone = new SimpleTimeZone((int32_t)offset, "TestZone"); local
    [all...]
  /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.
  /external/webkit/JavaScriptCore/wtf/
CurrentTime.cpp 301 struct timezone zone; local
303 gettimeofday(&now, &zone);
  /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}
282 TimeZone zone = ZoneInfoDB.getTimeZone(id); local
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
SimpleTimeZoneTest.java 481 SimpleTimeZone zone = new SimpleTimeZone(tz.getRawOffset(), "EST", local
485 assertTrue("Returned incorrect daylight value1", zone.inDaylightTime(gc
488 assertTrue("Returned incorrect daylight value2", !(zone
490 gc = new GregorianCalendar(zone);
492 assertTrue("Returned incorrect daylight value3", !(zone
495 assertTrue("Returned incorrect daylight value4", zone
498 assertTrue("Returned incorrect daylight value5", !(zone
501 assertTrue("Returned incorrect daylight value6", zone
504 assertTrue("Returned incorrect daylight value7", !zone
506 assertTrue("Returned incorrect daylight value8", zone
    [all...]
  /external/chromium/base/third_party/nspr/
prtime.cc 126 // Adjust for time zone and dst. Convert from seconds to microseconds.
163 // If timegm returned -1. Since we don't pass it a time zone, the only
509 * be interpreted relative to the local time zone (PR_FALSE) or GMT (PR_TRUE).
524 TIME_TOKEN zone = TT_UNKNOWN; local
555 else if (zone == TT_UNKNOWN &&
558 zone = TT_AST;
565 if (zone == TT_UNKNOWN &&
568 zone = TT_BST;
571 if (zone == TT_UNKNOWN &&
574 zone = TT_CDT
    [all...]

Completed in 467 milliseconds

1 2 3