/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/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 …]
|
D | parser_unittest.cc | 112 input_.reset(new io::Tokenizer(raw_input_.get(), &error_collector_)); in SetupParser() 125 parser_->Parse(input_.get(), &actual); in ExpectParsesTo() 126 EXPECT_EQ(io::Tokenizer::TYPE_END, input_->current().type); in ExpectParsesTo() 146 EXPECT_EQ(io::Tokenizer::TYPE_END, input_->current().type); in ExpectHasErrors() 154 parser_->Parse(input_.get(), &file); in ExpectHasEarlyExitErrors() 168 parser_->Parse(input_.get(), &file); in ExpectHasValidationErrors() 169 EXPECT_EQ(io::Tokenizer::TYPE_END, input_->current().type); in ExpectHasValidationErrors() 183 std::unique_ptr<io::Tokenizer> input_; member in google::protobuf::compiler::__anon38d4230e0111::ParserTest 196 EXPECT_TRUE(parser_->Parse(input_.get(), NULL)); in TEST_F() 206 EXPECT_TRUE(parser_->Parse(input_.get(), NULL)); in TEST_F() [all …]
|
/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/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()
|
D | zero_copy_stream_impl.cc | 269 : input_(input) {} in CopyingIstreamInputStream() 275 input_->read(reinterpret_cast<char*>(buffer), size); in Read() 276 int result = input_->gcount(); in Read() 277 if (result == 0 && input_->fail() && !input_->eof()) { in Read()
|
D | coded_stream.cc | 83 if (input_ != NULL) { in ~CodedInputStream() 95 input_->BackUp(backup_bytes); in BackUpInputToCurrentPosition() 220 input_->Skip(bytes_until_limit); in SkipFallback() 225 if (!input_->Skip(count)) { in SkipFallback() 226 total_bytes_read_ = input_->ByteCount(); in SkipFallback() 635 if (NextNonEmpty(input_, &void_buffer, &buffer_size)) { in Refresh()
|
/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/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/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/ninja/src/ |
D | lexer.in.cc | 27 const char* line_start = input_.str_; in Error() 28 for (const char* p = input_.str_; p < last_token_; ++p) { in Error() 69 input_ = input; in Start() 70 ofs_ = input_.str_; in Start()
|
D | lexer.cc | 28 const char* line_start = input_.str_; in Error() 29 for (const char* p = input_.str_; p < last_token_; ++p) { in Error() 70 input_ = input; in Start() 71 ofs_ = input_.str_; in Start()
|
/third_party/gn/src/base/json/ |
D | json_parser.cc | 72 input_ = input; in Parse() 167 if (static_cast<size_t>(index_) + count > input_.length()) in PeekChars() 171 return std::string_view(input_.data() + index_, count); in PeekChars() 196 CHECK_LE(static_cast<size_t>(index_), input_.length()); in pos() 197 return input_.data() + index_; in pos() 252 if (!(c == '\n' && index_ > 0 && input_[index_ - 1] == '\r')) { in EatWhitespaceAndComments() 454 if (!ReadUnicodeCharacter(input_.data(), in ConsumeStringRaw() 455 static_cast<int32_t>(input_.length()), &index_, in ConsumeStringRaw()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | bytestream.cc | 149 return input_.size(); in Available() 153 return input_; in Peek() 157 GOOGLE_DCHECK_LE(n, input_.size()); in Skip() 158 input_.remove_prefix(n); in Skip()
|
D | bytestream.h | 298 explicit ArrayByteSource(StringPiece s) : input_(s) {} in ArrayByteSource() 305 StringPiece input_;
|
/third_party/skia/third_party/externals/libwebp/examples/ |
D | webpmux.c | 118 const char* input_; member 717 config->input_ = wargv[i + 1]; in ParseCommandLine() 735 if (config->input_ == NULL) { in ParseCommandLine() 736 config->input_ = wargv[i]; in ParseCommandLine() 782 if (config->input_ == NULL) { in ParseCommandLine() 783 config->input_ = wargv[i]; in ParseCommandLine() 811 if (config->input_ == NULL) { in ValidateConfig() 920 ok = CreateMux(config->input_, &mux); in Process() 1019 ok = CreateMux(config->input_, &mux); in Process() 1040 ok = CreateMux(config->input_, &mux); in Process() [all …]
|
/third_party/skia/third_party/externals/tint/src/utils/io/ |
D | command_posix.cc | 187 if (!input_.empty()) { in Exec() 188 ssize_t n = write(stdin_pipe.write, input_.data(), input_.size()); in Exec() 189 if (n != static_cast<ssize_t>(input_.size())) { in Exec()
|
D | command.h | 74 void SetInput(const std::string& input) { input_ = input; } in SetInput() 78 std::string input_; variable
|
D | command_windows.cc | 160 if (!input_.empty()) { in Exec() 161 if (!WriteFile(stdin_pipe.write, input_.data(), input_.size(), nullptr, in Exec()
|
/third_party/flutter/skia/third_party/externals/libwebp/examples/ |
D | webpmux.c | 116 const char* input_; member 714 config->input_ = wargv[i + 1]; in ParseCommandLine() 732 if (config->input_ == NULL) { in ParseCommandLine() 733 config->input_ = wargv[i]; in ParseCommandLine() 772 if (config->input_ == NULL) { in ParseCommandLine() 773 config->input_ = wargv[i]; in ParseCommandLine() 801 if (config->input_ == NULL) { in ValidateConfig() 910 ok = CreateMux(config->input_, &mux); in Process() 1009 ok = CreateMux(config->input_, &mux); in Process() 1031 ok = CreateMux(config->input_, &mux); in Process() [all …]
|
/third_party/rust/crates/nom/src/multi/ |
D | mod.rs | 463 let input_ = input.clone(); in many0_count() localVariable 465 match f.parse(input_) { in many0_count() 527 let input_ = input.clone(); in many1_count() localVariable 528 match f.parse(input_) { in many1_count() 582 let input_ = input.clone(); in count() localVariable 583 match f.parse(input_) { in count() 635 let input_ = input.clone(); in fill() localVariable 636 match f(input_) { in fill() 1032 let input_ = input.clone(); in length_count() localVariable 1033 match g.parse(input_) { in length_count()
|
/third_party/skia/third_party/externals/tint/fuzzers/ |
D | tint_common_fuzzer.cc | 110 : input_(input), output_(output) {} in CommonFuzzer() 135 switch (input_) { in Run() 176 if (input_ == InputFormat::kSpv && in Run()
|