Searched defs:us (Results 1 - 25 of 98) sorted by relevance

1234

/external/libcxx/test/utilities/time/time.duration/time.duration.cons/
H A Dconvert_exact.pass.cpp26 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/
H A DPR9461.cpp14 int us; member in struct:basic_string
26 :us(_S_construct)
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_surfaces.c33 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 Du_surfaces.h47 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/chromium_org/third_party/ots/test/
H A Dperf.cc74 long long unsigned us local
76 std::fprintf(stderr, "%llu [us] %s (%llu bytes, %llu [byte/us])\n",
77 us, argv[1], static_cast<long long>(st.st_size),
78 (us ? st.st_size / us : 0));
/external/clang/test/CodeGen/
H A DAtomics.c8 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, 1
[all...]
H A Dnvptx-inlineasm-ptx.c8 unsigned short us; local
24 asm volatile ("mov.b16 %0, %1;" : "=h"(us) : "h"(us));
/external/libcxx/test/utilities/time/time.duration/time.duration.literals/
H A Dliterals.pass.cpp26 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 );
H A Dliterals1.pass.cpp38 microseconds us = 867us; local
39 assert ( us == microseconds(867));
40 auto us2 = 867.0us;
41 assert ( us == us2 );
H A Dliterals2.pass.cpp41 std::chrono::microseconds us = 867us; local
42 assert ( us == std::chrono::microseconds(867));
43 auto us2 = 867.0us;
44 assert ( us == us2 );
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_surfaces.c33 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 Du_surfaces.h47 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/arduino/hardware/arduino/cores/arduino/
H A Dwiring.c118 void delayMicroseconds(unsigned int us) argument
122 //delay_us(us);
128 // of the function call yields a delay of approximately 1 1/8 us.
129 if (--us == 0)
135 us <<= 2;
138 us -= 2;
144 // subtract two, since us is unsigned; we'd overflow.
145 if (--us == 0)
147 if (--us == 0)
153 us <<
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Ditrbnfp.cpp147 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...]
/external/clang/test/Sema/
H A Dbitfield-promote.c19 unsigned short us : 4; member in struct:S
27 __typeof(s.us + s.us) x_us;
/external/icu/icu4c/source/test/intltest/
H A Ditrbnfp.cpp147 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...]
/external/chromium_org/third_party/icu/source/io/
H A Dustream.cpp47 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/chromium_org/third_party/icu/source/test/cintltst/
H A Dcstrtest.c190 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) {
/external/chromium_org/third_party/icu/source/test/perf/usetperf/
H A Dusetperf.cpp45 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_org/third_party/sfntly/cpp/src/sfntly/data/
H A Dfont_output_stream.cc81 void FontOutputStream::WriteUShort(int32_t us) { argument
82 Write((byte_t)((us >> 8) & 0xff));
83 Write((byte_t)(us & 0xff));
/external/icu/icu4c/source/io/
H A Dustream.cpp47 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/icu/icu4c/source/test/cintltst/
H A Dcstrtest.c190 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) {
/external/icu/icu4c/source/test/perf/usetperf/
H A Dusetperf.cpp45 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/sfntly/cpp/src/sfntly/data/
H A Dfont_output_stream.cc81 void FontOutputStream::WriteUShort(int32_t us) { argument
82 Write((byte_t)((us >> 8) & 0xff));
83 Write((byte_t)(us & 0xff));
/external/chromium_org/net/quic/
H A Dquic_time.cc39 QuicTime::Delta QuicTime::Delta::FromMicroseconds(int64 us) { argument
40 return QuicTime::Delta(base::TimeDelta::FromMicroseconds(us));

Completed in 550 milliseconds

1234