Home
last modified time | relevance | path

Searched refs:StringLength (Results 1 – 25 of 28) sorted by relevance

12

/external/pigweed/pw_tokenizer/
Dhash_test.cc63 constexpr uint32_t StringLength(const char (&)[kSizeWithNull]) { in StringLength() function
78 EXPECT_EQ(PwTokenizer65599FixedLengthHash("", 4), StringLength("")); in TEST()
80 StringLength("1") + k2 * '1'); in TEST()
82 StringLength("12") + k2 * '1' + k3 * '2'); in TEST()
84 StringLength("123") + k2 * '1' + k3 * '2' + k4 * '3'); in TEST()
86 StringLength("1234") + k2 * '1' + k3 * '2' + k4 * '3' + k5 * '4'); in TEST()
88 StringLength("12345") + k2 * '1' + k3 * '2' + k4 * '3' + k5 * '4'); in TEST()
90 StringLength("123456") + k2 * '1' + k3 * '2' + k4 * '3' + k5 * '4'); in TEST()
/external/guava/android/guava-tests/test/com/google/common/collect/
DTreeMultimapExplicitTest.java44 private enum StringLength implements Comparator<String> { enum in TreeMultimapExplicitTest
68 return TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR); in create()
74 TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR); in createPopulate()
88 TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR); in testMultimapCreateFromTreeMultimap()
117 assertEquals(StringLength.COMPARATOR, multimap.keyComparator()); in testGetComparator()
180 TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR); in testMultimapComparators()
183 assertEquals(StringLength.COMPARATOR, copy.keyComparator()); in testMultimapComparators()
193 assertEquals(StringLength.COMPARATOR, keySet.comparator()); in testSortedKeySet()
DOrderingTest.java357 StringLength;
369 Ordering.natural().onResultOf(StringLengthFunction.StringLength);
376 comparator, Ordering.natural().onResultOf(StringLengthFunction.StringLength))
385 DECREASING_INTEGER.onResultOf(StringLengthFunction.StringLength);
392 comparator, DECREASING_INTEGER.onResultOf(StringLengthFunction.StringLength))
/external/guava/guava-tests/test/com/google/common/collect/
DTreeMultimapExplicitTest.java44 private enum StringLength implements Comparator<String> { enum in TreeMultimapExplicitTest
68 return TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR); in create()
74 TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR); in createPopulate()
88 TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR); in testMultimapCreateFromTreeMultimap()
117 assertEquals(StringLength.COMPARATOR, multimap.keyComparator()); in testGetComparator()
180 TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR); in testMultimapComparators()
183 assertEquals(StringLength.COMPARATOR, copy.keyComparator()); in testMultimapComparators()
193 assertEquals(StringLength.COMPARATOR, keySet.comparator()); in testSortedKeySet()
DOrderingTest.java357 StringLength;
369 Ordering.natural().onResultOf(StringLengthFunction.StringLength);
376 comparator, Ordering.natural().onResultOf(StringLengthFunction.StringLength))
385 DECREASING_INTEGER.onResultOf(StringLengthFunction.StringLength);
392 comparator, DECREASING_INTEGER.onResultOf(StringLengthFunction.StringLength))
/external/tensorflow/tensorflow/core/api_def/java_api/
Dapi_def_StringLength.pbtxt2 graph_op_name: "StringLength"
4 name: "strings.StringLength"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DStringLength.pbtxt2 name: "StringLength"
13 name: "StringLength"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DStringLength.pbtxt2 name: "StringLength"
13 name: "StringLength"
/external/pigweed/pw_unit_test/
Dframework_test.cc135 int StringLength() { return std::strlen(string_); } in StringLength() function in pw::__anonb8f06de10111::FixtureTest
143 EXPECT_EQ(StringLength(), 11); in TEST_F()
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_StringLength.pbtxt2 graph_op_name: "StringLength"
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_StringLength.pbtxt2 graph_op_name: "StringLength"
/external/clang/lib/CodeGen/
DCodeGenModule.cpp3057 bool &IsUTF16, unsigned &StringLength) { in GetConstantCFStringEntry() argument
3063 StringLength = NumBytes; in GetConstantCFStringEntry()
3079 StringLength = ToPtr - &ToBuf[0]; in GetConstantCFStringEntry()
3085 (StringLength + 1) * 2), in GetConstantCFStringEntry()
3091 const StringLiteral *Literal, unsigned &StringLength) { in GetConstantStringEntry() argument
3093 StringLength = String.size(); in GetConstantStringEntry()
3099 unsigned StringLength = 0; in GetAddrOfConstantCFString() local
3104 StringLength); in GetAddrOfConstantCFString()
3202 Fields[3] = llvm::ConstantInt::get(Ty, StringLength); in GetAddrOfConstantCFString()
3230 unsigned StringLength = 0; in GetAddrOfConstantString() local
[all …]
/external/llvm-project/llvm/lib/IR/
DLLVMContextImpl.h433 Metadata *StringLength;
439 MDNodeKeyImpl(unsigned Tag, MDString *Name, Metadata *StringLength,
442 : Tag(Tag), Name(Name), StringLength(StringLength),
447 StringLength(N->getRawStringLength()),
DDebugInfoMetadata.cpp552 MDString *Name, Metadata *StringLength, in getImpl() argument
558 DEFINE_GETIMPL_LOOKUP(DIStringType, (Tag, Name, StringLength, StringLengthExp, in getImpl()
560 Metadata *Ops[] = {nullptr, nullptr, Name, StringLength, StringLengthExp}; in getImpl()
/external/clang/lib/Lex/
DModuleMap.cpp986 unsigned StringLength; member
992 StringLength = 0; in clear()
1003 return StringRef(StringData, StringLength); in getString()
1113 Tok.StringLength = RI.size(); in consumeToken()
1192 Tok.StringLength = Length; in consumeToken()
/external/llvm-project/clang/lib/Lex/
DModuleMap.cpp1373 unsigned StringLength; member
1385 StringLength = 0; in clear()
1401 : StringRef(StringData, StringLength); in getString()
1518 Tok.StringLength = RI.size(); in consumeToken()
1598 Tok.StringLength = Length; in consumeToken()
/external/llvm-project/llvm/include/llvm/IR/
DDebugInfoMetadata.h845 StringRef Name, Metadata *StringLength,
850 StringLength, StrLenExp, SizeInBits, AlignInBits, Encoding,
854 MDString *Name, Metadata *StringLength,
871 (unsigned Tag, MDString *Name, Metadata *StringLength,
874 (Tag, Name, StringLength, StringLengthExp, SizeInBits,
877 (unsigned Tag, StringRef Name, Metadata *StringLength,
880 (Tag, Name, StringLength, StringLengthExp, SizeInBits,
/external/llvm-project/clang/lib/CodeGen/
DCodeGenModule.cpp4881 bool &IsUTF16, unsigned &StringLength) { in GetConstantCFStringEntry() argument
4887 StringLength = NumBytes; in GetConstantCFStringEntry()
4902 StringLength = ToPtr - &ToBuf[0]; in GetConstantCFStringEntry()
4908 (StringLength + 1) * 2), in GetConstantCFStringEntry()
4914 unsigned StringLength = 0; in GetAddrOfConstantCFString() local
4919 StringLength); in GetAddrOfConstantCFString()
5073 Fields.addInt(LengthTy, StringLength); in GetAddrOfConstantCFString()
DCGObjCGNU.cpp1050 uint32_t StringLength = ToPtr - &ToBuf[0]; in GenerateConstantString() local
1056 Fields.addInt(Int32Ty, StringLength); in GenerateConstantString()
1058 Fields.addInt(Int32Ty, StringLength * 2); in GenerateConstantString()
DCGObjCMac.cpp1949 const StringLiteral *Literal, unsigned &StringLength) { in GetConstantStringEntry() argument
1951 StringLength = String.size(); in GetConstantStringEntry()
1990 unsigned StringLength = 0; in GenerateConstantNSString() local
1992 GetConstantStringEntry(NSConstantStringMap, Literal, StringLength); in GenerateConstantNSString()
2032 Fields.addInt(CGM.IntTy, StringLength); in GenerateConstantNSString()
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dop_select_allowlist.md561 * `raw_ops.StringLength`
/external/llvm-project/clang/lib/AST/
DMicrosoftMangle.cpp3717 unsigned StringLength = getASTContext() in mangleStringLiteral() local
3721 unsigned StringByteLength = StringLength * SL->getCharByteWidth(); in mangleStringLiteral()
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/
Dfuse-tftext.mlir23 …%19 = "tf.StringLength"(%arg0) {device = "", unit = "BYTE"} : (tensor<1x!tf.string>) -> tensor<1xi…
1061 …%27 = "tf.StringLength"(%26) {device = "", unit = "BYTE"} : (tensor<?x!tf.string>) -> tensor<?xi32>
2188 …%20 = "tf.StringLength"(%19) {device = "", unit = "BYTE"} : (tensor<1x!tf.string>) -> tensor<1xi32>
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.raw_ops.pbtxt4716 name: "StringLength"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.raw_ops.pbtxt4716 name: "StringLength"

12