/external/pigweed/pw_tokenizer/pw_tokenizer_private/ |
D | generated_hash_test_cases.h | 33 std::string_view string; 40 std::string_view("", 0u), 46 std::string_view("", 0u), 52 std::string_view("", 0u), 58 std::string_view("\xa1", 1u), 64 std::string_view("\xa1", 1u), 70 std::string_view("\xa1", 1u), 76 std::string_view("\xff", 1u), 82 std::string_view("\xff", 1u), 88 std::string_view("\xff", 1u), [all …]
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | abseil-string-find-str-contains.cpp | 36 typedef basic_string_view<char> string_view; typedef 43 class string_view { class 45 string_view(); 46 string_view(const string_view &); 47 string_view(const char *); 48 ~string_view(); 49 int find(string_view s, int pos = 0); 59 std::string_view foo_ssv(std::string_view); 60 absl::string_view foo_asv(absl::string_view); 62 std::string_view bar_ssv(); [all …]
|
/external/libtextclassifier/abseil-cpp/absl/strings/ |
D | string_view_test.cc | 83 absl::string_view s10; in TEST() 91 absl::string_view s20(hello); in TEST() 96 absl::string_view s21(hello, 4); in TEST() 101 absl::string_view s22(hello, 6); in TEST() 109 absl::string_view s30(hola); in TEST() 117 absl::string_view s31(hola); in TEST() 128 absl::string_view s1(str1); in TEST() 131 absl::string_view s2(str2); in TEST() 142 absl::string_view a("a"); in TEST() 143 absl::string_view b("bbb"); in TEST() [all …]
|
D | str_split.cc | 41 absl::string_view GenericFind(absl::string_view text, in GenericFind() 42 absl::string_view delimiter, size_t pos, in GenericFind() 47 return absl::string_view(text.data() + pos + 1, 0); in GenericFind() 49 size_t found_pos = absl::string_view::npos; in GenericFind() 50 absl::string_view found(text.data() + text.size(), in GenericFind() 53 if (found_pos != absl::string_view::npos) { in GenericFind() 54 found = absl::string_view(text.data() + found_pos, in GenericFind() 63 size_t Find(absl::string_view text, absl::string_view delimiter, size_t pos) { in Find() 66 size_t Length(absl::string_view delimiter) { return delimiter.length(); } in Length() 72 size_t Find(absl::string_view text, absl::string_view delimiter, size_t pos) { in Find() [all …]
|
D | string_view.h | 51 using string_view = std::string_view; variable 159 class string_view { 177 constexpr string_view() noexcept : ptr_(nullptr), length_(0) {} in string_view() function 182 string_view( // NOLINT(runtime/explicit) in string_view() function 187 : string_view(str.data(), str.size()) {} in string_view() 192 constexpr string_view(const char* str) // NOLINT(runtime/explicit) in string_view() function 197 constexpr string_view(const char* data, size_type len) in string_view() function 354 void swap(string_view& s) noexcept { in swap() 391 constexpr string_view substr(size_type pos, size_type n = npos) const { 395 string_view()) [all …]
|
D | string_view.cc | 46 explicit LookupTable(string_view wanted) { in LookupTable() 60 std::ostream& operator<<(std::ostream& o, string_view piece) { in operator <<() 81 string_view::size_type string_view::find(string_view s, size_type pos) const in find() 92 string_view::size_type string_view::find(char c, size_type pos) const noexcept { in find() 101 string_view::size_type string_view::rfind(string_view s, size_type pos) const in rfind() 111 string_view::size_type string_view::rfind(char c, size_type pos) const in rfind() 124 string_view::size_type string_view::find_first_of(string_view s, in find_first_of() 141 string_view::size_type string_view::find_first_not_of(string_view s, in find_first_not_of() 156 string_view::size_type string_view::find_first_not_of(char c, in find_first_not_of() 168 string_view::size_type string_view::find_last_of(string_view s, in find_last_of() [all …]
|
/external/openscreen/third_party/abseil/src/absl/strings/ |
D | string_view_test.cc | 83 absl::string_view s10; in TEST() 91 absl::string_view s20(hello); in TEST() 96 absl::string_view s21(hello, 4); in TEST() 101 absl::string_view s22(hello, 6); in TEST() 109 absl::string_view s30(hola); in TEST() 117 absl::string_view s31(hola); in TEST() 128 absl::string_view s1(str1); in TEST() 131 absl::string_view s2(str2); in TEST() 142 absl::string_view a("a"); in TEST() 143 absl::string_view b("bbb"); in TEST() [all …]
|
D | str_split.cc | 41 absl::string_view GenericFind(absl::string_view text, in GenericFind() 42 absl::string_view delimiter, size_t pos, in GenericFind() 47 return absl::string_view(text.data() + pos + 1, 0); in GenericFind() 49 size_t found_pos = absl::string_view::npos; in GenericFind() 50 absl::string_view found(text.data() + text.size(), in GenericFind() 53 if (found_pos != absl::string_view::npos) { in GenericFind() 54 found = absl::string_view(text.data() + found_pos, in GenericFind() 63 size_t Find(absl::string_view text, absl::string_view delimiter, size_t pos) { in Find() 66 size_t Length(absl::string_view delimiter) { return delimiter.length(); } in Length() 72 size_t Find(absl::string_view text, absl::string_view delimiter, size_t pos) { in Find() [all …]
|
D | string_view.h | 51 using string_view = std::string_view; variable 159 class string_view { 177 constexpr string_view() noexcept : ptr_(nullptr), length_(0) {} in string_view() function 182 string_view( // NOLINT(runtime/explicit) in string_view() function 187 : string_view(str.data(), str.size()) {} in string_view() 192 constexpr string_view(const char* str) // NOLINT(runtime/explicit) in string_view() function 197 constexpr string_view(const char* data, size_type len) in string_view() function 354 void swap(string_view& s) noexcept { in swap() 391 constexpr string_view substr(size_type pos, size_type n = npos) const { 395 string_view()) [all …]
|
D | string_view.cc | 46 explicit LookupTable(string_view wanted) { in LookupTable() 60 std::ostream& operator<<(std::ostream& o, string_view piece) { in operator <<() 81 string_view::size_type string_view::find(string_view s, size_type pos) const in find() 92 string_view::size_type string_view::find(char c, size_type pos) const noexcept { in find() 101 string_view::size_type string_view::rfind(string_view s, size_type pos) const in rfind() 111 string_view::size_type string_view::rfind(char c, size_type pos) const in rfind() 124 string_view::size_type string_view::find_first_of(string_view s, in find_first_of() 141 string_view::size_type string_view::find_first_not_of(string_view s, in find_first_not_of() 156 string_view::size_type string_view::find_first_not_of(char c, in find_first_not_of() 168 string_view::size_type string_view::find_last_of(string_view s, in find_last_of() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/ |
D | string_view_test.cc | 83 absl::string_view s10; in TEST() 91 absl::string_view s20(hello); in TEST() 96 absl::string_view s21(hello, 4); in TEST() 101 absl::string_view s22(hello, 6); in TEST() 109 absl::string_view s30(hola); in TEST() 117 absl::string_view s31(hola); in TEST() 128 absl::string_view s1(str1); in TEST() 131 absl::string_view s2(str2); in TEST() 142 absl::string_view a("a"); in TEST() 143 absl::string_view b("bbb"); in TEST() [all …]
|
D | str_split.cc | 41 absl::string_view GenericFind(absl::string_view text, in GenericFind() 42 absl::string_view delimiter, size_t pos, in GenericFind() 47 return absl::string_view(text.data() + pos + 1, 0); in GenericFind() 49 size_t found_pos = absl::string_view::npos; in GenericFind() 50 absl::string_view found(text.data() + text.size(), in GenericFind() 53 if (found_pos != absl::string_view::npos) { in GenericFind() 54 found = absl::string_view(text.data() + found_pos, in GenericFind() 63 size_t Find(absl::string_view text, absl::string_view delimiter, size_t pos) { in Find() 66 size_t Length(absl::string_view delimiter) { return delimiter.length(); } in Length() 72 size_t Find(absl::string_view text, absl::string_view delimiter, size_t pos) { in Find() [all …]
|
D | string_view.h | 51 using string_view = std::string_view; variable 159 class string_view { 177 constexpr string_view() noexcept : ptr_(nullptr), length_(0) {} in string_view() function 182 string_view( // NOLINT(runtime/explicit) in string_view() function 187 : string_view(str.data(), str.size()) {} in string_view() 192 constexpr string_view(const char* str) // NOLINT(runtime/explicit) in string_view() function 197 constexpr string_view(const char* data, size_type len) in string_view() function 354 void swap(string_view& s) noexcept { in swap() 391 constexpr string_view substr(size_type pos, size_type n = npos) const { 395 string_view()) [all …]
|
D | string_view.cc | 46 explicit LookupTable(string_view wanted) { in LookupTable() 60 std::ostream& operator<<(std::ostream& o, string_view piece) { in operator <<() 81 string_view::size_type string_view::find(string_view s, size_type pos) const in find() 92 string_view::size_type string_view::find(char c, size_type pos) const noexcept { in find() 101 string_view::size_type string_view::rfind(string_view s, size_type pos) const in rfind() 111 string_view::size_type string_view::rfind(char c, size_type pos) const in rfind() 124 string_view::size_type string_view::find_first_of(string_view s, in find_first_of() 141 string_view::size_type string_view::find_first_not_of(string_view s, in find_first_not_of() 156 string_view::size_type string_view::find_first_not_of(char c, in find_first_not_of() 168 string_view::size_type string_view::find_last_of(string_view s, in find_last_of() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/strings/ |
D | string_view_test.cc | 82 absl::string_view s10; in TEST() 90 absl::string_view s20(hello); in TEST() 95 absl::string_view s21(hello, 4); in TEST() 100 absl::string_view s22(hello, 6); in TEST() 108 absl::string_view s30(hola); in TEST() 116 absl::string_view s31(hola); in TEST() 127 absl::string_view s1(str1); in TEST() 130 absl::string_view s2(str2); in TEST() 141 absl::string_view a("a"); in TEST() 142 absl::string_view b("bbb"); in TEST() [all …]
|
D | str_split.cc | 41 absl::string_view GenericFind(absl::string_view text, in GenericFind() 42 absl::string_view delimiter, size_t pos, in GenericFind() 47 return absl::string_view(text.data() + pos + 1, 0); in GenericFind() 49 size_t found_pos = absl::string_view::npos; in GenericFind() 50 absl::string_view found(text.data() + text.size(), in GenericFind() 53 if (found_pos != absl::string_view::npos) { in GenericFind() 54 found = absl::string_view(text.data() + found_pos, in GenericFind() 63 size_t Find(absl::string_view text, absl::string_view delimiter, size_t pos) { in Find() 66 size_t Length(absl::string_view delimiter) { return delimiter.length(); } in Length() 72 size_t Find(absl::string_view text, absl::string_view delimiter, size_t pos) { in Find() [all …]
|
/external/abseil-cpp/absl/strings/ |
D | string_view_test.cc | 82 absl::string_view s10; in TEST() 90 absl::string_view s20(hello); in TEST() 95 absl::string_view s21(hello, 4); in TEST() 100 absl::string_view s22(hello, 6); in TEST() 108 absl::string_view s30(hola); in TEST() 116 absl::string_view s31(hola); in TEST() 127 absl::string_view s1(str1); in TEST() 130 absl::string_view s2(str2); in TEST() 141 absl::string_view a("a"); in TEST() 142 absl::string_view b("bbb"); in TEST() [all …]
|
D | str_split.cc | 41 absl::string_view GenericFind(absl::string_view text, in GenericFind() 42 absl::string_view delimiter, size_t pos, in GenericFind() 47 return absl::string_view(text.data() + pos + 1, 0); in GenericFind() 49 size_t found_pos = absl::string_view::npos; in GenericFind() 50 absl::string_view found(text.data() + text.size(), in GenericFind() 53 if (found_pos != absl::string_view::npos) { in GenericFind() 54 found = absl::string_view(text.data() + found_pos, in GenericFind() 63 size_t Find(absl::string_view text, absl::string_view delimiter, size_t pos) { in Find() 66 size_t Length(absl::string_view delimiter) { return delimiter.length(); } in Length() 72 size_t Find(absl::string_view text, absl::string_view delimiter, size_t pos) { in Find() [all …]
|
D | string_view.cc | 46 explicit LookupTable(string_view wanted) { in LookupTable() 60 std::ostream& operator<<(std::ostream& o, string_view piece) { in operator <<() 81 string_view::size_type string_view::find(string_view s, size_type pos) const in find() 92 string_view::size_type string_view::find(char c, size_type pos) const noexcept { in find() 101 string_view::size_type string_view::rfind(string_view s, size_type pos) const in rfind() 111 string_view::size_type string_view::rfind(char c, size_type pos) const in rfind() 124 string_view::size_type string_view::find_first_of(string_view s, in find_first_of() 141 string_view::size_type string_view::find_first_not_of(string_view s, in find_first_not_of() 156 string_view::size_type string_view::find_first_not_of(char c, in find_first_not_of() 168 string_view::size_type string_view::find_last_of(string_view s, in find_last_of() [all …]
|
/external/angle/third_party/abseil-cpp/absl/strings/ |
D | string_view_test.cc | 83 absl::string_view s10; in TEST() 91 absl::string_view s20(hello); in TEST() 96 absl::string_view s21(hello, 4); in TEST() 101 absl::string_view s22(hello, 6); in TEST() 109 absl::string_view s30(hola); in TEST() 117 absl::string_view s31(hola); in TEST() 128 absl::string_view s1(str1); in TEST() 131 absl::string_view s2(str2); in TEST() 142 absl::string_view a("a"); in TEST() 143 absl::string_view b("bbb"); in TEST() [all …]
|
D | str_split.cc | 41 absl::string_view GenericFind(absl::string_view text, in GenericFind() 42 absl::string_view delimiter, size_t pos, in GenericFind() 47 return absl::string_view(text.data() + pos + 1, 0); in GenericFind() 49 size_t found_pos = absl::string_view::npos; in GenericFind() 50 absl::string_view found(text.data() + text.size(), in GenericFind() 53 if (found_pos != absl::string_view::npos) { in GenericFind() 54 found = absl::string_view(text.data() + found_pos, in GenericFind() 63 size_t Find(absl::string_view text, absl::string_view delimiter, size_t pos) { in Find() 66 size_t Length(absl::string_view delimiter) { return delimiter.length(); } in Length() 72 size_t Find(absl::string_view text, absl::string_view delimiter, size_t pos) { in Find() [all …]
|
D | string_view.h | 52 using string_view = std::string_view; variable 166 class string_view { 184 constexpr string_view() noexcept : ptr_(nullptr), length_(0) {} in string_view() function 189 string_view( // NOLINT(runtime/explicit) in string_view() function 194 : string_view(str.data(), str.size()) {} in string_view() 199 constexpr string_view(const char* str) // NOLINT(runtime/explicit) in string_view() function 204 constexpr string_view(const char* data, size_type len) in string_view() function 359 ABSL_INTERNAL_STRING_VIEW_CXX14_CONSTEXPR void swap(string_view& s) noexcept { in swap() 396 constexpr string_view substr(size_type pos = 0, size_type n = npos) const { 400 string_view()) [all …]
|
/external/icing/icing/absl_ports/ |
D | str_cat.h | 31 char* Append(char* out, std::string_view s); 44 std::string StrCat(std::string_view a, std::string_view b); 45 std::string StrCat(std::string_view a, std::string_view b, std::string_view c); 46 std::string StrCat(std::string_view a, std::string_view b, std::string_view c, 47 std::string_view d); 49 std::string StrCatPieces(std::vector<std::string_view> pieces); 53 return StrCatPieces({static_cast<const std::string_view&>(args)...}); in StrCat() 63 void StrAppend(std::string* dest, std::string_view a); 64 void StrAppend(std::string* dest, std::string_view a, std::string_view b); 65 void StrAppend(std::string* dest, std::string_view a, std::string_view b, [all …]
|
/external/tensorflow/tensorflow/core/profiler/utils/ |
D | tf_op_utils.h | 30 TF_CONST_INIT extern const absl::string_view kUnknownOp; 31 TF_CONST_INIT extern const absl::string_view kDatasetOp; 32 TF_CONST_INIT extern const absl::string_view kMemcpyHToDOp; 33 TF_CONST_INIT extern const absl::string_view kMemcpyDToHOp; 47 absl::string_view name; 48 absl::string_view type; 50 TfOp ParseTfOpFullname(absl::string_view tf_op_fullname); 53 std::vector<absl::string_view> ParseTfNameScopes(const TfOp& tf_op); 58 std::string TfOpEventName(absl::string_view tf_op_fullname); 61 std::string DatasetOpEventName(absl::string_view full_name); [all …]
|
/external/tensorflow/tensorflow/stream_executor/ |
D | kernel_spec.h | 79 explicit KernelLoaderSpec(absl::string_view kernelname); 104 OnDiskKernelLoaderSpec(absl::string_view filename, 105 absl::string_view kernelname); 116 CudaPtxOnDisk(absl::string_view filename, absl::string_view kernelname); 128 CudaCubinOnDisk(absl::string_view filename, absl::string_view kernelname); 146 typedef std::tuple<int, int, absl::string_view> PtxSpec; 156 CudaPtxInMemory(absl::string_view ptx, absl::string_view kernelname, 163 absl::string_view kernel_name, bool ptx_compressed = false); 221 OpenCLTextOnDisk(absl::string_view filename, absl::string_view kernelname); 233 OpenCLBinaryOnDisk(absl::string_view filename, absl::string_view kernelname); [all …]
|