/third_party/ltp/testcases/kernel/syscalls/futex/ |
H A D | futex_waitv01.c | 28 static void init_timeout(struct timespec *to) in init_timeout() argument 30 SAFE_CLOCK_GETTIME(CLOCK_MONOTONIC, to); in init_timeout() 31 to->tv_sec++; in init_timeout() 43 struct timespec to; in test_invalid_flags() local 46 init_timeout(&to); in test_invalid_flags() 51 TST_EXP_FAIL(futex_waitv(waitv, 1, 0, &to, CLOCK_MONOTONIC), EINVAL, in test_invalid_flags() 57 struct timespec to; in test_unaligned_address() local 60 init_timeout(&to); in test_unaligned_address() 64 TST_EXP_FAIL(futex_waitv(waitv, 1, 0, &to, CLOCK_MONOTONIC), EINVAL, in test_unaligned_address() 70 struct timespec to; in test_null_address() local 83 struct timespec to; test_null_waiters() local 93 struct timespec to; test_invalid_clockid() local 104 struct timespec to; test_invalid_nr_futexes() local 118 struct timespec to; test_mismatch_between_uaddr_and_val() local 132 struct timespec to; test_timeout() local [all...] |
/third_party/ffmpeg/tests/fate/ |
H A D | segment.mak | 1 tests/data/mp4-to-ts.m3u8: TAG = GEN 2 tests/data/mp4-to-ts.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data 6 -segment_list $(TARGET_PATH)/$@ -y $(TARGET_PATH)/tests/data/mp4-to-ts-%03d.ts 2>/dev/null 8 tests/data/adts-to-mkv.m3u8: TAG = GEN 9 tests/data/adts-to-mkv.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data 13 -segment_list $(TARGET_PATH)/$@ -y $(TARGET_PATH)/tests/data/adts-to-mkv-%03d.mkv 2>/dev/null 15 tests/data/adts-to-mkv-header.mkv: TAG = GEN 16 tests/data/adts-to-mkv-header.mkv: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data 20 -segment_header_filename $(TARGET_PATH)/tests/data/adts-to-mkv-header.mkv \ 21 -y $(TARGET_PATH)/tests/data/adts-to [all...] |
/third_party/musl/src/thread/ |
H A D | __timedwait.c | 11 static int __futex4_cp(volatile void *addr, int op, int val, const struct timespec *to) in __futex4_cp() argument 16 if (to) { in __futex4_cp() 17 useconds = (to->tv_sec * 1000000 + to->tv_nsec / 1000); in __futex4_cp() 18 if ((useconds == 0) && (to->tv_nsec != 0)) { in __futex4_cp() 28 time_t s = to ? to->tv_sec : 0; in __futex4_cp() 29 long ns = to ? to->tv_nsec : 0; in __futex4_cp() 33 to in __futex4_cp() 50 struct timespec to, *top=0; __timedwait_cp() local [all...] |
/third_party/musl/porting/liteos_a/user/src/thread/ |
H A D | __timedwait.c | 11 static int __futex4_cp(volatile void *addr, int op, int val, const struct timespec *to) in __futex4_cp() argument 17 time_t s = to ? to->tv_sec : 0; in __futex4_cp() 18 long ns = to ? to->tv_nsec : 0; in __futex4_cp() 22 to ? ((long long[]){s, ns}) : 0); in __futex4_cp() 24 to = to ? (void *)(long[]){CLAMP(s), ns} : 0; in __futex4_cp() 28 if (to) { in __futex4_cp() 29 useconds = (to in __futex4_cp() 47 struct timespec to, *top=0; __timedwait_cp() local [all...] |
/third_party/node/deps/npm/node_modules/promise-retry/test/ |
H A D | test.js | 24 expect(value).to.be('final'); 25 expect(count).to.be(3); 36 expect(count).to.equal(number); 48 expect(value).to.be('final'); 49 expect(count).to.be(3); 67 expect(value).to.be('final'); 68 expect(count).to.be(1); 88 expect(err.message).to.be('foo'); 89 expect(count).to.be(1); 108 expect(err.message).to [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | mjpegenc_huffman.c | 18 * License along with FFmpeg; if not, write to the Free Software 31 * @param a First PTable to compare 32 * @param b Second PTable to compare 45 * @param a First HuffTable to compare 46 * @param b Second HuffTable to compare 60 * 2. add 1 entry to list(i) for each symbol we have and give each a score equal to the probability of the respective symbol 66 * 8. the length of the huffman code for symbol s will be equal to the number of times the symbol occurs in the select elements 67 * Go to guru.multimedia.cx/small-tasks-for-ffmpeg/ for more details 79 PackageMergerList list_a, list_b, *to in ff_mjpegenc_huffman_compute_bits() local [all...] |
/third_party/libunwind/libunwind/doc/ |
H A D | unw_create_addr_space.tex | 23 \Var{byteorder} can be set to 0 to request the default byte-order of 25 \Var{byteorder} can be set to any constant defined by 33 \Prog{Libunwind} uses a set of call-back routines to access the 34 information it needs to unwind a chain of stack-frames. These 35 routines are specified via the \Var{ap} argument, which points to a 38 variable must remain valid only for the duration of the call to 41 The first argument to every call-back routine is an address-space 44 call-back routine, \Prog{libunwind} sets the \Var{as} argument to the 46 argument to th [all...] |
H A D | libunwind-ia64.tex | 15 \texttt{ia64} and, at least in theory, should be able to support all 16 operating systems adhering to the processor-specific ABI defined for 18 and big-endian HP-UX. Furthermore, to make it possible for a single 19 library to unwind both 32- and 64-bit targets, the type 20 \Type{unw\_word\_t} is always defined to be 64 bits wide (independent 27 possible for platform-dependent unwind code to use 28 conditional-compilation to select an appropriate implementation. The 29 latter is useful for stringification purposes and to construct 32 One special feature of IA-64 is the use of NaT bits to support 34 bit'' of a general register. However, to mak [all...] |
/third_party/python/Modules/_decimal/libmpdec/ |
H A D | transpose.c | 181 mpd_uint_t *to, *from; in squaretrans_pow2() local 193 to = buf1; in squaretrans_pow2() 195 memcpy(to, from, b*(sizeof *to)); in squaretrans_pow2() 197 to += b; in squaretrans_pow2() 202 to = matrix + r*size + c; in squaretrans_pow2() 205 memcpy(to, from, b*(sizeof *to)); in squaretrans_pow2() 207 to += size; in squaretrans_pow2() 213 to in squaretrans_pow2() [all...] |
/third_party/gn/src/gn/ |
H A D | variables.cc | 19 Corresponds to the number printed by `gn --version`. 36 in order to handle unusual cases where there might be multiple plausible 71 Inside a template invocation, this variable refers to the scope of the 79 This is often used with "defined" to see if a value is set on the invoking 104 This value should be used to indicate the desired architecture for the 109 cross-compiles, this can be set to something different. This value is 114 This value is not used internally by GN for any purpose, so it may be set to 115 whatever value is needed for the build. GN defaults this value to the empty 116 string ("") and the configuration files should set it to an appropriate value 117 (e.g., setting it to th [all...] |
H A D | function_toolchain.cc | 29 // This is just a unique value to take the address of to use as the key for 42 A toolchain is a set of commands and build flags used to compile the source 54 set_default_toolchain() (see "gn help set_default_toolchain") to tell GN the 55 label of the toolchain definition to use. The "toolchain_args" section of the 59 help labels" for how to specify this), GN will start a build using that 60 secondary toolchain to resolve the target. GN will load the build config file 62 Because the default toolchain is already known, calls to 75 main build target) the configuration flows from the build config file to the 77 CPU architecture, etc.) and decides which toolchain to us [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | CurrencyMetaInfo.java | 21 * Provides information about currencies that is not specific to a locale. 23 * A note about currency dates. The CLDR data provides data to the day, 48 * noSubstitute is true and there is no data to support this API. 78 * A filter used to select which currency info is returned. 83 * The region to filter on. If null, accepts any region. 89 * The currency to filter on. If null, accepts any currency. 95 * The from date to filter on (as milliseconds). Accepts any currency on or after this date. 101 * The to date to filter on (as milliseconds). Accepts any currency on or before this date. 104 public final long to; field in CurrencyMetaInfo.CurrencyFilter 114 CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) CurrencyFilter() argument 188 onDateRange(Date from, Date to) onDateRange() argument 211 onDateRange(long from, long to) onDateRange() argument 267 withDateRange(Date from, Date to) withDateRange() argument 293 withDateRange(long from, long to) withDateRange() argument 441 public final long to; global() field in CurrencyMetaInfo.CurrencyInfo 458 CurrencyInfo(String region, String code, long from, long to, int priority) CurrencyInfo() argument 469 CurrencyInfo(String region, String code, long from, long to, int priority, boolean tender) CurrencyInfo() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | CurrencyMetaInfo.java | 22 * Provides information about currencies that is not specific to a locale. 24 * A note about currency dates. The CLDR data provides data to the day, 48 * noSubstitute is true and there is no data to support this API. 77 * A filter used to select which currency info is returned. 82 * The region to filter on. If null, accepts any region. 87 * The currency to filter on. If null, accepts any currency. 92 * The from date to filter on (as milliseconds). Accepts any currency on or after this date. 97 * The to date to filter on (as milliseconds). Accepts any currency on or before this date. 99 public final long to; field in CurrencyMetaInfo.CurrencyFilter 109 CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) CurrencyFilter() argument 177 onDateRange(Date from, Date to) onDateRange() argument 198 onDateRange(long from, long to) onDateRange() argument 249 withDateRange(Date from, Date to) withDateRange() argument 273 withDateRange(long from, long to) withDateRange() argument 407 public final long to; global() field in CurrencyMetaInfo.CurrencyInfo 423 CurrencyInfo(String region, String code, long from, long to, int priority) CurrencyInfo() argument 434 CurrencyInfo(String region, String code, long from, long to, int priority, boolean tender) CurrencyInfo() argument [all...] |
/third_party/musl/libc-test/src/functional/ |
H A D | iconv_test.c | 9 * Unless required by applicable law or agreed to in writing, software
39 char *to;
member 55 iconv_t cd = iconv_open(param->to, param->from);
in IconvTest() 57 t_error("iconv opened failed, from: %s, to: %s, error: %s \n", param->from, param->to, strerror(errno));
in IconvTest() 66 t_error("iconv converted failed, from: %s, to: %s, error: %s \n", param->from, param->to, strerror(errno));
in IconvTest() 85 void CompareIconvResult(char *to, char *from, char *src, size_t srcLen)
in CompareIconvResult() argument 87 if (IsExcludeToEncode(to) == 0) {
in CompareIconvResult() 96 param.to in CompareIconvResult() 158 char *to = g_encodeArray[j]; main() local [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | tsxStatelessFunctionComponentOverload5.js | 14 to: string; 22 to: "world" 27 to: "boo" 41 if(linkProps.to) { 49 const b0 = <MainButton to='/some/path' onClick={(e)=>{}}>GO</MainButton>; // extra property; 51 const b2 = <MainButton {...{to: "10000"}} {...obj2} />; // extra property 52 const b3 = <MainButton {...{to: "10000"}} {...{onClick: (k) => {}}} />; // extra property 53 const b4 = <MainButton {...obj3} to />; // Should error because Incorrect type; but attributes are any so everything is allowed 65 to: "world"
69 to [all...] |
H A D | tsxStatelessFunctionComponentOverload6.js | 14 to: string; 23 to: "boo" 35 if(linkProps.to) { 43 const b0 = <MainButton to='/some/path'>GO</MainButton>; 46 const b3 = <MainButton {...{to: 10000}} {...obj} />; 48 const b5 = <MainButton {...obj1} to="/to/somewhere" />; // should pick the second overload 52 const b9 = <MainButton to='/some/path' extra-prop>GO</MainButton>; 53 const b10 = <MainButton to='/some/path' children="hi" ></MainButton>; 67 to [all...] |
/third_party/node/deps/npm/node_modules/bin-links/lib/ |
H A D | link-gently.js | 22 // to contend for the same bin, or the same manpage listed multiple times, 29 const linkGently = async ({ path, to, from, absFrom, force }) => { 30 if (seen.has(to)) { 33 seen.add(to) 41 lstat(to).catch(throwNonEnoent), 51 return force && rm(to, rmOpts).then(() => CLOBBER) 54 return readlink(to).then(target => { 59 target = resolve(dirname(to), target) 61 return rm(to, rmOpts).then(() => CLOBBER) 68 return mkdir(dirname(to), { recursiv [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/ |
H A D | graphcycles_test.cc | 9 // Unless required by applicable law or agreed to in writing, software 37 int to; member 42 // Mapping from integer index to GraphId. 49 // Return whether "to" is reachable from "from". 50 static bool IsReachable(Edges *edges, int from, int to, in IsReachable() argument 53 if (from == to) return true; in IsReachable() 56 if (edge.to == to) { // success via edge directly in IsReachable() 58 } else if (seen->find(edge.to) == seen->end() && // success via edge in IsReachable() 59 IsReachable(edges, edge.to, t in IsReachable() 182 EdgeIndex(Edges *edges, int from, int to) EdgeIndex() argument 251 int to = RandomNode(&rng, &nodes); TEST() local 271 int to = edges[i].to; TEST() local 283 int to = RandomNode(&rng, &nodes); TEST() local [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
H A D | edge.js | 15 const edgeTo = edge.to?.location 22 this.to = edgeTo 43 #to 118 // return the edge data, and an explanation of how that edge came to be here 184 // we may be a virtual root, if we are we want to resolve reference overrides 202 throw new Error(`Unable to resolve reference ${this.overrides.value}`) 231 if (!this.#to) { 237 } else if (this.peer && this.#from === this.#to.parent && !this.#from.isTop) { 239 } else if (!this.satisfiedBy(this.#to)) { 259 if (newTo !== this.#to) { [all...] |
/third_party/libabigail/tools/ |
H A D | fedabipkgdiff | 34 # You might have known that abipkgdiff is a command line tool to compare two 35 # RPM packages to find potential differences of ABI. This is really useful for 37 # locally, if a packager wants to compare RPM packages he just built with 41 # With fedabipkgdiff, packager is able to specify certain criteria to tell 42 # fedabipkgdiff which RPM packages he wants to compare, then fedabipkgdiff will 64 # The working directory where to hold all data including downloaded RPM 83 # Used to construct abipkgdiff command line argument, package and associated 88 # --d1 /path/to/package1-debuginfo.rpm \ 89 # --d2 /path/to/package [all...] |
/third_party/protobuf/php/tests/ |
H A D | EncodeDecodeTest.php | 243 $to = new TestMessage(); variable 244 $to->mergeFromString(TestUtil::getGoldenTestMessage()); 245 $this->expectFields($to); 257 $to = new TestMessage(); variable 258 $to->mergeFromString($data); 259 $this->expectFields($to); 269 $to = new TestMessage(); variable 270 $to->mergeFromString($data); 271 $this->expectEmptyFields($to); 409 $to variable 417 $to = new TestPackedMessage(); global() variable 433 $to = new TestUnpackedMessage(); global() variable 441 $to = new TestUnpackedMessage(); global() variable 737 $to = $m->serializeToString(); global() variable 744 $to = $m->serializeToString(); global() variable 751 $to = $m->serializeToString(); global() variable 758 $to = $m->serializeToString(); global() variable 766 $to = $m->serializeToString(); global() variable 774 $to = $m->serializeToString(); global() variable 782 $to = $m->serializeToString(); global() variable 790 $to = $m->serializeToString(); global() variable 798 $to = $m->serializeToString(); global() variable 935 $to = new TestMessage(); global() variable 1414 $to = new $class(); global() variable 1422 $to = new $class(); global() variable 1430 $to = new $class(); global() variable 1438 $to = new $class(); global() variable 1458 $to = new $class(); global() variable 1466 $to = new $class(); global() variable 1474 $to = new $class(); global() variable 1482 $to = new $class(); global() variable [all...] |
/third_party/gn/src/base/containers/ |
H A D | vector_buffer.h | 23 // can't change sizes. But it does implement templates to assist in efficient 29 // possible, and as a last resort it falls back to a copy. This behavior is 30 // similar to std::vector. 42 // This constructor converts an uninitialized void* to a T* which triggers 101 // and the address of the first element to copy to. There must be sufficient 105 // that there is a trivial destructor as we don't have to call it. 109 static void MoveRange(T* from_begin, T* from_end, T* to) { in MoveRange() argument 110 DCHECK(!RangesOverlap(from_begin, from_end, to)); in MoveRange() 111 memcpy(to, from_begi in MoveRange() 120 MoveRange(T* from_begin, T* from_end, T* to) MoveRange() argument 136 MoveRange(T* from_begin, T* from_end, T* to) MoveRange() argument 147 RangesOverlap(const T* from_begin, const T* from_end, const T* to) RangesOverlap() argument [all...] |
/third_party/protobuf/ruby/tests/ |
H A D | encode_decode_test.rb | 20 to = A::B::C::TestMessage.encode(m) 21 assert_equal '', to 30 to = A::B::C::TestMessage.encode(m.optional_msg) 31 assert_equal '', to 40 to = A::B::C::TestMessage.encode(m.repeated_msg[0]) 41 assert_equal '', to 50 to = A::B::C::TestMessage.encode(m.map_string_msg['']) 51 assert_equal '', to 60 to = A::B::C::TestMessage.encode(m.oneof_msg) 61 assert_equal '', to [all...] |
/third_party/node/deps/npm/node_modules/encoding/lib/ |
H A D | encoding.js | 5 // Expose to the world 11 * @param {String|Buffer} str String to be converted 12 * @param {String} to Encoding to be converted to 13 * @param {String} [from='UTF-8'] Encoding to be converted from 16 function convert(str, to, from) { 18 to = checkEncoding(to || 'UTF-8'); 27 if (from === to) { [all...] |
/third_party/mesa3d/bin/ |
H A D | install_megadrivers.py | 5 # Permission is hereby granted, free of charge, to any person obtaining a copy 6 # of this software and associated documentation files (the "Software"), to deal 8 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 # copies of the Software, and to permit persons to whom the Software is 10 # furnished to do so, subject to the following conditions: 23 """Script to install megadriver symlinks for meson.""" 39 to = os.path.join(destdir, args.libdir[1:]) 41 to [all...] |