Home
last modified time | relevance | path

Searched refs:asString (Results 1 – 25 of 190) sorted by relevance

12345678

/external/clang/unittests/AST/
DASTImporterTest.cpp114 asString("const char [4]"))))))))); in TEST()
123 asString("const wchar_t [4]"))))))))); in TEST()
132 asString("const char [7]"))))))))); in TEST()
169 hasType(asString("double"))))))))); in TEST()
178 hasType(asString("float"))))))))); in TEST()
194 hasType(asString("struct s")), in TEST()
196 hasType(asString("struct s")), in TEST()
198 equals(42), hasType(asString("int")))), in TEST()
200 equals(0), hasType(asString("long")))), in TEST()
203 hasType(asString("unsigned int")))) in TEST()
[all …]
/external/bcc/src/cc/frontends/p4/compiler/
DebpfAction.py168 serializer.appendFormat("u32 {0} = {1};", key, index.asString)
213 dst.asString,
214 src.asString)
219 dst.caller, dst.asString)
223 src.caller, src.asString)
225 dst.asString,
226 src.asString,
246 args[0].asString,
247 args[1].asString,
249 args[2].asString)
[all …]
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DJoin.java13 String asString = obj == null ? null : obj.toString(); in join() local
14 if (obj != null && asString.length() > 0) { in join()
26 String asString = obj == null ? null : obj.toString(); in join() local
27 if (asString != null && asString.length() > 0) { in join()
28 sb.append(del).append(asString); in join()
/external/opencensus-java/contrib/http_util/src/test/java/io/opencensus/contrib/http/util/
DHttpViewConstantsTest.java68 assertThat(HttpViewConstants.HTTP_CLIENT_COMPLETED_COUNT_VIEW.getName().asString()) in constants()
70 assertThat(HttpViewConstants.HTTP_CLIENT_SENT_BYTES_VIEW.getName().asString()) in constants()
72 assertThat(HttpViewConstants.HTTP_CLIENT_RECEIVED_BYTES_VIEW.getName().asString()) in constants()
74 assertThat(HttpViewConstants.HTTP_CLIENT_ROUNDTRIP_LATENCY_VIEW.getName().asString()) in constants()
76 assertThat(HttpViewConstants.HTTP_SERVER_COMPLETED_COUNT_VIEW.getName().asString()) in constants()
78 assertThat(HttpViewConstants.HTTP_SERVER_RECEIVED_BYTES_VIEW.getName().asString()) in constants()
80 assertThat(HttpViewConstants.HTTP_SERVER_SENT_BYTES_VIEW.getName().asString()) in constants()
82 assertThat(HttpViewConstants.HTTP_SERVER_LATENCY_VIEW.getName().asString()) in constants()
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.cpp269 result.emplace_back(cap.asString()); in jsonToSpirv()
282 result.emplace_back(ext.asString()); in jsonToSpirv()
291 const std::string name = inst["opname"].asString(); in jsonToSpirv()
293 std::string version = inst["version"].asString(); in jsonToSpirv()
299 const std::string kind = operand["kind"].asString(); in jsonToSpirv()
300 const std::string quantifier = operand.get("quantifier", "").asString(); in jsonToSpirv()
301 const std::string doc = operand.get("name", "").asString(); in jsonToSpirv()
325 const unsigned int bit = NumberStringToBit(enumerant["value"].asString()); in jsonToSpirv()
341 std::string version = enumerant["version"].asString(); in jsonToSpirv()
348 const std::string kind = param["kind"].asString(); in jsonToSpirv()
[all …]
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.cpp269 result.emplace_back(cap.asString()); in jsonToSpirv()
282 result.emplace_back(ext.asString()); in jsonToSpirv()
291 const std::string name = inst["opname"].asString(); in jsonToSpirv()
293 std::string version = inst["version"].asString(); in jsonToSpirv()
299 const std::string kind = operand["kind"].asString(); in jsonToSpirv()
300 const std::string quantifier = operand.get("quantifier", "").asString(); in jsonToSpirv()
301 const std::string doc = operand.get("name", "").asString(); in jsonToSpirv()
325 const unsigned int bit = NumberStringToBit(enumerant["value"].asString()); in jsonToSpirv()
341 std::string version = enumerant["version"].asString(); in jsonToSpirv()
348 const std::string kind = param["kind"].asString(); in jsonToSpirv()
[all …]
/external/shaderc/spirv-headers/tools/buildHeaders/
DjsonToSpirv.cpp269 result.emplace_back(cap.asString()); in jsonToSpirv()
282 result.emplace_back(ext.asString()); in jsonToSpirv()
291 const std::string name = inst["opname"].asString(); in jsonToSpirv()
293 std::string version = inst["version"].asString(); in jsonToSpirv()
299 const std::string kind = operand["kind"].asString(); in jsonToSpirv()
300 const std::string quantifier = operand.get("quantifier", "").asString(); in jsonToSpirv()
301 const std::string doc = operand.get("name", "").asString(); in jsonToSpirv()
325 const unsigned int bit = NumberStringToBit(enumerant["value"].asString()); in jsonToSpirv()
341 std::string version = enumerant["version"].asString(); in jsonToSpirv()
348 const std::string kind = param["kind"].asString(); in jsonToSpirv()
[all …]
/external/tensorflow/tensorflow/contrib/cloud/kernels/
Dbigquery_table_accessor.cc196 next_page_token_ = root["pageToken"].asString(); in ReadRow()
278 strings::safe_strto64(root["numRows"].asString().c_str(), &total_num_rows_); in ReadSchema()
287 if ((*columns_it)["mode"].asString() == "REPEATED") { in ExtractColumnType()
293 column_name_prefix, (*columns_it)["name"].asString().c_str()); in ExtractColumnType()
295 ParseColumnType((*columns_it)["type"].asString().c_str(), &type)); in ExtractColumnType()
325 feature.mutable_bytes_list()->add_value(column_value.asString()); in AppendValueToExample()
329 column_value.asString() == "false" ? 0 : 1); in AppendValueToExample()
333 if (!strings::safe_strto64(column_value.asString().c_str(), in AppendValueToExample()
336 column_value.asString().c_str()); in AppendValueToExample()
343 if (!strings::safe_strtod(column_value.asString().c_str(), in AppendValueToExample()
[all …]
/external/turbine/java/com/google/turbine/model/
DConst.java82 public StringValue asString() { in asString() method in Const.Value
127 public StringValue asString() { in asString() method in Const.BooleanValue
201 public StringValue asString() { in asString() method in Const.IntValue
274 public StringValue asString() { in asString() method in Const.LongValue
347 public StringValue asString() { in asString() method in Const.CharValue
420 public StringValue asString() { in asString() method in Const.FloatValue
493 public StringValue asString() { in asString() method in Const.DoubleValue
531 public StringValue asString() { in asString() method in Const.StringValue
604 public StringValue asString() { in asString() method in Const.ShortValue
673 public StringValue asString() { in asString() method in Const.ByteValue
/external/tensorflow/tensorflow/core/platform/cloud/
Doauth_client_test.cc187 EXPECT_EQ("RS256", header_json.get("alg", Json::Value::null).asString()); in TEST()
188 EXPECT_EQ("JWT", header_json.get("typ", Json::Value::null).asString()); in TEST()
190 header_json.get("kid", Json::Value::null).asString()); in TEST()
194 claim_json.get("iss", Json::Value::null).asString()); in TEST()
196 claim_json.get("scope", Json::Value::null).asString()); in TEST()
198 claim_json.get("aud", Json::Value::null).asString()); in TEST()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp98 qualType(asString("int ***"), forEachDescendant(pointerType().bind("x"))), in TEST()
285 EXPECT_TRUE(matches("typedef int X;", typedefDecl(hasType(asString("int"))))); in TEST()
287 typedefDecl(hasType(asString("const int"))))); in TEST()
289 typedefDecl(hasType(asString("int"))))); in TEST()
291 typedefDecl(hasType(asString("foo")), hasName("bar")))); in TEST()
295 EXPECT_TRUE(matches("using X = int;", typedefNameDecl(hasType(asString("int"))))); in TEST()
297 typedefNameDecl(hasType(asString("const int"))))); in TEST()
299 typedefNameDecl(hasType(asString("int"))))); in TEST()
301 typedefNameDecl(hasType(asString("foo")), hasName("bar")))); in TEST()
306 varDecl(hasName("x"), hasTypeLoc(loc(asString("int")))))); in TEST()
[all …]
/external/jsoncpp/src/test_lib_json/
Dmain.cpp267 JSONTEST_ASSERT_STRING_EQUAL("", null_.asString()); in JSONTEST_FIXTURE()
295 JSONTEST_ASSERT_STRING_EQUAL("a", string1_.asString()); in JSONTEST_FIXTURE()
390 JSONTEST_ASSERT_STRING_EQUAL("0", val.asString()); in JSONTEST_FIXTURE()
418 JSONTEST_ASSERT_STRING_EQUAL("0", val.asString()); in JSONTEST_FIXTURE()
446 JSONTEST_ASSERT_STRING_EQUAL("0", val.asString()); in JSONTEST_FIXTURE()
474 JSONTEST_ASSERT_STRING_EQUAL("0", val.asString()); in JSONTEST_FIXTURE()
502 JSONTEST_ASSERT_STRING_EQUAL("0", val.asString()); in JSONTEST_FIXTURE()
530 JSONTEST_ASSERT_STRING_EQUAL("0", val.asString()); in JSONTEST_FIXTURE()
557 JSONTEST_ASSERT_STRING_EQUAL("1048576", val.asString()); in JSONTEST_FIXTURE()
585 JSONTEST_ASSERT_STRING_EQUAL("1048576", val.asString()); in JSONTEST_FIXTURE()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DCensusModulesTest.java283 assertEquals(method.getFullMethodName(), methodTag.asString()); in testClientInterceptors()
286 assertEquals("extra value", extraTag.asString()); in testClientInterceptors()
317 assertEquals(method.getFullMethodName(), methodTag.asString()); in testClientInterceptors()
319 assertEquals(Status.Code.PERMISSION_DENIED.toString(), statusTag.asString()); in testClientInterceptors()
322 assertEquals("extra value", extraTag.asString()); in testClientInterceptors()
369 assertEquals(method.getFullMethodName(), methodTag.asString()); in subtestClientBasicStatsDefaultContext()
403 assertEquals(method.getFullMethodName(), methodTag.asString()); in subtestClientBasicStatsDefaultContext()
405 assertEquals(Status.Code.OK.toString(), statusTag.asString()); in subtestClientBasicStatsDefaultContext()
497 assertEquals(method.getFullMethodName(), methodTag.asString()); in clientStreamNeverCreatedStillRecordStats()
505 assertEquals(method.getFullMethodName(), methodTag.asString()); in clientStreamNeverCreatedStillRecordStats()
[all …]
/external/archive-patcher/explainer/src/test/java/com/google/archivepatcher/explainer/
DPatchExplanationTest.java133 String asString = buffer.toString(); in testToJson() local
134 Assert.assertTrue(asString.startsWith("{")); in testToJson()
135 Assert.assertFalse(asString.isEmpty()); in testToJson()
137 Assert.assertTrue(asString.contains(new String(explanation.getPath().getData(), "UTF-8"))); in testToJson()
139 Assert.assertTrue(asString.endsWith("}")); in testToJson()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DBaseCompiledTemplate.java152 public static String asString(String value) { in asString() method in BaseCompiledTemplate
156 public static String asString(int value) { in asString() method in BaseCompiledTemplate
160 public static String asString(boolean value) { in asString() method in BaseCompiledTemplate
164 public static String asString(Value value) { in asString() method in BaseCompiledTemplate
165 return value.asString(); in asString()
168 public static String asString(Data data) { in asString() method in BaseCompiledTemplate
169 return TypeConverter.asString(data); in asString()
/external/parameter-framework/upstream/utility/test/
Dutility.cpp89 REQUIRE(asString(test.input, test.separator) == test.result);
92 REQUIRE(asString(test.input) == test.resultNoSep);
123 REQUIRE(asString(test.input, test.keyValueSep, test.itemSep) == test.result);
124 REQUIRE(asString(test.input, test.keyValueSep) == test.resultNoKeyValueSep);
125 REQUIRE(asString(test.input) == test.resultNoSep);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DProtoIdItem.java72 String protoString = asString(dexFile, protoIndex);
81 public static String asString(@Nonnull DexBackedDexFile dexFile, int protoIndex) {
88 sb.append(TypeListItem.asString(dexFile, parametersOffset));
107 ret[i] = asString(dexFile, i);
DMethodIdItem.java70 public static String asString(@Nonnull DexBackedDexFile dexFile, int methodIndex) {
76 String protoString = ProtoIdItem.asString(dexFile, protoIndex);
87 String methodString = asString(dexFile, methodIndex);
104 ret[i] = asString(dexFile, i);
DFieldIdItem.java70 public static String asString(@Nonnull DexBackedDexFile dexFile, int fieldIndex) {
87 String fieldString = asString(dexFile, fieldIndex);
104 ret[i] = asString(dexFile, i);
/external/skqp/tools/bookmaker/
DfiddleParser.cpp49 if (iter->asString().length()) { in parseFiddles()
62 if (example->fHash.length() && example->fHash != iter->asString()) { in parseFiddles()
65 example->fHash = iter->asString(); in parseFiddles()
72 textString = iter->asString(); in parseFiddles()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DConverter.java83 return typedResource.asString(); in asCharSequence()
105 return typedResource.asString(); in asCharSequence()
118 return typedResource.asString().trim(); in asCharSequence()
123 return convertInt(typedResource.asString().trim()); in asInt()
152 return ResourceHelper.getColor(typedResource.asString().trim()); in asInt()
194 return convertInt(typedResource.asString().trim()); in asInt()
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DTemplateInterpreter.java123 context.writeUnescaped(value.asString()); in caseAUvarCommand()
150 templateLoader.createTemp(stackTraceDescription, value.asString(), context in evaluateVariable()
211 variable.setValue(value.asString()); in caseASetCommand()
260 String escapeStrategy = value.asString(); in caseAEscapeCommand()
277 String escapeStrategy = value.asString(); in caseAAutoescapeCommand()
405 context.writeUnescaped(value.asString()); in writeVariable()
407 context.writeEscaped(value.asString()); in writeVariable()
413 context.writeUnescaped(value.asString()); in autoEscapeAndWriteVariable()
415 context.writeEscaped(value.asString()); in autoEscapeAndWriteVariable()
568 String templateName = path.asString(); in include()
[all …]
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/type/
DTypeTest.java20 public void asString() { in asString() method in TypeTest
45 assertEquals("List<long>", decl.getVariable(0).getType().asString()); in primitiveTypeArgumentLenientValidator()
49 return parseVariableDeclarationExpr(s).getVariable(0).getType().asString(); in typeAsString()
/external/jsilver/src/com/google/clearsilver/jsilver/values/
DValue.java96 public abstract String asString(); in asString() method in Value
233 && (asString().equals(otherValue.asString()) || (isEmpty() && otherValue.isEmpty())); in equals()
243 return asString(); in toString()
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/
DFindFunction.java36 return literalConstant(fullStringValue.asString().indexOf(subStringValue.asString()), in execute()

12345678