Home
last modified time | relevance | path

Searched refs:npos (Results 226 - 250 of 638) sorted by relevance

12345678910>>...26

/third_party/json/include/nlohmann/detail/input/
H A Dbinary_reader.hpp1955 if (size_and_type.first != npos) in get_ubjson_ndarray_size()
2188 if (result == 0 || result == npos) // because dim elements shall not have zeros, result = 0 means overflow happened; it also can't be npos as it is used to initialize size in get_ubjson_size_type() in get_ubjson_size_value()
2234 result.first = npos; // size in get_ubjson_size_type()
2493 if (input_format == input_format_t::bjdata && size_and_type.first != npos && (size_and_type.second & (1 << 8)) != 0) in get_ubjson_array()
2536 if (size_and_type.first != npos) in get_ubjson_array()
2599 if (input_format == input_format_t::bjdata && size_and_type.first != npos && (size_and_type.second & (1 << 8)) != 0) in get_ubjson_object()
2607 if (size_and_type.first != npos) in get_ubjson_object()
2951 static JSON_INLINE_VARIABLE constexpr std::size_t npos = static_cast<std::size_t>(-1); member in detail::binary_reader
3006 constexpr std::size_t binary_reader<BasicJsonType, InputAdapterType, SAX>::npos; member in detail::binary_reader
[all...]
/third_party/protobuf/src/google/protobuf/compiler/
H A Dparser_unittest.cc226 std::string::npos); in TEST_F() member in google::protobuf::compiler::__anon16974::std::string
237 std::string::npos); in TEST_F()
250 std::string::npos); in TEST_F()
263 "song_name_1.") != std::string::npos); in TEST_F()
2187 if (pos != std::string::npos) { in StripFieldTypeName()
2399 EXPECT_TRUE(found_pos != std::string::npos) in TEST_F()
2431 EXPECT_TRUE(debug_string.find("map<") != std::string::npos); in TEST_F()
2432 EXPECT_TRUE(debug_string.find("option map_entry") == std::string::npos); in TEST_F()
2433 EXPECT_TRUE(debug_string.find("MapEntry") == std::string::npos); in TEST_F()
/third_party/node/tools/inspector_protocol/encoding/
H A Dencoding_test.cc813 EXPECT_EQ(Status::npos(), status.pos); in TEST()
1004 EXPECT_EQ(Status::npos(), status.pos); in TEST()
1015 EXPECT_EQ(Status::npos(), status.pos); in TEST()
1223 EXPECT_EQ(Status::npos(), status.pos); in TYPED_TEST()
1230 EXPECT_EQ(Status::npos(), status.pos); in TYPED_TEST()
1253 EXPECT_EQ(Status::npos(), status.pos); in TYPED_TEST()
1679 EXPECT_NE(junk_idx, std::string::npos); in TEST_F()
1848 EXPECT_EQ(Status::npos(), status.pos); in TYPED_TEST()
1855 EXPECT_EQ(Status::npos(), status.pos); in TYPED_TEST()
1870 EXPECT_EQ(Status::npos(), statu in TYPED_TEST()
[all...]
/third_party/gn/src/gn/
H A Dfilesystem_utils_unittest.cc19 EXPECT_EQ(std::string::npos, FindExtensionOffset("")); in TEST()
20 EXPECT_EQ(std::string::npos, FindExtensionOffset("foo/bar/baz")); in TEST()
23 EXPECT_EQ(std::string::npos, FindExtensionOffset("foo.bar/")); in TEST()
24 EXPECT_EQ(std::string::npos, FindExtensionOffset("foo.bar/baz")); in TEST()
H A Dsubstitution_pattern.cc46 if (next == std::string::npos) { in Parse()
/third_party/benchmark/src/
H A Dsysinfo.cc247 while ((pos = val.find(',')) != std::string::npos) { in CountSetBitsInCPUMap()
519 if (split_idx != std::string::npos) in GetNumCPUs()
522 if (split_idx != std::string::npos) value = ln.substr(split_idx + 1); in GetNumCPUs()
679 if (split_idx != std::string::npos) value = ln.substr(split_idx + 1); in GetCPUCyclesPerSecond()
/third_party/node/src/
H A Dinspector_socket.cc158 if (last_colon_pos == std::string::npos) in TrimPort()
161 if (bracket == std::string::npos || last_colon_pos > bracket) in TrimPort()
174 if (host.find('\0') != std::string::npos) return false; in IsIPAddress()
186 if (host.find('%') != std::string::npos) return false; in IsIPAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUSubtarget.cpp108 if (FS.find_lower("+wavefrontsize") != StringRef::npos) { in initializeSubtargetDependencies()
109 if (FS.find_lower("wavefrontsize16") == StringRef::npos) in initializeSubtargetDependencies()
111 if (FS.find_lower("wavefrontsize32") == StringRef::npos) in initializeSubtargetDependencies()
113 if (FS.find_lower("wavefrontsize64") == StringRef::npos) in initializeSubtargetDependencies()
/third_party/gptfdisk/
H A Dgptcurses.cc598 if (whichOptions.find(currentKey) == string::npos) in MoveSelection()
618 if (whichOptions.find(selectedKey) == string::npos) in DisplayOptions()
622 if (whichOptions.find(selectedKey) == string::npos) in DisplayOptions()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DShaderStorageBlockOutputHLSL.cpp156 while (pos != std::string::npos) in StripArrayIndices()
159 ASSERT(closePos != std::string::npos); in StripArrayIndices()
163 ASSERT(name.find(']') == std::string::npos); in StripArrayIndices()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcLayoutLocationTests.cpp367 m_isImageCase = (type.find("sampler") == std::string::npos); in SpecifiedLocationCase()
373 if (type.find("iimage") != std::string::npos) in SpecifiedLocationCase()
378 else if (type.find("uimage") != std::string::npos) in SpecifiedLocationCase()
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
H A Dspan.h185 static const size_type npos = ~(size_type(0)); member in absl::Span
388 // will be trimmed to at most size() - `pos`. A default `len` value of `npos`
399 constexpr Span subspan(size_type pos = 0, size_type len = npos) const { in subspan()
452 const typename Span<T>::size_type Span<T>::npos; member in absl::Span
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A Drenderergl_utils.cpp60 if (pos == std::string::npos) in IsMesa()
210 if (nativeVendorString.find("NVIDIA") != std::string::npos) in GetVendorID()
214 else if (nativeVendorString.find("ATI") != std::string::npos || in GetVendorID()
215 nativeVendorString.find("AMD") != std::string::npos || in GetVendorID()
216 nativeVendorString.find("Radeon") != std::string::npos) in GetVendorID()
220 else if (nativeVendorString.find("Qualcomm") != std::string::npos) in GetVendorID()
224 else if (nativeVendorString.find("Intel") != std::string::npos) in GetVendorID()
228 else if (nativeVendorString.find("Imagination") != std::string::npos) in GetVendorID()
232 else if (nativeVendorString.find("Vivante") != std::string::npos) in GetVendorID()
253 if (nativeRendererString.find(knownDeviceID.first) != std::string::npos) in GetDeviceID()
[all...]
/test/testfwk/developer_test/aw/cxx/distributed/utils/
H A Dcsv_transform_xml.h124 while (std::string::npos != pos2) { in SplitString()
/test/xts/hats/kernel/prctl/
H A DPrctlApiTest.cpp84 if (found == s.npos) in str_split()
/third_party/glslang/StandAlone/
H A DDirStackFileIncluder.h147 return last == std::string::npos ? "." : path.substr(0, last); in getDirectory()
/third_party/benchmark/test/
H A Dfilter_test.cc76 std::string::npos; in main()
/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-type-util.h65 if (end != s.npos) { in CanonicalizeForStdLibVersioning()
/third_party/icu/icu4c/source/common/
H A Dstringpiece.cpp114 const int32_t StringPiece::npos = 0x7fffffff; member in StringPiece
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-lejp.h249 uint8_t npos; member
/third_party/node/deps/icu-small/source/common/
H A Dstringpiece.cpp114 const int32_t StringPiece::npos = 0x7fffffff; member in StringPiece
/third_party/ninja/src/
H A Dincludes_normalize_test.cc168 EXPECT_TRUE(err.find("GetFullPathName") != string::npos); in TEST()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
H A Dsfn_shaderfromstring_test.cpp104 if (line.find_first_not_of(" \t") == std::string::npos) in from_string()
/third_party/musl/libc-test/src/common/
H A Dcfi_util.h99 if (buffer.find(needle) != std::string::npos) { in CheckCfiLog()
/third_party/libabigail/src/
H A Dabg-viz-common.cc55 while((pos = target.find(match, pos)) != std::string::npos) in string_replace()

Completed in 33 milliseconds

12345678910>>...26