/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/src/ |
D | lexer.js | 22 this.input_ = input; 84 if (this.input_[this.cur_pos_ + i] !== str[i]) 149 if (this.input_[end] === "-") 152 while (end < this.len_ && this.isNum(this.input_[end])) 156 if (end >= this.len_ || this.input_[end] !== ".") 160 while (end < this.len_ && this.isNum(this.input_[end])) 163 let substr = this.input_.substr(start, end - start); 183 if (end + 2 >= this.len_ || this.input_[end] !== "0" || 184 this.input_[end + 1] !== "x") { 190 while (end < this.len_ && this.isHex(this.input_[end])) [all …]
|
/third_party/spirv-tools/tools/sva/src/ |
D | lexer.js | 22 this.input_ = input; 84 if (this.input_[this.cur_pos_ + i] !== str[i]) 149 if (this.input_[end] === "-") 152 while (end < this.len_ && this.isNum(this.input_[end])) 156 if (end >= this.len_ || this.input_[end] !== ".") 160 while (end < this.len_ && this.isNum(this.input_[end])) 163 let substr = this.input_.substr(start, end - start); 183 if (end + 2 >= this.len_ || this.input_[end] !== "0" || 184 this.input_[end + 1] !== "x") { 190 while (end < this.len_ && this.isHex(this.input_[end])) [all …]
|
/third_party/skia/third_party/externals/spirv-tools/tools/sva/src/ |
D | lexer.js | 22 this.input_ = input; 84 if (this.input_[this.cur_pos_ + i] !== str[i]) 149 if (this.input_[end] === "-") 152 while (end < this.len_ && this.isNum(this.input_[end])) 156 if (end >= this.len_ || this.input_[end] !== ".") 160 while (end < this.len_ && this.isNum(this.input_[end])) 163 let substr = this.input_.substr(start, end - start); 183 if (end + 2 >= this.len_ || this.input_[end] !== "0" || 184 this.input_[end + 1] !== "x") { 190 while (end < this.len_ && this.isHex(this.input_[end])) [all …]
|
/third_party/mindspore/tests/st/ops/ascend/test_tbe_ops/ |
D | test_stridedslice_grad.py | 32 def construct(self, input_, output_grad): argument 33 gout = self.grad(self.network)(input_, output_grad) 45 def construct(self, input_): argument 46 x = self.stridedslice(input_, self.begin, self.end, self.stride) 50 def me_stridedslice(input_, begin, end, stride, gradients): argument 51 input_me = Tensor(input_) 60 input_ = np.random.randn(2).astype(np.float32) 65 me_stridedslice(input_, begin, end, stride, gradients)
|
D | test_transpose_d.py | 32 def construct(self, input_): argument 33 x = self.transpose(input_, self.perm) 37 def ms_transpose(input_, perm_in): argument 39 input_me = Tensor(input_) 50 input_ = np.random.randn(8, 24, 1, 1).astype(np.float16) 52 ms_transpose(input_, perm)
|
D | test_stridedslice.py | 34 def construct(self, input_): argument 35 x = self.stridedslice(input_, self.begin, self.end, self.stride) 49 input_ = np.random.randn(5, 5).astype(np.int32) 54 me_stridedslice(input_, begin, end, stride) 58 input_ = np.random.randn(5, 5, 5).astype(np.float32) 62 me_stridedslice(input_, begin, end, stride)
|
D | test_unsorted_segment_sum.py | 35 def me_un_seg_sum(input_, indices, num_segments): argument 38 out = net(Tensor(input_), Tensor(indices), Tensor(num_segments, mstype.int32)) 43 input_ = np.random.randn(*shape).astype(dtype) 45 out_me = me_un_seg_sum(input_, indices_me, num_segments)
|
D | test_pow.py | 32 def construct(self, input_, exp): argument 33 return self.pow(input_, exp) 36 def pow_forward_me_impl(input_, exp): argument 40 out = m.predict(input_, exp)
|
D | test_layernorm_grad.py | 33 def construct(self, input_, output_grad,): argument 34 gout = self.grad(self.network)(input_, output_grad) 43 def construct(self, input_): argument 44 x = self.layernorm(input_)
|
/third_party/gn/src/gn/ |
D | tokenizer.cc | 75 input_(input_file->contents()), in Tokenizer() 109 std::string_view token_value(&input_.data()[token_begin], in Run() 253 char following_char = CanIncrement() ? input_[cur_ + 1] : '\0'; in ClassifyCurrent() 302 if (CanIncrement() && CouldBeTwoCharOperatorEnd(input_[cur_ + 1])) in AdvanceToEndOfToken() 342 char c = input_[location]; in AtStartOfLine() 353 char c = input_[cur_]; in IsCurrentWhitespace() 368 for (int i = static_cast<int>(cur_) - 1; i >= 0 && input_[i] == '\\'; i--) in IsCurrentStringTerminator() 377 return IsNewline(input_, cur_); in IsCurrentNewline() 381 DCHECK(cur_ < input_.size()); in Advance() 405 } else if (cur_char() == '/' && cur_ + 1 < input_.size() && in GetErrorForInvalidToken() [all …]
|
D | tokenizer.h | 76 bool CanIncrement() const { return cur_ < input_.size() - 1; } in CanIncrement() 88 bool at_end() const { return cur_ == input_.size(); } in at_end() 89 char cur_char() const { return input_[cur_]; } in cur_char() 96 const std::string_view input_; variable
|
/third_party/boost/boost/spirit/home/support/iterators/detail/ |
D | input_iterator_policy.hpp | 72 return *mp.shared()->input_; in get_input() 78 ++mp.shared()->input_; in advance_input() 86 return mp.shared()->input_ == end_iter; in input_at_eof() 103 explicit shared(T const& input) : input_(input) {} in shared() 105 T input_; member
|
D | istream_policy.hpp | 91 : input_(input), curtok_(-1) in shared() 99 if (!(input_ >> curtok_)) { in read_one() 110 input_.peek(); // try for eof in peek_one() 112 eof_reached_ = input_.eof(); in peek_one() 115 T& input_; member
|
D | buffering_input_iterator_policy.hpp | 82 return mp.shared()->input_ == end_iter; in input_at_eof() 103 : input_(input), curtok_(0), input_is_valid_(false) {} in shared() 107 ++input_; in advance_input() 114 curtok_ = *input_; in get_input() 120 T input_; member
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | parser.cc | 184 : input_(NULL), in Parser() 197 return input_->current().text == text; in LookingAt() 201 return input_->current().type == token_type; in LookingAtType() 208 input_->Next(); in TryConsume() 235 *output = input_->current().text; in ConsumeIdentifier() 236 input_->Next(); in ConsumeIdentifier() 247 if (!io::Tokenizer::ParseInteger(input_->current().text, kint32max, in ConsumeInteger() 253 input_->Next(); in ConsumeInteger() 278 if (!io::Tokenizer::ParseInteger(input_->current().text, max_value, in ConsumeInteger64() 284 input_->Next(); in ConsumeInteger64() [all …]
|
/third_party/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl_lite.cc | 383 : input_(input), limit_(limit) { in LimitingInputStream() 384 prior_bytes_read_ = input_->ByteCount(); in LimitingInputStream() 389 if (limit_ < 0) input_->BackUp(-limit_); in ~LimitingInputStream() 394 if (!input_->Next(data, size)) return false; in Next() 406 input_->BackUp(count - limit_); in BackUp() 409 input_->BackUp(count); in BackUp() 417 input_->Skip(limit_); in Skip() 421 if (!input_->Skip(count)) return false; in Skip() 429 return input_->ByteCount() + limit_ - prior_bytes_read_; in ByteCount() 431 return input_->ByteCount() - prior_bytes_read_; in ByteCount()
|
/third_party/boost/boost/asio/ssl/detail/ |
D | io.hpp | 44 if (core.input_.size() == 0) in io() 46 core.input_ = boost::asio::buffer(core.input_buffer_, in io() 53 core.input_ = core.engine_.put_input(core.input_); in io() 152 if (core_.input_.size() != 0) in operator ()() 154 core_.input_ = core_.engine_.put_input(core_.input_); in operator ()() 259 core_.input_ = boost::asio::buffer( in operator ()() 261 core_.input_ = core_.engine_.put_input(core_.input_); in operator ()()
|
/third_party/boost/libs/asio/include/boost/asio/ssl/detail/ |
D | io.hpp | 44 if (core.input_.size() == 0) in io() 46 core.input_ = boost::asio::buffer(core.input_buffer_, in io() 53 core.input_ = core.engine_.put_input(core.input_); in io() 152 if (core_.input_.size() != 0) in operator ()() 154 core_.input_ = core_.engine_.put_input(core_.input_); in operator ()() 259 core_.input_ = boost::asio::buffer( in operator ()() 261 core_.input_ = core_.engine_.put_input(core_.input_); in operator ()()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/ |
D | batchnorm_fp16.cc | 65 …input_ = ConvertInputFp32toFp16(input_tensor, static_cast<const lite::InnerContext *>(this->ms_con… in Run() 67 if (input_ == nullptr || output_ == nullptr) { in Run() 88 BatchNormFp16(input_, mean_, variance_, param, task_id, output_); in DoExecute() 94 ms_context_->allocator->Free(input_); in FreeInputAndOutput() 95 input_ = nullptr; in FreeInputAndOutput()
|
D | scale_fp16.cc | 77 DoScaleRelu6Fp16(input_, output_, scale_, offset_, task_id, scale_param_); in Scale() 80 Fp16DoScaleRelu(input_, output_, scale_, offset_, task_id, scale_param_); in Scale() 83 DoScaleFp16(input_, output_, scale_, offset_, task_id, scale_param_); in Scale() 107 input_ = reinterpret_cast<float16_t *>(input_tensor->data()); in Run() 109 CHECK_NULL_RETURN(input_); in Run()
|
/third_party/python/Lib/test/test_json/ |
D | test_tool.py | 164 input_ = '[1, 2]' 172 process = subprocess.run(args, input=input_, capture_output=True, text=True, check=True) 177 input_ = '[1,\n2]' 180 process = subprocess.run(args, input=input_, capture_output=True, text=True, check=True) 185 input_ = '[1, 2]' 188 process = subprocess.run(args, input=input_, capture_output=True, text=True, check=True) 193 input_ = '[ 1 ,\n 2]' 196 process = subprocess.run(args, input=input_, capture_output=True, text=True, check=True)
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
D | eclipse.py | 382 for input_ in action['inputs']: 383 if os.path.splitext(input_)[1] == '.jar' and not input_.startswith('$'): 384 if os.path.isabs(input_): 385 yield input_ 387 yield os.path.join(os.path.dirname(target_name), input_) 395 for input_ in action['inputs']: 396 if (os.path.splitext(input_)[1] == '.java' and 397 not input_.startswith('$')): 399 input_))
|
/third_party/node/tools/gyp/pylib/gyp/generator/ |
D | eclipse.py | 420 for input_ in action["inputs"]: 421 if os.path.splitext(input_)[1] == ".jar" and not input_.startswith("$"): 422 if os.path.isabs(input_): 423 yield input_ 425 yield os.path.join(os.path.dirname(target_name), input_) 433 for input_ in action["inputs"]: 434 if os.path.splitext(input_)[1] == ".java" and not input_.startswith( 438 os.path.join(os.path.dirname(target_name), input_)
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/ |
D | clip_by_norm_no_div_square_sum_fusion.cc | 34 VectorRef greater_pattern({greater, input_, constant_greater_}); in DefinePattern() 38 …orRef({sqrt, VectorRef({prim::kPrimSelect, greater_pattern, input_, constant_select_})}), input_}), in DefinePattern() 53 BaseRef &input_gnode = (*equiv)[input_]; in Process()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | unique_cpu_kernel.h | 33 DataType *input_{nullptr}; 78 MS_EXCEPTION_IF_NULL(params->input_); in CalculateEachBucketSize() 85 auto bucket_id = BucketId(params->input_[i], bucket_num); in CalculateEachBucketSize() 96 MS_EXCEPTION_IF_NULL(params->input_); in SplitAndCalculateBucketSize() 121 segments[i]->input_ = params->input_ + current_offset; in SplitAndCalculateBucketSize() 140 MS_EXCEPTION_IF_NULL(segment->input_); in SegmentToBuckets() 147 DataType data = segment->input_[i]; in SegmentToBuckets() 160 bucket->input_[bucket_index] = data; in SegmentToBuckets() 197 bucket->input_ = params->output_ + current_offset; in GatherSegmentsToBuckets() 212 bucket->input_ = buckets[j]->input_ + tmp_bucket_data_size[j]; in GatherSegmentsToBuckets() [all …]
|