/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | ragged_range_fp32.c | 18 void RaggedRangeFp32(const float *starts, const float *limits, const float *deltas, int *splits, fl… in RaggedRangeFp32() argument 20 splits[0] = 0; in RaggedRangeFp32() 26 splits[i + 1] = splits[i] + len; in RaggedRangeFp32() 34 void RaggedRangeInt(const int *starts, const int *limits, const int *deltas, int *splits, int *valu… in RaggedRangeInt() argument 36 splits[0] = 0; in RaggedRangeInt() 43 splits[i + 1] = splits[i] + len; in RaggedRangeInt()
|
D | ragged_range_fp32.h | 26 void RaggedRangeFp32(const float *starts, const float *limits, const float *deltas, int *splits, fl… 28 void RaggedRangeInt(const int *starts, const int *limits, const int *deltas, int *splits, int *valu…
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/ |
D | tokenizer_op.cc | 33 std::vector<std::string> splits; in Compute() local 34 RETURN_IF_NOT_OK(Tokenize(str, &splits, &offsets_start, &offsets_limit)); in Compute() 36 if (splits.empty()) { in Compute() 37 (void)splits.emplace_back(""); in Compute() 41 RETURN_IF_NOT_OK(Tensor::CreateFromVector(splits, &token_tensor)); in Compute()
|
D | whitespace_tokenizer_op.cc | 30 Status WhitespaceTokenizerOp::Tokenize(std::string_view str, std::vector<std::string> *splits, in Tokenize() argument 45 (void)splits->emplace_back(std::move(temp)); in Tokenize() 59 (void)splits->emplace_back(std::move(temp)); in Tokenize() 61 if (splits->empty()) { in Tokenize() 62 (void)splits->emplace_back(""); in Tokenize()
|
D | unicode_script_tokenizer_op.cc | 36 Status UnicodeScriptTokenizerOp::Tokenize(std::string_view str, std::vector<std::string> *splits, in Tokenize() argument 66 (void)splits->emplace_back(std::move(temp)); in Tokenize() 81 (void)splits->emplace_back(std::move(temp)); in Tokenize()
|
D | unicode_char_tokenizer_op.cc | 29 Status UnicodeCharTokenizerOp::Tokenize(std::string_view str, std::vector<std::string> *splits, in Tokenize() argument 41 *splits = std::move(words); in Tokenize()
|
D | regex_tokenizer_op.cc | 110 Status RegexTokenizerOp::Tokenize(std::string_view str, std::vector<std::string> *splits, in Tokenize() argument 112 …RETURN_IF_NOT_OK(GetRegexTokens(std::string(str.data(), str.size()), splits, offsets_start, offset… in Tokenize()
|
D | whitespace_tokenizer_op.h | 37 …Status Tokenize(std::string_view str, std::vector<std::string> *splits, std::vector<uint32_t> *off…
|
D | unicode_char_tokenizer_op.h | 36 …Status Tokenize(std::string_view str, std::vector<std::string> *splits, std::vector<uint32_t> *off…
|
D | unicode_script_tokenizer_op.h | 40 …Status Tokenize(std::string_view str, std::vector<std::string> *splits, std::vector<uint32_t> *off…
|
D | tokenizer_op.h | 37 …virtual Status Tokenize(std::string_view str, std::vector<std::string> *splits, std::vector<uint32… in Tokenize() argument
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/ |
D | ragged_range_fp16.c | 18 …edRangeFp16(const float16_t *starts, const float16_t *limits, const float16_t *deltas, int *splits, in RaggedRangeFp16() argument 20 splits[0] = 0; in RaggedRangeFp16() 26 splits[i + 1] = splits[i] + len; in RaggedRangeFp16()
|
D | ragged_range_fp16.h | 27 …edRangeFp16(const float16_t *starts, const float16_t *limits, const float16_t *deltas, int *splits,
|
/third_party/flutter/skia/src/pathops/ |
D | SkOpEdgeBuilder.cpp | 285 } splits[4]; in walk() local 286 SkASSERT(SK_ARRAY_COUNT(splits) == SK_ARRAY_COUNT(splitT) + 1); in walk() 289 Splitsville* split = &splits[index]; in walk() 302 Splitsville* split = &splits[index]; in walk() 307 while (prior > 0 && !splits[prior - 1].fCanAdd) { in walk() 311 split->fT[0] = splits[prior].fT[0]; in walk() 312 split->fPts[0] = splits[prior].fPts[0]; in walk() 315 int breakLimit = SkTMin(breaks, (int) SK_ARRAY_COUNT(splits) - 1); in walk() 316 while (next < breakLimit && !splits[next + 1].fCanAdd) { in walk() 320 split->fT[1] = splits[next].fT[1]; in walk() [all …]
|
/third_party/skia/src/pathops/ |
D | SkOpEdgeBuilder.cpp | 279 } splits[4]; in walk() local 280 SkASSERT(SK_ARRAY_COUNT(splits) == SK_ARRAY_COUNT(splitT) + 1); in walk() 283 Splitsville* split = &splits[index]; in walk() 296 Splitsville* split = &splits[index]; in walk() 301 while (prior > 0 && !splits[prior - 1].fCanAdd) { in walk() 305 split->fT[0] = splits[prior].fT[0]; in walk() 306 split->fPts[0] = splits[prior].fPts[0]; in walk() 309 int breakLimit = std::min(breaks, (int) SK_ARRAY_COUNT(splits) - 1); in walk() 310 while (next < breakLimit && !splits[next + 1].fCanAdd) { in walk() 314 split->fT[1] = splits[next].fT[1]; in walk() [all …]
|
/third_party/python/Tools/unicode/ |
D | gencodec.py | 146 splits = 1 151 splits = 0 181 if splits == 0: 187 splits = splits + 1 188 if splits == 0:
|
/third_party/mbedtls/tests/scripts/ |
D | test_generate_test_code.py | 1009 splits = escaped_split('', ':') 1010 self.assertEqual(splits, []) 1019 splits = escaped_split(test_str, ':') 1020 self.assertEqual(splits, test_str.split(':')) 1028 splits = escaped_split(test_str, ':') 1029 self.assertEqual(splits, [r'yahoo\:google', 'facebook']) 1037 splits = escaped_split(test_str, ':') 1038 self.assertEqual(splits, [r'yahoo\\', 'google', 'facebook']) 1046 splits = escaped_split(test_str, ':') 1047 self.assertEqual(splits, [r'yahoo\\', r'google',
|
/third_party/re2/re2/ |
D | prog.cc | 845 Bitmap256 splits; in ComputeHints() local 854 splits.Clear(); in ComputeHints() 856 splits.Set(255); in ComputeHints() 872 if (0 <= lo && !splits.Test(lo)) { in ComputeHints() 873 splits.Set(lo); in ComputeHints() 874 int next = splits.FindNextSetBit(lo+1); in ComputeHints() 877 if (!splits.Test(hi)) { in ComputeHints() 878 splits.Set(hi); in ComputeHints() 879 int next = splits.FindNextSetBit(hi+1); in ComputeHints() 885 int next = splits.FindNextSetBit(c); in ComputeHints()
|
/third_party/ffmpeg/libavfilter/ |
D | af_acrossover.c | 66 float splits[MAX_SPLITS]; member 170 if (i > 0 && freq <= s->splits[i-1]) { in init() 175 s->splits[i] = freq; in init() 475 set_lp(&s->lp[band][0], s->splits[band], 0.5, sample_rate); 476 set_hp(&s->hp[band][0], s->splits[band], 0.5, sample_rate); 482 set_lp(&s->lp[band][n], s->splits[band], q[idx], sample_rate); 483 set_hp(&s->hp[band][n], s->splits[band], q[idx], sample_rate); 487 set_ap1(&s->ap[band][0], s->splits[band], sample_rate); 492 set_ap(&s->ap[band][n], s->splits[band], q[idx], sample_rate);
|
/third_party/mindspore/mindspore/lite/tools/optimizer/parallel/ |
D | depthwise_conv2d_info.cc | 53 …eSplitConstantTensors(const tensor::TensorPtr &constant_tensor, const std::vector<int64_t> &splits, in CreateSplitConstantTensors() argument 59 int64_t split_num = static_cast<int64_t>(splits.size()); in CreateSplitConstantTensors() 61 total_block_count += splits.at(i); in CreateSplitConstantTensors() 69 visited_block += splits[i]; in CreateSplitConstantTensors() 90 visited_block += splits[i]; in CreateSplitConstantTensors() 333 const std::vector<int64_t> &splits) { in CreateOutputsOfSplit() argument 355 std::vector<int64_t> new_splits = splits; in CreateOutputsOfSplit()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | csdetest.cpp | 117 static UnicodeString *split(const UnicodeString &src, UChar ch, int32_t &splits) in split() argument 121 splits = 1; in split() 123 splits += 1; in split() 126 UnicodeString *result = new UnicodeString[splits]; in split() 159 int32_t splits = 0; in checkEncoding() local 161 std::unique_ptr<UnicodeString []> eSplit(split(encoding, CH_SLASH, splits)); in checkEncoding() 212 if (splits > 1 && lang.compare(eSplit[1]) != 0) { in checkEncoding()
|
D | fldset.cpp | 70 static UnicodeString *split(const UnicodeString &src, UChar ch, int32_t &splits) in split() argument 74 splits = 1; in split() 76 splits += 1; in split() 79 UnicodeString *result = new UnicodeString[splits]; in split()
|
/third_party/typescript/src/testRunner/unittests/ |
D | incrementalParser.ts | 898 const splits = text.split(tsIgnoreComment); constant 899 if (splits.length > 2) { 900 const tail = splits[splits.length - 2] + splits[splits.length - 1]; constant 901 splits.length = splits.length - 2; 902 return splits.join(tsIgnoreComment) + tail; 905 return splits.join(tsIgnoreComment);
|
/third_party/grpc/src/core/lib/security/security_connector/ |
D | ssl_utils.cc | 247 std::vector<absl::string_view> splits = absl::StrSplit(uri, '/'); in IsSpiffeId() local 248 if (splits.size() < 4 || splits[3] == "") { in IsSpiffeId() 252 if (splits[2].size() > 255) { in IsSpiffeId()
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/commands/ |
D | build_apk.dart | 28 …'To learn more, see: https://developer.android.com/studio/build/configure-apk-splits#configure-abi… 77 …printStatus('Learn more on: https://developer.android.com/studio/build/configure-apk-splits#confi…
|