Home
last modified time | relevance | path

Searched refs:occurrences (Results 1 – 25 of 143) sorted by relevance

123456

/third_party/typescript/src/services/refactors/
DconvertToOptionalChainExpression.ts52 occurrences: Occurrence[], property
110 return { finalExpression, occurrences: [condition], expression };
113 const occurrences = getOccurrencesInExpression(finalExpression.expression, condition); constant
114 return occurrences ? { finalExpression, occurrences, expression } :
127 const occurrences = getOccurrencesInExpression(finalExpression.expression, expression.left); constant
128 return occurrences ? { finalExpression, occurrences, expression } :
136 const occurrences: Occurrence[] = []; constant
142 occurrences.push(match);
148 occurrences.push(finalMatch);
150 return occurrences.length > 0 ? occurrences: undefined;
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUTF16Test.java1039 int occurrences = 0; in TestIndexOf() local
1044 ++ occurrences; in TestIndexOf()
1048 if (occurrences != 6) { in TestIndexOf()
1050 + occurrences); in TestIndexOf()
1053 occurrences = 0; in TestIndexOf()
1058 ++ occurrences; in TestIndexOf()
1062 if (occurrences != 4) { in TestIndexOf()
1064 + occurrences); in TestIndexOf()
1067 occurrences = 0; in TestIndexOf()
1072 ++ occurrences; in TestIndexOf()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUTF16Test.java1036 int occurrences = 0; in TestIndexOf() local
1041 ++ occurrences; in TestIndexOf()
1045 if (occurrences != 6) { in TestIndexOf()
1047 + occurrences); in TestIndexOf()
1050 occurrences = 0; in TestIndexOf()
1055 ++ occurrences; in TestIndexOf()
1059 if (occurrences != 4) { in TestIndexOf()
1061 + occurrences); in TestIndexOf()
1064 occurrences = 0; in TestIndexOf()
1069 ++ occurrences; in TestIndexOf()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dustrtest.cpp719 uint16_t occurrences = 0; in TestSearching() local
723 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
725 if (occurrences != 6) in TestSearching()
726 … errln(UnicodeString("indexOf failed: expected to find 6 occurrences, found ") + occurrences); in TestSearching()
728 for ( occurrences = 0, startPos = 10; in TestSearching()
730 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
732 if (occurrences != 4) in TestSearching()
734 "expected to find 4 occurrences, found ") + occurrences); in TestSearching()
737 for ( occurrences = 0, startPos = 5; in TestSearching()
739 …(startPos = test1.indexOf(test2, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos +=… in TestSearching()
[all …]
/third_party/rust/crates/clap/tests/builder/
Dpropagate_globals.rs57 fn top_can_access_flag(m: &ArgMatches, present: bool, occurrences: u8) -> bool { in top_can_access_flag()
59 && (m.get_one::<u8>("GLOBAL_FLAG").copied() == Some(occurrences)) in top_can_access_flag()
62 fn inner_can_access_flag(m: &ArgMatches, present: bool, occurrences: u8) -> bool { in inner_can_access_flag()
65 && (m.get_one::<u8>("GLOBAL_FLAG").copied() == Some(occurrences)) in inner_can_access_flag()
68 fn outer_can_access_flag(m: &ArgMatches, present: bool, occurrences: u8) -> bool { in outer_can_access_flag()
71 && (m.get_one::<u8>("GLOBAL_FLAG").copied() == Some(occurrences)) in outer_can_access_flag()
Dmain.rs35 mod occurrences; module
/third_party/node/deps/npm/node_modules/har-validator/node_modules/ajv/scripts/
Dcompile-dots.js57 var count = occurrences(regexp);
65 var countUsed = occurrences(ERROR_KEYWORD);
66 var countOr = occurrences(ERROR_KEYWORD_OR);
70 function occurrences(regexp) { function
/third_party/flutter/skia/third_party/externals/icu/source/samples/strsrch/
Dreadme.txt5 strsrch: a sample program which finds the occurrences of a pattern string in a source string, using…
9 Finding all occurrences of a pattern string in a given source string.
/third_party/icu/icu4c/source/samples/strsrch/
Dreadme.txt5 strsrch: a sample program which finds the occurrences of a pattern string in a source string, using…
9 Finding all occurrences of a pattern string in a given source string.
/third_party/skia/third_party/externals/icu/source/samples/strsrch/
Dreadme.txt5 strsrch: a sample program which finds the occurrences of a pattern string in a source string, using…
9 Finding all occurrences of a pattern string in a given source string.
/third_party/rust/crates/clap/tests/derive/
Dmain.rs25 mod occurrences; module
/third_party/rust/crates/bindgen/book/src/
Dopaque.md7 occurrences of the type as an opaque blob of bytes with a size and
/third_party/node/deps/npm/node_modules/split-on-first/
Dreadme.md5 …Reference/Global_Objects/String/split), but that one splits on all the occurrences, not just the f…
/third_party/rust/crates/clap/src/parser/matches/
Darg_matches.rs1151 let occurrences = RawOccurrences { in try_get_raw_occurrences() localVariable
1156 Ok(Some(occurrences)) in try_get_raw_occurrences()
1203 let occurrences = Occurrences { in try_remove_occurrences() localVariable
1208 Ok(Some(occurrences)) in try_remove_occurrences()
/third_party/ltp/scripts/coccinelle/
Dlibltp-test-macro.cocci100 // Replace any remaining occurrences of TEST
/third_party/rust/crates/aho-corasick/
DREADME.md3 A library for finding occurrences of many patterns at once with SIMD
34 This example shows how to search for occurrences of multiple patterns
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_EXT_video_encode_h265.adoc45 ** Replace occurrences of "`slice`" by "`slice segment`" and rename
/third_party/json/doc/mkdocs/docs/api/basic_json/
Ditems.md96 occurrences of `#!cpp iterator_wrapper(j)` with `#!cpp j.items()`.
/third_party/cups-filters/mime/
Dcupsfilters.types51 # to lowercase. Multiple occurrences of a type will cause the provided
/third_party/mesa3d/docs/relnotes/
D11.0.7.rst123 - automake: fix some occurrences of hardcoded -ldl and -lpthread
/third_party/openssl/
DNOTES-ANDROID.md82 remove occurrences of -ldl and -pie flags. You would also need to pick
/third_party/python/Doc/library/
Dgetopt.rst63 allowing multiple occurrences. Long and short options may be mixed.
/third_party/elfutils/doc/
DChangeLog65 * debuginfod-find.1: Removed redundant occurrences of environment
/third_party/python/Doc/reference/
Dintroduction.rst110 one occurrences (in other words, the enclosed phrase is optional). The ``*``
/third_party/python/Doc/c-api/
Dsequence.rst96 Return the number of occurrences of *value* in *o*, that is, return the number

123456