Home
last modified time | relevance | path

Searched full:strings (Results 1 – 25 of 9784) sorted by relevance

12345678910>>...392

/external/guava/android/guava-tests/test/com/google/common/base/
DStringsTest.java27 * Unit test for {@link Strings}.
34 assertEquals("", Strings.nullToEmpty(null)); in testNullToEmpty()
35 assertEquals("", Strings.nullToEmpty("")); in testNullToEmpty()
36 assertEquals("a", Strings.nullToEmpty("a")); in testNullToEmpty()
40 assertNull(Strings.emptyToNull(null)); in testEmptyToNull()
41 assertNull(Strings.emptyToNull("")); in testEmptyToNull()
42 assertEquals("a", Strings.emptyToNull("a")); in testEmptyToNull()
46 assertTrue(Strings.isNullOrEmpty(null)); in testIsNullOrEmpty()
47 assertTrue(Strings.isNullOrEmpty("")); in testIsNullOrEmpty()
48 assertFalse(Strings.isNullOrEmpty("a")); in testIsNullOrEmpty()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DStringsTest.java27 * Unit test for {@link Strings}.
34 assertEquals("", Strings.nullToEmpty(null)); in testNullToEmpty()
35 assertEquals("", Strings.nullToEmpty("")); in testNullToEmpty()
36 assertEquals("a", Strings.nullToEmpty("a")); in testNullToEmpty()
40 assertNull(Strings.emptyToNull(null)); in testEmptyToNull()
41 assertNull(Strings.emptyToNull("")); in testEmptyToNull()
42 assertEquals("a", Strings.emptyToNull("a")); in testEmptyToNull()
46 assertTrue(Strings.isNullOrEmpty(null)); in testIsNullOrEmpty()
47 assertTrue(Strings.isNullOrEmpty("")); in testIsNullOrEmpty()
48 assertFalse(Strings.isNullOrEmpty("a")); in testIsNullOrEmpty()
[all …]
/external/libcups/locale/
Dcups.pot6744 #: locale/ipp-strings.c:2
6749 #: locale/ipp-strings.c:4
6754 #: locale/ipp-strings.c:6
6759 #: locale/ipp-strings.c:8
6764 #: locale/ipp-strings.c:10
6769 #: locale/ipp-strings.c:12
6774 #: locale/ipp-strings.c:14
6779 #: locale/ipp-strings.c:16
6784 #: locale/ipp-strings.c:18
6789 #: locale/ipp-strings.c:20
[all …]
/external/angle/third_party/abseil-cpp/CMake/
DAbseilDll.cmake192 "strings/ascii.cc"
193 "strings/ascii.h"
194 "strings/charconv.cc"
195 "strings/charconv.h"
196 "strings/cord.cc"
197 "strings/cord.h"
198 "strings/escaping.cc"
199 "strings/escaping.h"
200 "strings/internal/charconv_bigint.cc"
201 "strings/internal/charconv_bigint.h"
[all …]
/external/llvm-project/llvm/lib/Support/
DARMAttributeParser.cpp83 static const char *strings[] = { in CPU_arch() local
90 return parseStringAttribute("CPU_arch", tag, makeArrayRef(strings)); in CPU_arch()
111 static const char *strings[] = {"Not Permitted", "Permitted"}; in ARM_ISA_use() local
112 return parseStringAttribute("ARM_ISA_use", tag, makeArrayRef(strings)); in ARM_ISA_use()
116 static const char *strings[] = {"Not Permitted", "Thumb-1", "Thumb-2", "Permitted"}; in THUMB_ISA_use() local
117 return parseStringAttribute("THUMB_ISA_use", tag, makeArrayRef(strings)); in THUMB_ISA_use()
121 static const char *strings[] = { in FP_arch() local
124 return parseStringAttribute("FP_arch", tag, makeArrayRef(strings)); in FP_arch()
128 static const char *strings[] = {"Not Permitted", "WMMXv1", "WMMXv2"}; in WMMX_arch() local
129 return parseStringAttribute("WMMX_arch", tag, makeArrayRef(strings)); in WMMX_arch()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DARMAttributeParser.cpp133 static const char *const Strings[] = { in CPU_arch() local
143 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in CPU_arch()
166 static const char *const Strings[] = { "Not Permitted", "Permitted" }; in ARM_ISA_use() local
170 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ARM_ISA_use()
176 static const char *const Strings[] = { "Not Permitted", "Thumb-1", "Thumb-2" }; in THUMB_ISA_use() local
180 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in THUMB_ISA_use()
186 static const char *const Strings[] = { in FP_arch() local
193 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in FP_arch()
199 static const char *const Strings[] = { "Not Permitted", "WMMXv1", "WMMXv2" }; in WMMX_arch() local
203 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in WMMX_arch()
[all …]
/external/openscreen/third_party/abseil/src/CMake/
DAbseilDll.cmake185 "strings/ascii.cc"
186 "strings/ascii.h"
187 "strings/charconv.cc"
188 "strings/charconv.h"
189 "strings/cord.cc"
190 "strings/cord.h"
191 "strings/escaping.cc"
192 "strings/escaping.h"
193 "strings/internal/cord_internal.h"
194 "strings/internal/charconv_bigint.cc"
[all …]
/external/llvm/tools/llvm-readobj/
DARMAttributeParser.cpp122 static const char *const Strings[] = { in CPU_arch() local
130 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in CPU_arch()
153 static const char *const Strings[] = { "Not Permitted", "Permitted" }; in ARM_ISA_use() local
157 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in ARM_ISA_use()
163 static const char *const Strings[] = { "Not Permitted", "Thumb-1", "Thumb-2" }; in THUMB_ISA_use() local
167 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in THUMB_ISA_use()
173 static const char *const Strings[] = { in FP_arch() local
180 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in FP_arch()
186 static const char *const Strings[] = { "Not Permitted", "WMMXv1", "WMMXv2" }; in WMMX_arch() local
190 (Value < array_lengthof(Strings)) ? Strings[Value] : nullptr; in WMMX_arch()
[all …]
/external/webrtc/third_party/abseil-cpp/CMake/
DAbseilDll.cmake179 "strings/ascii.cc"
180 "strings/ascii.h"
181 "strings/charconv.cc"
182 "strings/charconv.h"
183 "strings/cord.cc"
184 "strings/cord.h"
185 "strings/escaping.cc"
186 "strings/escaping.h"
187 "strings/internal/cord_internal.h"
188 "strings/internal/charconv_bigint.cc"
[all …]
/external/abseil-cpp/CMake/
DAbseilDll.cmake179 "strings/ascii.cc"
180 "strings/ascii.h"
181 "strings/charconv.cc"
182 "strings/charconv.h"
183 "strings/cord.cc"
184 "strings/cord.h"
185 "strings/escaping.cc"
186 "strings/escaping.h"
187 "strings/internal/cord_internal.h"
188 "strings/internal/charconv_bigint.cc"
[all …]
/external/libtextclassifier/abseil-cpp/CMake/
DAbseilDll.cmake185 "strings/ascii.cc"
186 "strings/ascii.h"
187 "strings/charconv.cc"
188 "strings/charconv.h"
189 "strings/cord.cc"
190 "strings/cord.h"
191 "strings/escaping.cc"
192 "strings/escaping.h"
193 "strings/internal/cord_internal.h"
194 "strings/internal/charconv_bigint.cc"
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/CMake/
DAbseilDll.cmake185 "strings/ascii.cc"
186 "strings/ascii.h"
187 "strings/charconv.cc"
188 "strings/charconv.h"
189 "strings/cord.cc"
190 "strings/cord.h"
191 "strings/escaping.cc"
192 "strings/escaping.h"
193 "strings/internal/cord_internal.h"
194 "strings/internal/charconv_bigint.cc"
[all …]
/external/openscreen/third_party/abseil/
DBUILD.gn59 "src/absl/strings/ascii.cc",
60 "src/absl/strings/ascii.h",
61 "src/absl/strings/charconv.cc",
62 "src/absl/strings/charconv.h",
63 "src/absl/strings/escaping.cc",
64 "src/absl/strings/escaping.h",
65 "src/absl/strings/internal/charconv_bigint.cc",
66 "src/absl/strings/internal/charconv_bigint.h",
67 "src/absl/strings/internal/charconv_parse.cc",
68 "src/absl/strings/internal/charconv_parse.h",
[all …]
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen.cc22 #include "absl/strings/escaping.h"
33 #include "tensorflow/core/lib/strings/str_util.h"
34 #include "tensorflow/core/lib/strings/strcat.h"
35 #include "tensorflow/core/lib/strings/stringprintf.h"
77 const string var = strings::StrCat("_attr_", attr_name); in AttrVarName()
85 strings::StrAppend(result, indentation, in AddInferredAttr()
91 if (l.size() == 1) return strings::StrCat("(", l.front(), ",)"); in VectorToTuple()
95 strings::StrAppend(&ret, ", "); in VectorToTuple()
97 strings::StrAppend(&ret, l[i]); in VectorToTuple()
99 strings::StrAppend(&ret, ")"); in VectorToTuple()
[all …]
Dpython_op_gen_internal.cc25 #include "absl/strings/escaping.h"
26 #include "absl/strings/str_replace.h"
38 #include "tensorflow/core/lib/strings/str_util.h"
39 #include "tensorflow/core/lib/strings/strcat.h"
40 #include "tensorflow/core/lib/strings/stringprintf.h"
114 if (IsPythonReserved(result)) return strings::StrCat(result, "_"); in AvoidPythonReserved()
130 result = strings::StrCat(Spaces(initial), line, "\n"); in Indent()
134 strings::StrAppend(&result, "\n"); in Indent()
136 strings::StrAppend(&result, Spaces(rest), line, "\n"); in Indent()
149 strings::StrAppend(dest, "\n", append); in AppendWithinWidth()
[all …]
/external/tensorflow/tensorflow/python/util/protobuf/
Dcompare_test.py115 self.assertNotEquals('small < strings: "a" >', '')
116 self.assertNotEquals('small < strings: "a" >', 'small <>')
117 self.assertEqual('small < strings: "a" >', 'small < strings: "a" >')
118 self.assertNotEquals('small < strings: "b" >', 'small < strings: "a" >')
119 self.assertNotEquals('small < strings: "a" strings: "b" >',
120 'small < strings: "a" >')
123 self.assertNotEquals('string_: "a"', 'small < strings: "b" >')
124 self.assertNotEquals('string_: "a"', 'small < strings: "b" strings: "c" >')
126 self.assertNotEquals('string_: "a" small <>', 'small < strings: "b" >')
128 self.assertNotEquals('string_: "a" small < strings: "a" >',
[all …]
/external/tensorflow/tensorflow/cc/framework/
Dcc_op_gen.cc22 #include "absl/strings/escaping.h"
33 #include "tensorflow/core/lib/strings/str_util.h"
34 #include "tensorflow/core/lib/strings/strcat.h"
126 strings::StrAppend(&ret, indent, "///\n"); in MakeComment()
128 strings::StrAppend(&ret, indent, "/// ", in MakeComment()
137 return strings::StrCat("\"", absl::CEscape(str), "\""); in PrintString()
147 if (d > 0) strings::StrAppend(&ret, ", "); in PrintTensorShape()
148 strings::StrAppend(&ret, shape.dim_size(d)); in PrintTensorShape()
150 strings::StrAppend(&ret, "}"); in PrintTensorShape()
158 if (i > 0) strings::StrAppend(&ret, ", "); in PrintArray()
[all …]
/external/tensorflow/tensorflow/core/platform/
Dstrcat_test.cc30 namespace strings { namespace
48 answer = tensorflow::strings::StrCat(s, us); in TEST()
50 answer = tensorflow::strings::StrCat(i, ui); in TEST()
52 answer = tensorflow::strings::StrCat(l, ul); in TEST()
54 answer = tensorflow::strings::StrCat(ll, ull); in TEST()
56 answer = tensorflow::strings::StrCat(ptrdiff, size); in TEST()
58 answer = tensorflow::strings::StrCat(ssize, intptr); in TEST()
60 answer = tensorflow::strings::StrCat(uintptr, 0); in TEST()
71 answer = tensorflow::strings::StrCat(s, f); in TEST()
73 answer = tensorflow::strings::StrCat(s, d); in TEST()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Ddtfmtsym.h92 * based on hard-coded strings.
121 * based on hard-coded strings.
124 * Will be used to access the correct set of strings.
139 * Will be used to access the correct set of strings.
189 * Gets abbreviated era strings. For example: "AD" and "BC".
192 * @return the era strings.
198 * Sets abbreviated era strings. For example: "AD" and "BC".
199 * @param eras Array of era strings (DateFormatSymbols retains ownership.)
206 * Gets era name strings. For example: "Anno Domini" and "Before Christ".
209 * @return the era name strings.
[all …]
/external/icu/libicu/cts_headers/unicode/
Ddtfmtsym.h92 * based on hard-coded strings.
121 * based on hard-coded strings.
124 * Will be used to access the correct set of strings.
139 * Will be used to access the correct set of strings.
189 * Gets abbreviated era strings. For example: "AD" and "BC".
192 * @return the era strings.
198 * Sets abbreviated era strings. For example: "AD" and "BC".
199 * @param eras Array of era strings (DateFormatSymbols retains ownership.)
206 * Gets era name strings. For example: "Anno Domini" and "Before Christ".
209 * @return the era name strings.
[all …]
/external/tensorflow/tensorflow/core/framework/
Dcollective.cc17 #include "absl/strings/escaping.h"
21 #include "tensorflow/core/lib/strings/str_util.h"
22 #include "tensorflow/core/lib/strings/strcat.h"
52 return strings::StrCat("CollGroupRuntimeDetails {communicator_key=", in ToString()
57 string v = strings::StrCat( in ToString()
62 strings::StrAppend(&v, d, ","); in ToString()
64 strings::StrAppend(&v, "} task_names={"); in ToString()
66 strings::StrAppend(&v, n, ", "); in ToString()
68 strings::StrAppend(&v, "} num_devices_per_task={"); in ToString()
70 strings::StrAppend(&v, dpt.first, ": ", dpt.second, ", "); in ToString()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/
DSetAsSequenceTest.java87 Set<String> strings = (Set<String>) yaml.load(doc); in testLoadRootSet() local
88 // System.out.println(strings); in testLoadRootSet()
89 assertEquals(3, strings.size()); in testLoadRootSet()
90 assertEquals(HashSet.class, strings.getClass()); in testLoadRootSet()
91 assertTrue(strings.contains("aaa")); in testLoadRootSet()
92 assertTrue(strings.contains("bbb")); in testLoadRootSet()
93 assertTrue(strings.contains("ccc")); in testLoadRootSet()
100 Set<String> strings = (Set<String>) yaml.load(doc); in testLoadRootSet2() local
101 // System.out.println(strings); in testLoadRootSet2()
102 assertEquals(3, strings.size()); in testLoadRootSet2()
[all …]
/external/icu/icu4c/source/common/
Dbytestriebuilder.cpp40 void setTo(StringPiece s, int32_t val, CharString &strings, UErrorCode &errorCode);
42 StringPiece getString(const CharString &strings) const { in getString()
46 length=(uint8_t)strings[offset++]; in getString()
49 length=((int32_t)(uint8_t)strings[offset]<<8)|(uint8_t)strings[offset+1]; in getString()
52 return StringPiece(strings.data()+offset, length); in getString()
54 int32_t getStringLength(const CharString &strings) const { in getStringLength()
57 return (uint8_t)strings[offset]; in getStringLength()
60 return ((int32_t)(uint8_t)strings[offset]<<8)|(uint8_t)strings[offset+1]; in getStringLength()
64 char charAt(int32_t index, const CharString &strings) const { return data(strings)[index]; } in charAt()
68 int32_t compareStringTo(const BytesTrieElement &o, const CharString &strings) const;
[all …]
/external/toybox/tests/
Dstrings.test7 testing "stdin" "strings" "foobar\n" "" "foobar\n"
8 testing "file" "strings input" "foobar\n" "foobar\n" ""
9 testing "string to the end" "strings input" "foobar\n" "foobar" ""
10 testing "short strings" "strings input" "" "foo\nbar\n" ""
11 testing "-n6" "strings -n6 input" "foobar\n" "foobar\nbaz\n" ""
12 testing "string and nulls" "strings input" "foobar\nbazfoo\n" \
14 testing "-f" "strings -f input" "input: foobar\n" "foobar\n" ""
15 testing "-o" "strings -o input | sed 's/^ *//'" "6 foobar\n" \
17 testing "-o, multiple strings" "strings -n3 -o input | sed 's/^ *//'" \
19 testing "-fo" "strings -fo input | sed 's/: */: /'" "input: 6 foobar\n" \
[all …]
/external/rust/crates/grpcio-sys/grpc/src/abseil-cpp/
Dpreprocessed_builds.yaml228 - absl/strings:cord
229 - absl/strings:strings
304 - absl/strings:cord
305 - absl/strings:strings
380 - absl/strings:strings
544 - absl/strings:strings
560 - absl/strings:strings
582 - absl/strings:strings
598 - absl/strings:strings
617 - absl/strings:strings
[all …]

12345678910>>...392