/third_party/python/Lib/unittest/test/testmock/ |
H A D | testmock.py | 219 mock.patch.object(A, 'B', autospec=True).start() 222 mock.patch.object(A.B, 'C', autospec=True).start() 225 mock.patch.object(A, 'B', spec=A.B).start() 228 mock.patch.object(A, 'B', spec_set=A.B).start() 231 mock.patch.object(A, 'B', spec_set=A.B).start() 988 patcher.start() 1880 mock_one = p1.start() 1882 mock_two = p2.start()
|
/third_party/python/Modules/ |
H A D | _testbuffer.c | 93 Py_ssize_t offset; /* start of the array relative to data */ 915 offset := start of the array 1033 Py_ssize_t start, step; in init_suboffsets() local 1045 /* Align array start to a multiple of 8. */ in init_suboffsets() 1076 start = addsize + ndbuf->offset + imin; in init_suboffsets() 1080 ((char **)base->buf)[n] = (char *)base->buf + start + n*step; in init_suboffsets() 1428 /* start with complete information */ in ndarray_getbuf() 1636 For each dimension, we get valid (start, stop, step, slicelength) quadruples 1650 Adding start[n] for each dimension effectively adds the constant: 1652 c = start[ 1714 Py_ssize_t start, stop, step, slicelength; init_slice() local [all...] |
/third_party/selinux/libsepol/src/ |
H A D | kernel_to_cil.c | 1022 uint32_t i, start, range; in cats_ebitmap_len() local 1028 start = i; in cats_ebitmap_len() 1035 len += strlen(val_to_name[start]); in cats_ebitmap_len() 1057 uint32_t i, start, range; in cats_ebitmap_to_str() local 1078 start = i; in cats_ebitmap_to_str() 1088 val_to_name[start], in cats_ebitmap_to_str() 1092 val_to_name[start], in cats_ebitmap_to_str() 1096 len = snprintf(p, remaining, "%s ", val_to_name[start]); in cats_ebitmap_to_str()
|
/third_party/typescript/lib/ |
H A D | typingsInstaller.js | 376 function indexOfAnyCharCode(text, charCodes, start) { 377 for (var i = start || 0; i < text.length; i++) { 693 var start = 0; 695 while (start < len) { 707 if (start < pos) { 708 var v = mapfn(array.slice(start, pos), previousKey, start, pos); 712 start = pos; 750 /** Calls the callback with (start, afterEnd) index pairs for each range where 'pred' is true. */ 752 var start; [all...] |
/third_party/mesa3d/src/amd/llvm/ |
H A D | ac_nir_to_llvm.c | 1777 unsigned start, unsigned count) in extract_vector_range() 1785 assert(start == 0); in extract_vector_range() 1788 assert(start < src_elements); in extract_vector_range() 1789 return LLVMBuildExtractElement(ctx->builder, src, mask[start], ""); in extract_vector_range() 1791 assert(start + count <= src_elements); in extract_vector_range() 1793 LLVMValueRef swizzle = LLVMConstVector(&mask[start], count); in extract_vector_range() 1852 int start, count; in visit_store_ssbo() local 1856 u_bit_scan_consecutive_range(&writemask, &start, &count); in visit_store_ssbo() 1859 writemask |= 1 << (start + 2); in visit_store_ssbo() 1867 writemask |= ((1u << (count - 2)) - 1u) << (start in visit_store_ssbo() 1776 extract_vector_range(struct ac_llvm_context *ctx, LLVMValueRef src, unsigned start, unsigned count) extract_vector_range() argument 4148 int start, count; visit_intrinsic() local 4242 int start, count; visit_intrinsic() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | imc.c | 343 int start = 0; in imc_read_level_coeffs() local 355 start = 1; in imc_read_level_coeffs() 356 if (start) in imc_read_level_coeffs() 358 for (i = start; i < BANDS; i++) { in imc_read_level_coeffs()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_pseudocolor.c | 104 AVRational start, end; member 650 AVRational rstart = presets[s->preset].ranges[seg].start; in config_input() 652 int start = av_rescale_rnd(s->max + 1, rstart.num, rstart.den, AV_ROUND_UP); in config_input() local 655 for (int i = start; i < end; i++) { in config_input()
|
/third_party/curl/projects/ |
H A D | build-openssl.bat | 162 rem Default the start directory if one isn't specified
193 rem Check the start directory exists
227 :start
label 243 cd /d "%START_DIR%" || (echo Error: Failed cd start & exit /B 1)
|
/third_party/backends/backend/ |
H A D | niash.c | 343 #define WARMUP_MAXTIME 90 /* after one and a half minute start latest */ 348 /* different warm up after start and after automatic off */ 355 _TimeElapsed (struct timeval *start, struct timeval *now, int iTime) in _TimeElapsed() argument 359 if (start->tv_sec > now->tv_sec) in _TimeElapsed() 360 return (start->tv_sec / 2 - now->tv_sec / 2 > iTime / 2); in _TimeElapsed() 362 return (now->tv_sec - start->tv_sec >= iTime); in _TimeElapsed() 461 we start waiting */ in _WaitForLamp()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | UCharacterProperty.java | 231 // Add the start code point of each same-value range of the trie. in addPropertyStarts() 233 int start = 0; in addPropertyStarts() 234 while (trie.getRange(start, null, range)) { in addPropertyStarts() 235 set.add(start); in addPropertyStarts() 236 start = range.getEnd() + 1; in addPropertyStarts() 1560 /* add the start code point of each same-value range of the main trie */ in addPropertyStarts() 1652 /* add the start code point of each same-value range of the properties vectors trie */ in upropsvec_addPropertyStarts() 1689 * For each two consecutive characters (start, limit) in the set, 1691 * all code points start..limit-1 are all the same, 1711 * repetitive values, so that the value of only each start cod [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | RuleBasedBreakIterator.java | 411 int start = fText.getIndex(); in first() 412 if (!fBreakCache.seek(start)) { in first() 413 fBreakCache.populateNear(start); in first() 416 assert(fPosition == start); in first() 504 // Move requested offset to a code point start. It might be between a lead and trail surrogate. in following() 527 // Move requested offset to a code point start. It might be between a lead and trail surrogate. in preceding() 925 // We want the start of it. in handleNext() 1015 // if we're already at the start of the text, return DONE. in handleSafePrevious() 1025 // loop until we reach the start of the text or transition to state 0 in handleSafePrevious() 1065 * to the start (lea [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | ucnv_bld.cpp | 385 uint32_t mid, start, limit; in getAlgorithmicTypeFromName() local 394 start = 0; in getAlgorithmicTypeFromName() 400 mid = (uint32_t)((start + limit) / 2); in getAlgorithmicTypeFromName() 410 start = mid; in getAlgorithmicTypeFromName()
|
/third_party/FreeBSD/sys/dev/usb/net/ |
H A D | if_cdce.c | 784 /* start interrupt transfer */ in cdce_init() 797 /* start data transfers */ in cdce_init() 905 /* set number of frames and start hardware */ in cdce_bulk_read_callback() 955 /* start clear stall */ in cdce_intr_read_callback() 1039 /* start clear stall */ in cdce_intr_write_callback() 1078 uint32_t start, uint32_t end) in cdce_ncm_tx_zero() 1082 if (start >= CDCE_NCM_TX_MAXLEN) in cdce_ncm_tx_zero() 1087 usbd_frame_zero(pc, start, end - start); in cdce_ncm_tx_zero() 1077 cdce_ncm_tx_zero(struct usb_page_cache *pc, uint32_t start, uint32_t end) cdce_ncm_tx_zero() argument
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | RuleBasedBreakIterator.java | 355 int start = fText.getIndex(); in first() 356 if (!fBreakCache.seek(start)) { in first() 357 fBreakCache.populateNear(start); in first() 360 assert(fPosition == start); in first() 443 // Move requested offset to a code point start. It might be between a lead and trail surrogate. in following() 465 // Move requested offset to a code point start. It might be between a lead and trail surrogate. in preceding() 900 // We want the start of it. in handleNext() 992 // if we're already at the start of the text, return DONE. in handleSafePrevious() 1002 // loop until we reach the start of the text or transition to state 0 in handleSafePrevious() 1043 * to the start (lea [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | ICUResourceBundle.java | 1085 * Fills some of the keys array (from start) with the num keys from the path string. 1090 * @param start index where the first path key is stored 1092 private static void getResPathKeys(String path, int num, String[] keys, int start) { in getResPathKeys() argument 1097 keys[start] = path; in getResPathKeys() 1104 keys[start++] = path.substring(i, j); in getResPathKeys() 1107 keys[start] = path.substring(j + 1); in getResPathKeys() 1525 //no path start with locale in getAliasedResource()
|
H A D | UCharacterProperty.java | 231 // Add the start code point of each same-value range of the trie. in addPropertyStarts() 233 int start = 0; in addPropertyStarts() 234 while (trie.getRange(start, null, range)) { in addPropertyStarts() 235 set.add(start); in addPropertyStarts() 236 start = range.getEnd() + 1; in addPropertyStarts() 1540 /* add the start code point of each same-value range of the main trie */ in addPropertyStarts() 1632 /* add the start code point of each same-value range of the properties vectors trie */ in upropsvec_addPropertyStarts() 1669 * For each two consecutive characters (start, limit) in the set, 1671 * all code points start..limit-1 are all the same, 1691 * repetitive values, so that the value of only each start cod [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | PluralRulesTest.java | 210 assertEquals("first; " + title, firstInRange, samples.samples.iterator().next().start); in checkNewSamples() 364 FixedDecimal item = i == 0 ? sample.start : sample.end; in testUniqueRules() 443 int start = shouldBeEqual ? i : i + 1; in compareEquality() 444 for (int j = start; j < objects.length; ++j) { in compareEquality()
|
/third_party/node/deps/v8/tools/ |
H A D | run_perf.py | 772 start = time.time() 790 output.duration = time.time() - start 1035 # Ensure all arguments have absolute path before we start changing current 1071 start = time.time() 1094 total_duration = time.time() - start
|
/third_party/node/deps/brotli/c/enc/ |
H A D | backward_references_hq.c | 437 const size_t start = posdata->pos; in UpdateNodes() local 438 const uint16_t inscode = GetInsertLengthCode(pos - start); in UpdateNodes() 492 UpdateZopfliNode(nodes, pos, start, l, l, backward, j + 1, cost); in UpdateNodes() 501 looking only for new command start positions with the same distances in UpdateNodes() 544 UpdateZopfliNode(nodes, pos, start, len, len_code, dist, 0, cost); in UpdateNodes()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | ucnv_bld.cpp | 385 uint32_t mid, start, limit; in getAlgorithmicTypeFromName() local 394 start = 0; in getAlgorithmicTypeFromName() 400 mid = (uint32_t)((start + limit) / 2); in getAlgorithmicTypeFromName() 410 start = mid; in getAlgorithmicTypeFromName()
|
/third_party/mesa3d/src/panfrost/midgard/ |
H A D | midgard_schedule.c | 414 unsigned start = upper ? 8 : 0; in mir_adjust_constant() local 426 for (i = start; i < (start + length); i += type_size) { in mir_adjust_constant() 434 if ((i + j) > (start + length)) in mir_adjust_constant()
|
/third_party/mesa3d/src/util/ |
H A D | register_allocate.c | 334 int start = MAX2(0, (int)rc - class_b->contig_len + 1); in ra_set_finalize() local 337 for (int i = start; i < end; i++) { in ra_set_finalize() 872 int start = MAX2(0, (int)n2->reg - c->contig_len + 1); in ra_compute_available_regs() local 874 for (unsigned i = start; i < end; i++) in ra_compute_available_regs()
|
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/ |
H A D | parser.js | 44 start: { 115 start: { 579 start: tokenStart(this.tokens[this.position + 1]) 649 start: tokenStart(this.tokens[this.position - 1])
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | listformattertest.cpp | 84 int32_t start = cfp.getStart(); in ExpectPositions() local 87 sprintf(buf, "%24s %3d %3d %3d", attrString(id), id, start, limit); in ExpectPositions() 93 if (values[i*3] == id && values[i*3+1] == start && values[i*3+2] == limit) { in ExpectPositions() 98 assertTrue((UnicodeString)"found [" + attrString(id) + "," + start + "," + limit + "]", ok); in ExpectPositions() 854 assertEquals("start", cfp.getStart(), 0); in Test21871() 864 assertEquals("start", cfp.getStart(), 5); in Test21871()
|
/third_party/node/deps/v8/src/codegen/ |
H A D | external-reference.cc | 921 void StringWriteToFlatOneByte(Address source, uint8_t* sink, int32_t start, 923 return String::WriteToFlat<uint8_t>(String::cast(Object(source)), sink, start, 927 void StringWriteToFlatTwoByte(Address source, uint16_t* sink, int32_t start, 930 start, length);
|