Searched refs:token_start (Results 1 – 9 of 9) sorted by relevance
/external/cpuinfo/src/x86/ |
D | name.c | 98 static inline bool is_zero_number(const char* token_start, const char* token_end) { in is_zero_number() argument 99 for (const char* char_ptr = token_start; char_ptr != token_end; char_ptr++) { in is_zero_number() 107 static inline bool is_space(const char* token_start, const char* token_end) { in is_space() argument 108 for (const char* char_ptr = token_start; char_ptr != token_end; char_ptr++) { in is_space() 116 static inline bool is_number(const char* token_start, const char* token_end) { in is_number() argument 117 for (const char* char_ptr = token_start; char_ptr != token_end; char_ptr++) { in is_number() 125 static inline bool is_model_number(const char* token_start, const char* token_end) { in is_model_number() argument 126 for (const char* char_ptr = token_start + 1; char_ptr < token_end; char_ptr++) { in is_model_number() 134 static inline bool is_frequency(const char* token_start, const char* token_end) { in is_frequency() argument 135 const size_t token_length = (size_t) (token_end - token_start); in is_frequency() [all …]
|
/external/perfetto/test/trace_processor/graphics/ |
D | android_sysui_cuj.py | 58 token_start, argument 68 ts=ts, cookie=token_start, token=token_start, pid=PID) 69 trace.add_frame_end_event(ts=ts + 20_500_000, cookie=token_start) 72 cookie=token_start + 1, 73 token=token_start, 80 trace.add_frame_end_event(ts=ts + dur, cookie=token_start + 1) 83 cookie=token_start + 2, 84 token=token_start, 85 display_frame_token=token_start, 88 trace.add_frame_end_event(ts=ts + 20_500_000, cookie=token_start + 2) [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_lexer.cc | 96 token_state_.token_start = current_ptr_; in LexToken() 241 token_state_.str_val.assign(token_state_.token_start, current_ptr_); in LexIdentifier() 248 token_state_.str_val.assign(token_state_.token_start, current_ptr_); in LexIdentifier() 254 StringPieceFromPointers(token_state_.token_start, current_ptr_); in LexIdentifier() 291 StringPieceFromPointers(token_state_.token_start, buf_.end()); in LexIdentifier() 296 token_state_.str_val.assign(token_state_.token_start, current_ptr_); in LexIdentifier() 334 StringPieceFromPointers(token_state_.token_start, buf_.end()); in LexNumberOrPattern() 339 CHECK(absl::SimpleAtod(string(token_state_.token_start, current_ptr_), in LexNumberOrPattern() 352 token_state_.str_val.assign(token_state_.token_start, current_ptr_); in LexNumberOrPattern() 358 token_state_.str_val.assign(token_state_.token_start, current_ptr_); in LexNumberOrPattern() [all …]
|
D | hlo_lexer.h | 130 LocTy GetLoc() const { return token_state_.token_start; } in GetLoc() 172 const char* token_start = nullptr; member
|
/external/libtextclassifier/native/lang_id/common/lite_strings/ |
D | str-split.cc | 24 int token_start = 0; in LiteStrSplit() local 28 result.emplace_back(text.data() + token_start, i - token_start); in LiteStrSplit() 29 token_start = i + 1; in LiteStrSplit()
|
/external/libtextclassifier/native/utils/strings/ |
D | split.cc | 24 int token_start = 0; in Split() local 29 StringPiece(text.data() + token_start, i - token_start)); in Split() 30 token_start = i + 1; in Split()
|
/external/pigweed/pw_tool/ |
D | main.cc | 56 size_t token_start = 0; in TokenizeLine() local 72 token_start = index++; in TokenizeLine() 73 if (line[token_start] == '"') { in TokenizeLine() 76 ++token_start; in TokenizeLine() 92 tokens.push_back(line.substr(token_start, index - token_start)); in TokenizeLine()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | string_split_op.cc | 66 size_t token_start = 0; in SplitOnCharSet() local 69 StringPiece token(text.data() + token_start, i - token_start); in SplitOnCharSet() 73 token_start = i + 1; in SplitOnCharSet()
|
/external/libtextclassifier/native/utils/grammar/parsing/ |
D | parser.cc | 93 const CodepointIndex token_start = input.tokens[i].start; in SortedSymbolsForInput() local 95 if (token_start != prev_token_end) { in SortedSymbolsForInput() 96 token_match_start[token_start] = prev_token_end; in SortedSymbolsForInput()
|