Home
last modified time | relevance | path

Searched refs:npos (Results 26 - 50 of 607) sorted by relevance

12345678910>>...25

/third_party/protobuf/src/google/protobuf/stubs/
H A Dstringpiece.h345 static const size_type npos; member in google::protobuf::StringPiece
368 stringpiece_ssize_type rfind(StringPiece s, size_type pos = npos) const;
369 stringpiece_ssize_type rfind(char c, size_type pos = npos) const;
379 size_type pos = npos) const;
380 stringpiece_ssize_type find_last_of(char c, size_type pos = npos) const { in find_last_of()
384 size_type pos = npos) const;
385 stringpiece_ssize_type find_last_not_of(char c, size_type pos = npos) const;
387 StringPiece substr(size_type pos, size_type n = npos) const;
/kernel/linux/linux-6.6/tools/lib/api/fd/
H A Darray.c94 int npos; in fdarray__dup_entry_from() local
101 npos = fdarray__add(fda, entry->fd, entry->events, from->priv[pos].flags); in fdarray__dup_entry_from()
102 if (npos >= 0) in fdarray__dup_entry_from()
103 fda->priv[npos] = from->priv[pos]; in fdarray__dup_entry_from()
105 return npos; in fdarray__dup_entry_from()
/third_party/gn/src/base/strings/
H A Dstring_split.cc74 while (start != ViewType::npos) { in SplitStringT()
78 if (end == ViewType::npos) { in SplitStringT()
80 start = ViewType::npos; in SplitStringT()
105 if (end_key_pos == std::string::npos) { in AppendStringKeyValue()
114 if (begin_value_pos == std::string_view::npos) { in AppendStringKeyValue()
133 for (size_type begin_index = 0, end_index = 0; end_index != Piece::npos; in SplitStringUsingSubstrT()
136 Piece term = end_index == Piece::npos in SplitStringUsingSubstrT()
H A Dstring_tokenizer.h172 if (delims_.find(*token_begin_) == str::npos) in QuickGetNext()
176 while (token_end_ != end_ && delims_.find(*token_end_) == str::npos) in QuickGetNext()
203 bool IsDelim(char_type c) const { return delims_.find(c) != str::npos; } in IsDelim()
205 bool IsQuote(char_type c) const { return quotes_.find(c) != str::npos; } in IsQuote()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/
H A Daudio.c57 int npos; member
87 while (s && avhd->wpos != avhd->npos) { in spool_capture()
88 *sam++ = avhd->p[avhd->npos]; in spool_capture()
89 avhd->npos = (avhd->npos + 1) % LWS_ARRAY_SIZE(avhd->p); in spool_capture()
94 avhd->wpos, avhd->npos); in spool_capture()
450 vhd->npos = ppold; in callback_audio()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DLLVMAsm.cpp72 if(index == std::string::npos) in fixupAsmFile()
105 if(line.find("# -- Begin function") != std::string::npos) in fixupAsmFile()
124 if(pos != std::string::npos) in fixupAsmFile()
138 if(pos != std::string::npos) in fixupAsmFile()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstr_split.cc49 size_t found_pos = absl::string_view::npos; in GenericFind()
53 if (found_pos != absl::string_view::npos) { in GenericFind()
91 if (found_pos == absl::string_view::npos) in Find()
104 if (found_pos == absl::string_view::npos) in Find()
/third_party/vk-gl-cts/framework/common/
H A DtcuStringTemplate.cpp72 if (paramNdx != string::npos) in specialize()
79 if (paramEndNdx == string::npos) in specialize()
90 if (colonNdx != string::npos) in specialize()
122 for (size_t ndx = tmp.find("\n"); ndx != string::npos; ndx = tmp.find("\n")) in specialize()
/third_party/libwebsockets/plugins/ssh-base/
H A Dsshd.c554 pss->V_C[pss->npos] = '\0'; in lws_ssh_parse_plaintext()
555 pss->npos = 0; in lws_ssh_parse_plaintext()
561 if (pss->npos < sizeof(pss->V_C) - 1) in lws_ssh_parse_plaintext()
562 pss->V_C[pss->npos++] = (char)*p; in lws_ssh_parse_plaintext()
854 pss->npos = 0; in lws_ssh_parse_plaintext()
873 if (pss->npos < sizeof(pss->name) - 1) in lws_ssh_parse_plaintext()
874 pss->name[pss->npos++] = (char)*p; in lws_ssh_parse_plaintext()
876 pss->name[pss->npos] = '\0'; in lws_ssh_parse_plaintext()
877 pss->npos = 0; in lws_ssh_parse_plaintext()
882 pss->name[pss->npos] in lws_ssh_parse_plaintext()
[all...]
/third_party/libwebsockets/lib/jose/jws/
H A Djose.c174 memcpy(args->jwk_jctx.buf, ctx->buf, ctx->npos); in lws_jws_jose_cb()
175 args->jwk_jctx.npos = ctx->npos; in lws_jws_jose_cb()
231 lws_strnncpy(args->jose->typ, ctx->buf, ctx->npos, in lws_jws_jose_cb()
349 if (*args->temp_len < ctx->npos) { in lws_jws_jose_cb()
359 memcpy(args->temp, ctx->buf, ctx->npos); in lws_jws_jose_cb()
360 args->temp += ctx->npos; in lws_jws_jose_cb()
361 *args->temp_len -= ctx->npos; in lws_jws_jose_cb()
362 args->jose->e[ctx->path_match - 1].len += ctx->npos; in lws_jws_jose_cb()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DObjCARCAnalysisUtils.h236 if (Section.find("__message_refs") != StringRef::npos || in IsObjCIdentifiedObject()
237 Section.find("__objc_classrefs") != StringRef::npos || in IsObjCIdentifiedObject()
238 Section.find("__objc_superrefs") != StringRef::npos || in IsObjCIdentifiedObject()
239 Section.find("__objc_methname") != StringRef::npos || in IsObjCIdentifiedObject()
240 Section.find("__cstring") != StringRef::npos) in IsObjCIdentifiedObject()
/third_party/vixl/test/
H A Dtest-donkey.cc107 if (argv_s.find("encoding=") != std::string::npos) { in main()
120 if (argv_s.find("input=") != std::string::npos) { in main()
213 if (buffer_s.find("unimplemented") != std::string::npos) continue; in main()
219 if ((space != std::string::npos) && in main()
220 (buffer_s.substr(space).find("sp") != std::string::npos)) in main()
/third_party/skia/include/core/
H A DSkStringView.h28 static constexpr size_type npos = size_type(-1); member in skstd::string_view
111 return npos; in find()
123 return npos; in find()
127 return this->find(needle) != npos; in contains()
130 constexpr string_view substr(size_type pos = 0, size_type count = npos) const { in substr()
/third_party/rust/crates/regex/regex-syntax/src/ast/
H A Dparse.rs2376 fn npos(offset: usize, line: usize, column: usize) -> Position { in npos() functions
2737 nspan(npos(0, 1, 1), npos(7, 1, 8)), in parse_ignore_whitespace()
2740 lit_with('a', nspan(npos(4, 1, 5), npos(5, 1, 6))), in parse_ignore_whitespace()
2741 lit_with('b', nspan(npos(6, 1, 7), npos(7, 1, 8))), in parse_ignore_whitespace()
2751 nspan(npos(0, 1, 1), npos(15, 1, 16)), in parse_ignore_whitespace()
2754 lit_with('a', nspan(npos( in parse_ignore_whitespace()
[all...]
/third_party/gn/src/gn/
H A Dversion.cc25 major_end != std::string::npos) { in FromString()
32 minor_end != std::string::npos) { in FromString()
38 if (!base::StringToInt(s.substr(patch_begin, std::string::npos), &patch)) in FromString()
H A Dohos_components.cc51 if (pos != std::string::npos) { in addInnerApi()
378 if (sep_whole != std::string::npos) { in GetWholeArchiveFlag()
382 if (sep_whole != std::string::npos) { in GetWholeArchiveFlag()
397 if (sep_whole != std::string::npos) { in GetPrivateDepsLabel()
404 if (tool_sep == std::string::npos && GetTargetToolchain() != current_toolchain_str) { in GetPrivateDepsLabel()
420 if (sep == std::string::npos) { in GetExternalDepsLabel()
442 if (sep_whole != std::string::npos) { in GetExternalDepsLabel()
447 if (tool_sep != std::string::npos) { in GetExternalDepsLabel()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
H A Dcl_util.cpp21 if (spacePos == std::string::npos || dotPos == std::string::npos) in ExtractCLVersion()
48 while (spacePos != std::string::npos) in RemoveUnsupportedCLExtensions()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dassembly_builder.h127 if (inst_str.find("= OpSpecConstant ") != std::string::npos || in AppendTypesConstantsGlobals()
128 inst_str.find("= OpSpecConstantTrue ") != std::string::npos || in AppendTypesConstantsGlobals()
129 inst_str.find("= OpSpecConstantFalse ") != std::string::npos) { in AppendTypesConstantsGlobals()
232 if (inst_str.find('=') != std::string::npos) { in GetResultIDName()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dassembly_builder.h127 if (inst_str.find("= OpSpecConstant ") != std::string::npos || in AppendTypesConstantsGlobals()
128 inst_str.find("= OpSpecConstantTrue ") != std::string::npos || in AppendTypesConstantsGlobals()
129 inst_str.find("= OpSpecConstantFalse ") != std::string::npos) { in AppendTypesConstantsGlobals()
232 if (inst_str.find('=') != std::string::npos) { in GetResultIDName()
/third_party/spirv-tools/test/opt/
H A Dassembly_builder.h127 if (inst_str.find("= OpSpecConstant ") != std::string::npos || in AppendTypesConstantsGlobals()
128 inst_str.find("= OpSpecConstantTrue ") != std::string::npos || in AppendTypesConstantsGlobals()
129 inst_str.find("= OpSpecConstantFalse ") != std::string::npos) { in AppendTypesConstantsGlobals()
232 if (inst_str.find('=') != std::string::npos) { in GetResultIDName()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A Dcompiler_test.cpp169 return std::string::npos; in foundInCodeRegex()
194 return std::string::npos; in foundInCode()
203 return code->second.find(stringToFind) != std::string::npos; in foundInCode()
226 if (position == std::string::npos) in foundInCodeInOrder()
260 if (position == std::string::npos) in foundInCode()
268 return code->second.find(stringToFind, currentPos) == std::string::npos; in foundInCode()
/third_party/cups-filters/filter/pdftopdf/
H A Dintervalset.h12 static const key_t npos; member in IntervalSet
16 void add(key_t start,key_t end=npos);
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
H A Dpath_util.h37 return last_slash_pos == absl::string_view::npos in Basename()
53 return last_slash_pos == absl::string_view::npos in Package()
/third_party/libwebsockets/lib/cose/
H A Dcose_key.c635 if (cps->pos + ctx->npos > sizeof(cps->buf)) { in cb_cose_key()
639 memcpy(cps->buf + cps->pos, ctx->buf, ctx->npos); in cb_cose_key()
640 cps->pos += ctx->npos; in cb_cose_key()
669 ke->len = ctx->npos; in cb_cose_key()
670 ke->buf = lws_malloc(ctx->npos, __func__); in cb_cose_key()
673 memcpy(ke->buf, ctx->buf, ctx->npos); in cb_cose_key()
681 if (ctx->npos == strlen(wk_algs[n]) && in cb_cose_key()
682 !memcmp(ctx->buf, wk_algs[n], ctx->npos)) { in cb_cose_key()
690 __func__, (int)ctx->npos, ctx->buf); in cb_cose_key()
693 ke->len = ctx->npos; in cb_cose_key()
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/api/
H A Dprogram.cpp353 opts.find("-create-library") != std::string::npos; in validate_link_devices()
355 opts.find("-enable-link-options") != std::string::npos; in validate_link_devices()
357 opts.find("-cl-denorms-are-zero") != std::string::npos || in validate_link_devices()
358 opts.find("-cl-no-signed-zeroes") != std::string::npos || in validate_link_devices()
359 opts.find("-cl-unsafe-math-optimizations") != std::string::npos || in validate_link_devices()
360 opts.find("-cl-finite-math-only") != std::string::npos || in validate_link_devices()
361 opts.find("-cl-fast-relaxed-math") != std::string::npos || in validate_link_devices()
362 opts.find("-cl-no-subgroup-ifp") != std::string::npos; in validate_link_devices()
417 std::string::npos)); in validate_link_devices()

Completed in 17 milliseconds

12345678910>>...25