Home
last modified time | relevance | path

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

123456

/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/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
DJoin.java10 String asString = obj == null ? null : obj.toString(); in join() local
11 if (obj != null && asString.length() > 0) { in join()
23 String asString = obj == null ? null : obj.toString(); in join() local
24 if (asString != null && asString.length() > 0) { in join()
25 sb.append(del).append(asString); in join()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DResourceParserTest.java62 assertThat(value.asString()).isEqualTo(""); in shouldLoadIdResourcesDefinedByItemTag()
69 assertThat(value2.asString()).isEqualTo("string value"); in whenIdItemsHaveStringContent_shouldLoadIdResourcesDefinedByItemTag()
76 assertThat(value.asString()).isEqualTo("string example taken from gradle output directory"); in shouldLoadResourcesFromGradleOutputDirectories()
83 assertThat(value.asString()).isEqualTo("8dp"); in shouldLoadDimenResourcesFromGradleOutputDirectoriesDefinedByDimenTag()
90 assertThat(value.asString()).isEqualTo("3.14"); in shouldLoadDimenResourcesFromGradleOutputDirectoriesDefinedByItemTag()
97 assertThat(value.asString()).isEqualTo("3.14"); in shouldLoadStringResourcesFromGradleOutputDirectoriesDefinedByItemTag()
104 assertThat(value.asString()).isEqualTo("#00FF00FF"); in shouldLoadColorResourcesFromGradleOutputDirectoriesDefinedByColorTag()
111 assertThat(value.asString()).isEqualTo("1.0"); in shouldLoadColorResourcesFromGradleOutputDirectoriesDefinedByItemTag()
/external/turbine/java/com/google/turbine/model/
DConst.java68 public StringValue asString() { in asString() method in Const.Value
113 public StringValue asString() { in asString() method in Const.BooleanValue
177 public StringValue asString() { in asString() method in Const.IntValue
240 public StringValue asString() { in asString() method in Const.LongValue
303 public StringValue asString() { in asString() method in Const.CharValue
366 public StringValue asString() { in asString() method in Const.FloatValue
429 public StringValue asString() { in asString() method in Const.DoubleValue
457 public StringValue asString() { in asString() method in Const.StringValue
520 public StringValue asString() { in asString() method in Const.ShortValue
579 public StringValue asString() { in asString() method in Const.ByteValue
/external/xmlrpcpp/src/
DXmlRpcValue.cpp57 case TypeString: delete _value.asString; break; in invalidate()
76 case TypeString: _value.asString = new std::string(); break; in assertTypeOrInvalid()
131 case TypeString: _value.asString = new std::string(*rhs._value.asString); break; in operator =()
160 case TypeString: return *_value.asString == *other._value.asString; in operator ==()
197 case TypeString: return int(_value.asString->size()); in size()
383 …_value.asString = new std::string(XmlRpcUtil::xmlDecode(valueXml.substr(*offset, valueEnd-*offset)… in stringFromXml()
384 *offset += int(_value.asString->length()); in stringFromXml()
392 xml += XmlRpcUtil::xmlEncode(*_value.asString); in stringToXml()
443 std::string asString = valueXml.substr(*offset, valueEnd-*offset); in binaryFromXml() local
451 decoder.get(asString.begin(), asString.end(), ins, iostatus); in binaryFromXml()
[all …]
DXmlRpcValue.h52 { _value.asString = new std::string(value); } in XmlRpcValue()
55 { _value.asString = new std::string(value); } in XmlRpcValue()
91 operator std::string&() { assertTypeOrInvalid(TypeString); return *_value.asString; }
181 std::string* asString; member
/external/tensorflow/tensorflow/contrib/cloud/kernels/
Dbigquery_table_accessor.cc206 next_page_token_ = root["pageToken"].asString(); in ReadRow()
288 strings::safe_strto64(root["numRows"].asString().c_str(), &total_num_rows_); in ReadSchema()
297 if ((*columns_it)["mode"].asString() == "REPEATED") { in ExtractColumnType()
303 column_name_prefix, (*columns_it)["name"].asString().c_str()); in ExtractColumnType()
305 ParseColumnType((*columns_it)["type"].asString().c_str(), &type)); in ExtractColumnType()
335 feature.mutable_bytes_list()->add_value(column_value.asString()); in AppendValueToExample()
339 column_value.asString() == "false" ? 0 : 1); in AppendValueToExample()
343 if (!strings::safe_strto64(column_value.asString().c_str(), in AppendValueToExample()
346 column_value.asString().c_str()); in AppendValueToExample()
353 if (!strings::safe_strtod(column_value.asString().c_str(), in AppendValueToExample()
[all …]
/external/tensorflow/tensorflow/core/platform/cloud/
Doauth_client_test.cc188 EXPECT_EQ("RS256", header_json.get("alg", Json::Value::null).asString()); in TEST()
189 EXPECT_EQ("JWT", header_json.get("typ", Json::Value::null).asString()); in TEST()
191 header_json.get("kid", Json::Value::null).asString()); in TEST()
195 claim_json.get("iss", Json::Value::null).asString()); in TEST()
197 claim_json.get("scope", Json::Value::null).asString()); in TEST()
199 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/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/parameter-framework/upstream/utility/
DUtility.cpp43 std::string asString(const std::list<std::string> &lstr, const std::string &strSeparator) in asString() function
51 std::string asString(const std::map<std::string, std::string> &mapStr, in asString() function
60 return asString(listKeysValues, strItemSeparator); in asString()
DUtility.h73 std::string asString(const std::list<std::string> &lstr, const std::string &separator = "\n");
85 std::string asString(const std::map<std::string, std::string> &mapStr,
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DConverter.java80 return typedResource.asString(); in asCharSequence()
102 return typedResource.asString(); in asCharSequence()
115 return typedResource.asString().trim(); in asCharSequence()
120 return convertInt(typedResource.asString().trim()); in asInt()
149 return ResourceHelper.getColor(typedResource.asString().trim()); in asInt()
191 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()
DVariantValue.java44 public String asString() { in asString() method in VariantValue
57 return asString().isEmpty(); in isEmpty()
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/
DFindFunction.java36 return literalConstant(fullStringValue.asString().indexOf(subStringValue.asString()), in execute()
/external/jsilver/src/com/google/clearsilver/jsilver/functions/operators/
DAddFunction.java33 return literalValue(left.asString() + right.asString(), mode, left.isPartiallyEscaped() in execute()

123456