/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.duration/time.duration.cons/ |
convert_exact.pass.cpp | 26 std::chrono::microseconds us = ms; local 27 assert(us.count() == 1000); 32 constexpr std::chrono::microseconds us = ms; local 33 static_assert(us.count() == 1000, "");
|
/external/clang/test/SemaCXX/ |
PR9461.cpp | 14 int us; member in struct:basic_string 26 :us(_S_construct)
|
/external/clang/test/CodeGen/ |
Atomics.c | 8 unsigned short us; variable 19 (void) __sync_fetch_and_add (&us, 1); // CHECK: atomicrmw add i16 28 (void) __sync_fetch_and_sub (&us, 1); // CHECK: atomicrmw sub i16 37 (void) __sync_fetch_and_or (&us, 1); // CHECK: atomicrmw or i16 46 (void) __sync_fetch_and_xor (&us, 1); // CHECK: atomicrmw xor i16 55 (void) __sync_fetch_and_and (&us, 1); // CHECK: atomicrmw and i16 68 us = __sync_fetch_and_add (&us, 11); // CHECK: atomicrmw add 77 us = __sync_fetch_and_sub (&us, 11); // CHECK: atomicrmw su [all...] |
/external/icu4c/test/intltest/ |
itrbnfp.cpp | 147 UnicodeString us; local 148 formatter->format((const Formattable)val, us, status); 150 us.insert(0, (UChar)'"'); 151 us.append((UChar)'"'); 152 logln(us); 160 UnicodeString us; local 161 formatter->format((const Formattable)(int32_t)val, us, status); 163 us.insert(0, (UChar)'"'); 164 us.append((UChar)'"'); 165 logln(us); [all...] |
plurfmts.cpp | 91 UnicodeString us = UnicodeString(""); local 92 plFmt[0]->toPattern(us);
|
/external/libffi/testsuite/libffi.call/ |
promotion.c | 10 unsigned char uc, unsigned short us) 12 int r = (int) sc + (int) ss + (int) uc + (int) us; 26 unsigned short us; local 36 values[3] = &us; 42 us = 0; 50 for (us = 0; us <= 60000; us += 10000) 55 (unsigned char) uc + (unsigned short) us);
|
/frameworks/compile/libbcc/tests/debuginfo/host-tests/ |
global_struct.c | 23 unsigned short us = -1; variable 34 double result = pf[0] * d[1][1] * s.d * us * l;
|
globals.c | 10 // DEBUGGER: print us 30 unsigned short us = -1; variable 41 double result = pf[0] * d[1][1] * s.d * us * l;
|
locals.cpp | 9 // CHECK: us = 65535 30 unsigned short us = -1; local 44 double result = pf[0] * d[1][1] * s.f * us * l;
|
/external/clang/test/Sema/ |
bitfield-promote.c | 19 unsigned short us : 4; member in struct:S 27 __typeof(s.us + s.us) x_us;
|
/external/icu4c/io/ |
ustream.cpp | 47 const UChar *us = str.getBuffer(); local 48 const UChar *uLimit = us + str.length(); 53 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode); 87 UChar *us = uBuffer; local 106 us = uBuffer; 114 ucnv_toUnicode(converter, &us, uLimit, &s, sLimit, 0, !continueReading, &errorCode); 121 if (us != uBuffer) { 123 int32_t uBuffSize = us-uBuffer;
|
/external/icu4c/test/perf/usetperf/ |
usetperf.cpp | 45 UnicodeSet us; member in class:CmdOp 68 us.clear(); 71 us.add(cp); 78 us.clear(); 80 if (us.contains(cp)) { 88 UnicodeSetIterator uit(us);
|
/external/chromium/base/ |
time_posix.cc | 206 int64 us = us_ - kTimeTToMicrosecondsOffset; local 207 result.tv_sec = us / Time::kMicrosecondsPerSecond; 208 result.tv_usec = us % Time::kMicrosecondsPerSecond;
|
/external/icu4c/test/cintltst/ |
cstrtest.c | 190 UChar us[120]; local 197 u_charsToUChars(invariantChars, us, length); 198 if(u_strcmp(us, invariantUChars)!=0) { 213 u_charsToUChars(variantChars, us, length); 214 if(u_strcmp(us, variantUChars)!=0) { 252 length=ucnv_toUChars(cnv, us, LENGTHOF(us), invariantChars, -1, &errorCode); 255 } else if(length!=LENGTHOF(invariantUChars)-1 || u_strcmp(us, invariantUChars)!=0) {
|
spooftest.c | 251 USet *us; local 257 us = uset_open((UChar32)0x41, (UChar32)0x5A); /* [A-Z] */ 258 uspoof_setAllowedChars(sc, us, &status); 260 TEST_ASSERT_NE(us, uspoof_getAllowedChars(sc, &status)); 261 TEST_ASSERT(uset_equals(us, uspoof_getAllowedChars(sc, &status))); 263 uset_close(us);
|
/system/extras/tests/bionic/libstdc++/ |
test_climits.cpp | 75 volatile unsigned short us = USHRT_MAX; local
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
Support_DecimalFormat.java | 44 .getCurrencyInstance(Locale.US); 136 Locale us = Locale.US; local 140 t_Format(1, number, NumberFormat.getNumberInstance(us), 144 // testFormat(2, number, NumberFormat.getIntegerInstance(us), 148 t_Format(3, number, NumberFormat.getPercentInstance(us), 163 // test currency instance with US Locale 164 t_Format(7, number, NumberFormat.getCurrencyInstance(us), 167 // test negative currency instance with US Locale 168 t_Format(8, negativeNumber, NumberFormat.getCurrencyInstance(us), [all...] |
/external/ppp/pppd/ |
cbcp.c | 97 static void cbcp_recvreq __P((cbcp_state *us, u_char *pckt, int len)); 98 static void cbcp_resp __P((cbcp_state *us)); 99 static void cbcp_up __P((cbcp_state *us)); 100 static void cbcp_recvack __P((cbcp_state *us, u_char *pckt, int len)); 101 static void cbcp_send __P((cbcp_state *us, int code, u_char *buf, int len)); 123 cbcp_state *us; local 125 us = &cbcp[iface]; 126 memset(us, 0, sizeof(cbcp_state)); 127 us->us_unit = iface; 128 us->us_type |= (1 << CB_CONF_NO) 136 cbcp_state *us = &cbcp[iface]; local 163 cbcp_state *us = &cbcp[unit]; local [all...] |
/external/tcpdump/ |
print-bootp.c | 371 u_int16_t us; local 450 us = EXTRACT_16BITS(bp); 452 cp = tok2str(xtag2str, "?xT%u", us); 525 while (len >= sizeof(us)) { 528 us = EXTRACT_16BITS(bp); 529 printf("%u", us); 530 bp += sizeof(us); 531 len -= sizeof(us);
|
/libcore/support/src/test/java/tests/support/ |
Support_DecimalFormat.java | 43 .getCurrencyInstance(Locale.US); 139 Locale us = Locale.US; local 142 if (Support_Locale.isLocaleAvailable(us)) { 146 t_Format(1, number, NumberFormat.getNumberInstance(us), 150 t_Format(2, number, NumberFormat.getIntegerInstance(us), 154 t_Format(3, number, NumberFormat.getPercentInstance(us), 157 // test currency instance with US Locale 158 t_Format(4, number, NumberFormat.getCurrencyInstance(us), 161 // test negative currency instance with US Local [all...] |
/external/liblzf/ |
lzf.c | 179 ssize_t us, cs, len; local 185 while ((us = rread (from, &buf1[MAX_HDR_SIZE], blocksize)) > 0) 187 cs = lzf_compress (&buf1[MAX_HDR_SIZE], us, &buf2[MAX_HDR_SIZE], us > 4 ? us - 4 : us); 196 header[5] = us >> 8; 197 header[6] = us & 0xff; 206 header[3] = us >> 8; 207 header[4] = us & 0xff 226 ssize_t rc, cs, us, bytes, over = 0; local [all...] |
/frameworks/wilhelm/tests/sandbox/ |
monkey.c | 142 unsigned us = 1000 + (rand() & 0xFFFFF); local 143 usleep(us);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
LocaleManagerTest.java | 63 assertTrue(s, s.length() == 2 && s.equals(s.toLowerCase(Locale.US))); 66 assertTrue(s, s.length() == 2 && s.equals(s.toLowerCase(Locale.US))); 72 assertTrue(s, s.length() == 2 && s.equals(s.toUpperCase(Locale.US))); 75 assertTrue(s, s.length() == 2 && s.equals(s.toUpperCase(Locale.US))); 97 Image us = manager.getFlag("US"); local 103 assertSame(us, manager.getFlag("en", "US")); 106 Locale.setDefault(Locale.US); 107 assertSame(us, manager.getFlag("en", null)) [all...] |
/system/core/toolbox/ |
vmstat.c | 217 printf("%2s %2s %6s %6s %6s %6s %4s %4s %4s %2s %2s %2s %2s %2s %2s\n", "r", "b", "free", "mapped", "anon", "slab", "in", "cs", "flt", "us", "ni", "sy", "id", "wa", "ir"); 225 int us, ni, sy, id, wa, ir; local 226 us = JP(new->cpu_us - old->cpu_us); NORM(us); 236 us, ni, sy, id, wa, ir);
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/ |
p7-cxx11-nowarn.cpp | 138 unsigned short us = 1; local 141 Agg<short> s2 = {us}; // expected-warning {{ cannot be narrowed }} expected-note {{override}}
|