/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/ |
H A D | op_mod=rep.pass.cpp | 21 std::chrono::microseconds us(11); 22 us %= 3; 23 assert(us.count() == 2);
|
H A D | op_mod=duration.pass.cpp | 21 std::chrono::microseconds us(11); 23 us %= us2; 24 assert(us.count() == 2); 25 us %= std::chrono::milliseconds(3); 26 assert(us.count() == 2);
|
/external/clang/test/CodeGen/ |
H A D | arm-be-result-return.c | 8 extern union Us { short s; } us; 9 union Us callee_us() { return us; } 16 us = callee_us();
|
H A D | nvptx-inlineasm-ptx.c | 8 unsigned short us; local 24 asm volatile ("mov.b16 %0, %1;" : "=h"(us) : "h"(us));
|
H A D | 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_nand (&us, 1); // CHECK: atomicrmw nand i16 64 (void) __sync_fetch_and_and (&us, 1); // CHECK: atomicrmw and i16 77 us = __sync_fetch_and_add (&us, 11); // CHECK: atomicrmw add 86 us [all...] |
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cons/ |
H A D | convert_inexact.fail.cpp | 23 std::chrono::microseconds us(1); 24 std::chrono::milliseconds ms = us;
|
H A D | 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, "");
|
H A D | convert_inexact.pass.cpp | 25 std::chrono::duration<double, std::micro> us(1); 26 std::chrono::duration<double, std::milli> ms = us; 31 constexpr std::chrono::duration<double, std::micro> us(1); 32 constexpr std::chrono::duration<double, std::milli> ms = us;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_surfaces.c | 33 util_surfaces_do_get(struct util_surfaces *us, unsigned surface_struct_size, argument 42 if(!us->u.hash) 43 us->u.hash = cso_hash_create(); 45 ps = cso_hash_iter_data(cso_hash_find(us->u.hash, (layer << 8) | level)); 49 if(!us->u.array) 50 us->u.array = CALLOC(pt->last_level + 1, sizeof(struct pipe_surface *)); 51 ps = us->u.array[level]; 71 cso_hash_insert(us->u.hash, (layer << 8) | level, ps); 73 us->u.array[level] = ps; 80 util_surfaces_do_detach(struct util_surfaces *us, struc argument 92 util_surfaces_destroy(struct util_surfaces *us, struct pipe_resource *pt, void (*destroy_surface) (struct pipe_surface *)) argument [all...] |
H A D | u_surfaces.h | 47 util_surfaces_do_get(struct util_surfaces *us, unsigned surface_struct_size, 54 util_surfaces_get(struct util_surfaces *us, unsigned surface_struct_size, argument 59 if(likely((pt->target == PIPE_TEXTURE_2D || pt->target == PIPE_TEXTURE_RECT) && us->u.array)) 61 struct pipe_surface *ps = us->u.array[level]; 70 return util_surfaces_do_get(us, surface_struct_size, ctx, pt, level, layer, flags, res); 74 util_surfaces_peek(struct util_surfaces *us, struct pipe_resource *pt, unsigned level, unsigned layer) argument 76 if(!us->u.pv) 80 return cso_hash_iter_data(cso_hash_find(us->u.hash, (layer << 8) | level)); 82 return us->u.array[level]; 85 void util_surfaces_do_detach(struct util_surfaces *us, struc 88 util_surfaces_detach(struct util_surfaces *us, struct pipe_surface *ps) argument [all...] |
/external/ppp/pppd/ |
H A D | 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 136 cbcp_state *us = &cbcp[iface]; local 163 cbcp_state *us = &cbcp[unit]; local [all...] |
/external/libcxx/test/std/utilities/time/time.duration/time.duration.literals/ |
H A D | literals1.pass.cpp | 38 microseconds us = 867us; local 39 assert ( us == microseconds(867)); 40 auto us2 = 867.0us; 41 assert ( us == us2 );
|
H A D | literals2.pass.cpp | 41 std::chrono::microseconds us = 867us; local 42 assert ( us == std::chrono::microseconds(867)); 43 auto us2 = 867.0us; 44 assert ( us == us2 );
|
H A D | literals.pass.cpp | 26 static_assert ( std::is_same<decltype( 3us ), std::chrono::microseconds>::value, "" ); 49 std::chrono::microseconds us = 867us; local 50 assert ( us == std::chrono::microseconds(867)); 51 auto us2 = 867.0us; 52 assert ( us == us2 );
|
/external/icu/icu4c/source/test/intltest/ |
H A D | 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...] |
H A D | utxttest.h | 46 void TestAccess(const UnicodeString &us, UText *ut, int cpCount, m *cpMap); 47 void TestAccessNoClone(const UnicodeString &us, UText *ut, int cpCount, m *cpMap); 48 void TestCMR (const UnicodeString &us, UText *ut, int cpCount, m *nativeMap, m *utf16Map); 49 void TestCopyMove(const UnicodeString &us, UText *ut, UBool move, 52 void TestReplace(const UnicodeString &us, // reference UnicodeString in which to do the replace
|
/external/clang/test/SemaCXX/ |
H A D | PR9461.cpp | 14 int us; member in struct:basic_string 26 :us(_S_construct)
|
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
H A D | TestCharset.java | 51 CharBuffer us = CharBuffer.allocate(0xFF*2); 72 us.put(lead); 73 us.put(trail); 97 us.put((char)c); 102 us.limit(us.position()); 103 us.position(0); 104 if(us.length()==0){ 116 smBufDecode(d1, "UTF-16", bs1, us); 117 smBufEncode(e1, "UTF-16", us, newB [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | StringTokenizerTest.java | 553 UnicodeSet us = new UnicodeSet(); 556 us._generatePattern(sb, true); 557 us._generatePattern(sb, false); 558 us._generatePattern(sb.append(1), true); 559 us._generatePattern(sb.append(1.0), true); 560 us._generatePattern(sb.reverse(), true); 566 us._generatePattern(null, true); 577 UnicodeSet us = new UnicodeSet(0,100000); // Create a large Unicode set 578 us.add("dummy"); 583 if(us [all...] |
/external/clang/test/Sema/ |
H A D | bitfield-promote.c | 19 unsigned short us : 4; member in struct:S 27 __typeof(s.us + s.us) x_us;
|
/external/icu/icu4c/source/common/unicode/ |
H A D | putil.h | 148 * @param us Output string, points to memory for <code>length</code> 157 u_charsToUChars(const char *cs, UChar *us, int32_t length); 167 * @param us Input string, points to <code>length</code> 179 u_UCharsToChars(const UChar *us, char *cs, int32_t length);
|
/external/icu/icu4c/source/io/ |
H A D | ustream.cpp | 50 const UChar *us = str.getBuffer(); local 51 const UChar *uLimit = us + str.length(); 56 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode); 90 UChar *us = uBuffer; local 109 us = uBuffer; 117 ucnv_toUnicode(converter, &us, uLimit, &s, sLimit, 0, !continueReading, &errorCode); 124 if (us != uBuffer) { 126 int32_t uBuffSize = us-uBuffer;
|
/external/libcxxabi/test/support/ |
H A D | timer.hpp | 25 MicroSeconds us = duration_cast<MicroSeconds>(end - m_start); local 26 std::cout << us.count() << " microseconds\n";
|
/external/liblzf/ |
H A D | 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 226 ssize_t rc, cs, us, bytes, over = 0; local [all...] |
/external/icu/icu4c/source/test/perf/usetperf/ |
H A D | 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);
|