Home
last modified time | relevance | path

Searched refs:us (Results 1 - 25 of 250) sorted by relevance

12345678910

/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
H A DTestCharset.java59 CharBuffer us = CharBuffer.allocate(0xFF*2); in TestUTF16Converter()
80 us.put(lead); in TestUTF16Converter()
81 us.put(trail); in TestUTF16Converter()
105 us.put((char)c); in TestUTF16Converter()
110 us.limit(us.position()); in TestUTF16Converter()
111 us.position(0); in TestUTF16Converter()
112 if(us.length()==0){ in TestUTF16Converter()
124 smBufDecode(d1, "UTF-16", bs1, us); in TestUTF16Converter()
125 smBufEncode(e1, "UTF-16", us, newB in TestUTF16Converter()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DStringTokenizerTest.java559 UnicodeSet us = new UnicodeSet(); in Test_GeneratePattern()
562 us._generatePattern(sb, true); in Test_GeneratePattern()
563 us._generatePattern(sb, false); in Test_GeneratePattern()
564 us._generatePattern(sb.append(1), true); in Test_GeneratePattern()
565 us._generatePattern(sb.append(1.0), true); in Test_GeneratePattern()
566 us._generatePattern(sb.reverse(), true); in Test_GeneratePattern()
572 us._generatePattern(null, true); in Test_GeneratePattern()
584 UnicodeSet us = new UnicodeSet(0,100000); // Create a large Unicode set in TestMatches()
585 us.add("dummy"); in TestMatches()
590 if(us in TestMatches()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DStringTokenizerTest.java556 UnicodeSet us = new UnicodeSet(); in Test_GeneratePattern()
559 us._generatePattern(sb, true); in Test_GeneratePattern()
560 us._generatePattern(sb, false); in Test_GeneratePattern()
561 us._generatePattern(sb.append(1), true); in Test_GeneratePattern()
562 us._generatePattern(sb.append(1.0), true); in Test_GeneratePattern()
563 us._generatePattern(sb.reverse(), true); in Test_GeneratePattern()
569 us._generatePattern(null, true); in Test_GeneratePattern()
581 UnicodeSet us = new UnicodeSet(0,100000); // Create a large Unicode set in TestMatches()
582 us.add("dummy"); in TestMatches()
587 if(us in TestMatches()
[all...]
/third_party/zlib/contrib/minizip/
H A Dunzip.c502 unz64_s us; in unzOpenInternal() local
520 us.z_filefunc.zseek32_file = NULL; in unzOpenInternal()
521 us.z_filefunc.ztell32_file = NULL; in unzOpenInternal()
523 fill_fopen64_filefunc(&us.z_filefunc.zfile_func64); in unzOpenInternal()
525 us.z_filefunc = *pzlib_filefunc64_32_def; in unzOpenInternal()
526 us.is64bitOpenFunction = is64bitOpenFunction; in unzOpenInternal()
530 us.filestream = ZOPEN64(us.z_filefunc, in unzOpenInternal()
534 if (us.filestream==NULL) in unzOpenInternal()
537 central_pos = unz64local_SearchCentralDir64(&us in unzOpenInternal()
737 unz64_s us; unzOpenFile() local
[all...]
/third_party/mesa3d/src/mesa/math/
H A Dm_eval.c200 GLfloat us = 1.0F - u, vs = 1.0F - v; in _math_de_casteljau_surf() local
222 dv[k] = us * (CN(0, 1, k) - CN(0, 0, k)) + in _math_de_casteljau_surf()
226 out[k] = us * (vs * CN(0, 0, k) + v * CN(0, 1, k)) + in _math_de_casteljau_surf()
234 DCN(0, 0) = us * CN(0, 0, k) + u * CN(1, 0, k); in _math_de_casteljau_surf()
242 DCN(0, j + 1) = us * CN(0, j + 1, k) + u * CN(1, j + 1, k); in _math_de_casteljau_surf()
275 DCN(i, 1) = us * DCN(i, 1) + u * DCN(i + 1, 1); in _math_de_casteljau_surf()
279 DCN(i, 0) = us * DCN(i, 0) + u * DCN(i + 1, 0); in _math_de_casteljau_surf()
286 DCN(i, 1) = us * DCN(i, 1) + u * DCN(i + 1, 1); in _math_de_casteljau_surf()
289 DCN(i, 0) = us * DCN(i, 0) + u * DCN(i + 1, 0); in _math_de_casteljau_surf()
296 dv[k] = us * DC in _math_de_casteljau_surf()
[all...]
/third_party/libinput/src/
H A Dutil-time.h43 us(uint64_t us) in us() argument
45 return us; in us()
51 return us(ns / 1000); in ns2us()
57 return us(ms * 1000); in ms2us()
73 us2ms(uint64_t us) in us2ms() argument
75 return (uint32_t)(us / 1000); in us2ms()
79 us2ms_f(uint64_t us) in us2ms_f() argument
81 return (double)us / 1000.0; in us2ms_f()
110 to_human_time(uint64_t us) in to_human_time() argument
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Ditrbnfp.cpp149 UnicodeString us; in testfmt() local
150 formatter->format((const Formattable)val, us, status); in testfmt()
152 us.insert(0, (UChar)'"'); in testfmt()
153 us.append((UChar)'"'); in testfmt()
154 logln(us); in testfmt()
162 UnicodeString us; in testfmt() local
163 formatter->format((const Formattable)(int32_t)val, us, status); in testfmt()
165 us.insert(0, (UChar)'"'); in testfmt()
166 us.append((UChar)'"'); in testfmt()
167 logln(us); in testfmt()
[all...]
H A Dutxttest.h50 void TestAccess(const UnicodeString &us, UText *ut, int cpCount, m *cpMap);
51 void TestAccessNoClone(const UnicodeString &us, UText *ut, int cpCount, m *cpMap);
52 void TestCMR (const UnicodeString &us, UText *ut, int cpCount, m *nativeMap, m *utf16Map);
53 void TestCopyMove(const UnicodeString &us, UText *ut, UBool move,
56 void TestReplace(const UnicodeString &us, // reference UnicodeString in which to do the replace
/third_party/ffmpeg/libavcodec/
H A Dcbs_jpeg_syntax_template.c34 us(8, C[i], i, 0, JPEG_MAX_COMPONENTS); in frame_header()
35 us(4, H[i], i, 1, 4); in frame_header()
36 us(4, V[i], i, 1, 4); in frame_header()
37 us(8, Tq[i], i, 0, 3); in frame_header()
53 us(16, Q[i], i, 1, 255); in quantisation_table()
56 us(8, Q[i], i, 1, 255); in quantisation_table()
87 us(8, L[i], i, 0, 255); in huffman_table()
94 us(8, V[ij], ij, 0, 255); in huffman_table()
137 us(8, Cs[j], j, 0, JPEG_MAX_COMPONENTS); in scan_header()
138 us( in scan_header()
[all...]
/third_party/musl/src/select/
H A Dselect.c13 suseconds_t us = tv ? tv->tv_usec : 0; in select() local
17 if (s<0 || us<0) return __syscall_ret(-EINVAL); in select()
18 if (us/1000000 > max_time - s) { in select()
20 us = 999999; in select()
23 s += us/1000000; in select()
24 us %= 1000000; in select()
25 ns = us*1000; in select()
41 tv ? ((long long[]){s, us}) : 0); in select()
43 tv ? ((long[]){s, us}) : 0); in select()
/third_party/musl/porting/liteos_a/user/src/select/
H A Dselect.c13 suseconds_t us = tv ? tv->tv_usec : 0; in select() local
17 if (s<0 || us<0) return __syscall_ret(-EINVAL); in select()
18 if (us/1000000 > max_time - s) { in select()
20 us = 999999; in select()
23 s += us/1000000; in select()
24 us %= 1000000; in select()
25 ns = us*1000; in select()
39 tv ? ((long long[]){s, us}) : 0); in select()
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/
H A Dunzip.c584 unz64_s us; in unzOpenInternal() local
602 us.z_filefunc.zseek32_file = NULL; in unzOpenInternal()
603 us.z_filefunc.ztell32_file = NULL; in unzOpenInternal()
605 fill_fopen64_filefunc(&us.z_filefunc.zfile_func64); in unzOpenInternal()
607 us.z_filefunc = *pzlib_filefunc64_32_def; in unzOpenInternal()
608 us.is64bitOpenFunction = is64bitOpenFunction; in unzOpenInternal()
612 us.filestream = ZOPEN64(us.z_filefunc, in unzOpenInternal()
616 if (us.filestream==NULL) in unzOpenInternal()
619 central_pos = unz64local_SearchCentralDir64(&us in unzOpenInternal()
[all...]
/third_party/skia/third_party/externals/zlib/contrib/minizip/
H A Dunzip.c584 unz64_s us; in unzOpenInternal() local
602 us.z_filefunc.zseek32_file = NULL; in unzOpenInternal()
603 us.z_filefunc.ztell32_file = NULL; in unzOpenInternal()
605 fill_fopen64_filefunc(&us.z_filefunc.zfile_func64); in unzOpenInternal()
607 us.z_filefunc = *pzlib_filefunc64_32_def; in unzOpenInternal()
608 us.is64bitOpenFunction = is64bitOpenFunction; in unzOpenInternal()
612 us.filestream = ZOPEN64(us.z_filefunc, in unzOpenInternal()
616 if (us.filestream==NULL) in unzOpenInternal()
619 central_pos = unz64local_SearchCentralDir64(&us in unzOpenInternal()
[all...]
/third_party/libwebsockets/lib/core-net/
H A Dsorted-usec-list.c30 lws_usec_t a = ((lws_sorted_usec_list_t *)d)->us; in sul_compare()
31 lws_usec_t b = ((lws_sorted_usec_list_t *)i)->us; in sul_compare()
47 * notice owner was chosen already, and sul->us was already computed
73 sul->us = 0; in lws_sul_cancel()
135 if (!hit || sul->us <= lowest) { in __lws_sul_service_ripe()
137 lowest = sul->us; in __lws_sul_service_ripe()
156 hit->us = 0; in __lws_sul_service_ripe()
177 * For those cases, this allows us to retrospectively adjust existing suls on
224 sul->us += step_us; in lws_sul_nonmonotonic_adjust()
258 if (hit == -1 || sul->us < lowes in lws_sul_earliest_wakeable_event()
[all...]
/third_party/icu/icu4c/source/io/
H A Dustream.cpp50 const UChar *us = str.getBuffer(); in operator <<() local
51 const UChar *uLimit = us + str.length(); in operator <<()
56 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, false, &errorCode); in operator <<()
90 UChar *us = uBuffer; in operator >>() local
109 us = uBuffer; in operator >>()
117 ucnv_toUnicode(converter, &us, uLimit, &s, sLimit, 0, !continueReading, &errorCode); in operator >>()
124 if (us != uBuffer) { in operator >>()
126 int32_t uBuffSize = static_cast<int32_t>(us-uBuffer); in operator >>()
/third_party/skia/third_party/externals/icu/source/io/
H A Dustream.cpp50 const UChar *us = str.getBuffer(); in operator <<() local
51 const UChar *uLimit = us + str.length(); in operator <<()
56 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode); in operator <<()
90 UChar *us = uBuffer; in operator >>() local
109 us = uBuffer; in operator >>()
117 ucnv_toUnicode(converter, &us, uLimit, &s, sLimit, 0, !continueReading, &errorCode); in operator >>()
124 if (us != uBuffer) { in operator >>()
126 int32_t uBuffSize = static_cast<int32_t>(us-uBuffer); in operator >>()
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/
H A DColumnGroupTest.java34 Column<Boolean> us = group.getColumnFromId("US"); in testGroupColumns()
35 assertThat(us.getName()).isEqualTo("Region:US"); in testGroupColumns()
36 assertThat(us.type()).isEqualTo(Boolean.class); in testGroupColumns()
51 Column<Boolean> us = group.getColumnFromId("US"); in testExtractGroupColumns()
55 assertThat(group.extractGroupColumns(ImmutableSet.of(first, us, prototype, ca, last))) in testExtractGroupColumns()
56 .containsExactly(PhoneRegion.of("US"), us, PhoneRegion.of("CA"), ca).inOrder(); in testExtractGroupColumns()
/third_party/eudev/src/collect/
H A Dcollect.c210 * Adds a new ID 'us' to the internal list,
213 static void invite(char *us) in invite() argument
219 fprintf(stderr, "Adding ID '%s'\n", us); in invite()
224 if (streq(him->name, us)) { in invite()
230 fprintf(stderr, "ID '%s' not in database\n", us); in invite()
237 * Marks the ID 'us' as invalid,
241 static void reject(char *us) in reject() argument
247 fprintf(stderr, "Removing ID '%s'\n", us); in reject()
252 if (streq(him->name, us)) { in reject()
258 fprintf(stderr, "ID '%s' not in database\n", us); in reject()
366 char *checkpoint, *us; main() local
[all...]
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-service.c77 lws_usec_t timeout_us, us; in _lws_plat_service_tsi() local
94 us = lws_now_usecs(); in _lws_plat_service_tsi()
125 us = __lws_sul_service_ripe(pt->pt_sul_owner, LWS_COUNT_PT_SUL_OWNERS, us); in _lws_plat_service_tsi()
126 if (us && us < timeout_us) in _lws_plat_service_tsi()
132 timeout_us = us < context->us_wait_resolution ? in _lws_plat_service_tsi()
133 context->us_wait_resolution : us; in _lws_plat_service_tsi()
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
H A DUnicodeSetPerf.java27 UnicodeSet us; field in UnicodeSetPerf
43 us = new UnicodeSet(); in setup()
50 us.clear(); in testUnicodeSetAdd()
55 us.add(cp); in testUnicodeSetAdd()
88 us.clear(); in testUnicodeSetContains()
89 us.set(testChars); in testUnicodeSetContains()
95 if (us.contains(cp)) { in testUnicodeSetContains()
/third_party/ltp/include/
H A Dtst_timer.h56 static inline struct timeval tst_us_to_timeval(long long us) in tst_us_to_timeval() argument
60 ret.tv_sec = us / 1000000; in tst_us_to_timeval()
61 ret.tv_usec = us % 1000000; in tst_us_to_timeval()
688 tst_ts_from_us(enum tst_ts_type type, long long us) in tst_ts_from_us() argument
692 tst_ts_set_sec(&ret, us / 1000000); in tst_ts_from_us()
693 tst_ts_set_nsec(&ret, (us % 1000000) * 1000); in tst_ts_from_us()
702 tst_timespec_from_us(long long us) in tst_timespec_from_us() argument
704 return tst_ts_to_timespec(tst_ts_from_us(TST_LIBC_TIMESPEC, us)); in tst_timespec_from_us()
811 * Adds us microseconds to tst_ts.
814 tst_ts_add_us(struct tst_ts t, long long us) in tst_ts_add_us() argument
828 tst_timespec_add_us(struct timespec ts, long long us) tst_timespec_add_us() argument
841 tst_ts_sub_us(struct tst_ts t, long long us) tst_ts_sub_us() argument
855 tst_timespec_sub_us(struct timespec ts, long long us) tst_timespec_sub_us() argument
[all...]
/third_party/python/Python/
H A Dcondvar.h53 void _PyThread_cond_after(long long us, struct timespec *abs);
69 PyCOND_TIMEDWAIT(PyCOND_T *cond, PyMUTEX_T *mut, long long us) in PyCOND_TIMEDWAIT() argument
72 _PyThread_cond_after(us, &abs); in PyCOND_TIMEDWAIT()
199 PyCOND_TIMEDWAIT(PyCOND_T *cv, PyMUTEX_T *cs, long long us) in PyCOND_TIMEDWAIT() argument
201 return _PyCOND_WAIT_MS(cv, cs, (DWORD)(us/1000)); in PyCOND_TIMEDWAIT()
285 PyCOND_TIMEDWAIT(PyCOND_T *cv, PyMUTEX_T *cs, long long us) in PyCOND_TIMEDWAIT() argument
287 return SleepConditionVariableSRW(cv, cs, (DWORD)(us/1000), 0) ? 2 : -1; in PyCOND_TIMEDWAIT()
/third_party/icu/icu4c/source/test/perf/usetperf/
H A Dusetperf.cpp49 UnicodeSet us; member in CmdOp
72 us.clear(); in add()
75 us.add(cp); in add()
82 us.clear(); in contains()
84 if (us.contains(cp)) { in contains()
92 UnicodeSetIterator uit(us); in iterator()
/third_party/libwebsockets/lib/plat/windows/
H A Dwindows-service.c129 lws_usec_t us; in _lws_plat_service_tsi() local
133 us = __lws_sul_service_ripe(pt->pt_sul_owner, in _lws_plat_service_tsi()
136 if (us && us < timeout_us) in _lws_plat_service_tsi()
142 timeout_us = us < context->us_wait_resolution ? in _lws_plat_service_tsi()
143 context->us_wait_resolution : us; in _lws_plat_service_tsi()
/third_party/skia/modules/pathkit/perf/
H A DperfReporter.js45 const us = (end - start) * 1000 / times;
46 console.log(benchName, `${us} microseconds`)
47 return _report(us, benchName);
94 const us = (end - start) * 1000 / times;
95 console.log(benchName, `${us} microseconds`)
96 return _report(us, benchName);

Completed in 15 milliseconds

12345678910