Home
last modified time | relevance | path

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

123

/third_party/ejdb/src/bindings/ejdb2_flutter/ios/Classes/
DSwiftEjdb2FlutterPlugin.swift48 func asString(_ v: Any?, _ def: String? = nil) -> String? { in asString() function
275 let hook = asString(mc.args[1]) in prepareQuery()
276 let coll = asString(mc.args[2]) in prepareQuery()
277 let qtext = asString(mc.args[3], "")! in prepareQuery()
308 try q.setString(v.int32Value, asString(val)) in prepareQuery()
310 try q.setString(plh as! String, asString(val)) in prepareQuery()
336 try q.setRegexp(v.int32Value, asString(val)) in prepareQuery()
338 try q.setRegexp(plh as! String, asString(val)) in prepareQuery()
357 var path = Path(asString(mc.args[1])!) in onlineBackup()
367 let coll = asString(mc.args[1])! in removeFloatIndex()
[all …]
/third_party/spirv-headers/tools/buildHeaders/
DjsonToSpirv.cpp288 result.emplace_back(cap.asString()); in jsonToSpirv()
301 result.emplace_back(ext.asString()); in jsonToSpirv()
311 if (printingClass["tag"].asString().size() > 0) in jsonToSpirv()
312 tags.insert(printingClass["tag"].asString()); // just for error checking in jsonToSpirv()
315 if (buildingHeaders || printingClass["tag"].asString() != "@exclude") { in jsonToSpirv()
316 InstructionPrintingClasses.push_back({printingClass["tag"].asString(), in jsonToSpirv()
317 printingClass["heading"].asString()}); in jsonToSpirv()
324 const auto printingClass = inst["class"].asString(); in jsonToSpirv()
326 std::cerr << "Error: " << inst["opname"].asString() in jsonToSpirv()
332 std::cerr << "Error: " << inst["opname"].asString() in jsonToSpirv()
[all …]
Dheader.cpp303 out << commentBOL() << escapeComment(comment[line].asString()) << in printComments()
332 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printDefs()
333 const auto opName = (*opClass)["Name"].asString(); in printDefs()
510 const auto opName = (*opClass)["Name"].asString(); in printHasResultType()
585 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printEpilogue()
586 const auto opName = (*opClass)["Name"].asString(); in printEpilogue()
/third_party/ejdb/src/bindings/ejdb2_flutter/android/src/main/java/com/softmotions/ejdb2/
DEjdb2FlutterPlugin.java192 final String qtext = asString(mc.args[3], ""); in prepareQuery()
224 q.setString(((Number) plh).intValue(), asString(val, null)); in prepareQuery()
226 q.setString((String) plh, asString(val, null)); in prepareQuery()
252 q.setRegexp(((Number) plh).intValue(), asString(val, null)); in prepareQuery()
254 q.setRegexp((String) plh, asString(val, null)); in prepareQuery()
259 q.setJSON(((Number) plh).intValue(), asString(val, null)); in prepareQuery()
261 q.setJSON((String) plh, asString(val, null)); in prepareQuery()
276 String targetFile = asString(mc.args[1], null); in onlineBackup()
282 String coll = asString(mc.args[1], null); in removeFloatIndex()
283 String path = asString(mc.args[2], null); in removeFloatIndex()
[all …]
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/
DjsonToSpirv.cpp304 result.emplace_back(cap.asString()); in jsonToSpirv()
317 result.emplace_back(ext.asString()); in jsonToSpirv()
327 if (printingClass["tag"].asString().size() > 0) in jsonToSpirv()
328 tags.insert(printingClass["tag"].asString()); // just for error checking in jsonToSpirv()
331 if (buildingHeaders || printingClass["tag"].asString() != "@exclude") { in jsonToSpirv()
332 InstructionPrintingClasses.push_back({printingClass["tag"].asString(), in jsonToSpirv()
333 printingClass["heading"].asString()}); in jsonToSpirv()
342 const auto printingClass = inst["class"].asString(); in jsonToSpirv()
344 std::cerr << "Error: " << inst["opname"].asString() in jsonToSpirv()
350 std::cerr << "Error: " << inst["opname"].asString() in jsonToSpirv()
[all …]
Dheader.cpp303 out << commentBOL() << escapeComment(comment[line].asString()) << in printComments()
332 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printDefs()
333 const auto opName = (*opClass)["Name"].asString(); in printDefs()
510 const auto opName = (*opClass)["Name"].asString(); in printHasResultType()
585 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printEpilogue()
586 const auto opName = (*opClass)["Name"].asString(); in printEpilogue()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.cpp304 result.emplace_back(cap.asString()); in jsonToSpirv()
317 result.emplace_back(ext.asString()); in jsonToSpirv()
327 if (printingClass["tag"].asString().size() > 0) in jsonToSpirv()
328 tags.insert(printingClass["tag"].asString()); // just for error checking in jsonToSpirv()
331 if (buildingHeaders || printingClass["tag"].asString() != "@exclude") { in jsonToSpirv()
332 InstructionPrintingClasses.push_back({printingClass["tag"].asString(), in jsonToSpirv()
333 printingClass["heading"].asString()}); in jsonToSpirv()
342 const auto printingClass = inst["class"].asString(); in jsonToSpirv()
344 std::cerr << "Error: " << inst["opname"].asString() in jsonToSpirv()
350 std::cerr << "Error: " << inst["opname"].asString() in jsonToSpirv()
[all …]
Dheader.cpp303 out << commentBOL() << escapeComment(comment[line].asString()) << in printComments()
332 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printDefs()
333 const auto opName = (*opClass)["Name"].asString(); in printDefs()
510 const auto opName = (*opClass)["Name"].asString(); in printHasResultType()
585 const bool isMask = (*opClass)["Type"].asString() == "Bit"; in printEpilogue()
586 const auto opName = (*opClass)["Name"].asString(); in printEpilogue()
/third_party/node/test/js-native-api/test_conversions/
Dtest.js68 assert.strictEqual(test.asString(''), '');
69 assert.strictEqual(test.asString('test'), 'test');
70 assert.throws(() => test.asString(undefined), stringExpected);
71 assert.throws(() => test.asString(null), stringExpected);
72 assert.throws(() => test.asString(false), stringExpected);
73 assert.throws(() => test.asString(1), stringExpected);
74 assert.throws(() => test.asString(1.1), stringExpected);
75 assert.throws(() => test.asString(Number.NaN), stringExpected);
76 assert.throws(() => test.asString({}), stringExpected);
77 assert.throws(() => test.asString([]), stringExpected);
[all …]
/third_party/node/test/parallel/
Dtest-fs-mkdir-mode-mask.js21 function test(mode, asString) { argument
22 const suffix = asString ? 'str' : 'num';
23 const input = asString ?
Dtest-fs-open-mode-mask.js17 function test(mode, asString) { argument
18 const suffix = asString ? 'str' : 'num';
19 const input = asString ?
Dtest-fs-chmod-mask.js23 function test(mode, asString) { argument
24 const suffix = asString ? 'str' : 'num';
25 const input = asString ?
/third_party/jsoncpp/src/test_lib_json/
Dmain.cpp467 JSONTEST_ASSERT_STRING_EQUAL("", null_.asString()); in JSONTEST_FIXTURE_LOCAL()
503 JSONTEST_ASSERT_STRING_EQUAL("a", string1_.asString()); in JSONTEST_FIXTURE_LOCAL()
598 JSONTEST_ASSERT_STRING_EQUAL("0", val.asString()); in JSONTEST_FIXTURE_LOCAL()
626 JSONTEST_ASSERT_STRING_EQUAL("0", val.asString()); in JSONTEST_FIXTURE_LOCAL()
654 JSONTEST_ASSERT_STRING_EQUAL("0.0", val.asString()); in JSONTEST_FIXTURE_LOCAL()
682 JSONTEST_ASSERT_STRING_EQUAL("0", val.asString()); in JSONTEST_FIXTURE_LOCAL()
710 JSONTEST_ASSERT_STRING_EQUAL("0", val.asString()); in JSONTEST_FIXTURE_LOCAL()
738 JSONTEST_ASSERT_STRING_EQUAL("0.0", val.asString()); in JSONTEST_FIXTURE_LOCAL()
765 JSONTEST_ASSERT_STRING_EQUAL("1048576", val.asString()); in JSONTEST_FIXTURE_LOCAL()
793 JSONTEST_ASSERT_STRING_EQUAL("1048576", val.asString()); in JSONTEST_FIXTURE_LOCAL()
[all …]
/third_party/skia/src/gpu/
DGrSwizzle.cpp31 memcpy(&ctx, this->asString().c_str(), 4 * sizeof(char)); in apply()
38 SkString GrSwizzle::asString() const { in asString() function in GrSwizzle
DGrXferProcessor.cpp272 x->codeAppendf("%s = %s.%s;", outColor, outColor, swizzle.asString().c_str()); in emitWriteSwizzle()
277 swizzle.asString().c_str()); in emitWriteSwizzle()
/third_party/flatbuffers/tests/
DJavaTest.java665 TestEq(m.get("no_key").asString(), ""); // empty if fail in testFlexBuffersTest()
676 TestEq(vec.get(1).asString(), "Fred"); in testFlexBuffersTest()
714 TestEq(mymap.values().get(0).asString(), vec.get(1).asString()); in testFlexBuffersTest()
756 TestEq(v.get(i).asString().length(), size); in testFlexBufferVectorStrings()
757 TestEq(v.get(i).asString(), text); in testFlexBufferVectorStrings()
772 TestEq("abc", vec.get(i).asString()); in testDeprecatedTypedVectorString()
839 TestEq(sb.toString(), r.asString()); in testSingleElementBigString()
850 TestEq("aa", r.asString()); in testSingleElementSmallString()
948 TestEq("wow", vec.get(1).asString()); in testSingleElementVector()
974 TestEq("wow", map.get("myString").asString()); in testSingleElementMap()
[all …]
/third_party/wayland-ivi-extension/ivi-layermanagement-examples/LayerManagerControl/include/
DSceneStore.h195 virtual string asString() in asString() function
268 virtual string asString() in asString() function
297 virtual string asString() in asString() function
324 virtual string asString() in asString() function
521 … node->mNodeValues[(*it).first] = make_pair((*it).second->mType, (*it).second->asString());\
/third_party/flatbuffers/java/com/google/flatbuffers/
DFlexBuffers.java377 case FBT_STRING: return Integer.parseInt(asString()); in asInt()
406 case FBT_STRING: return Long.parseLong(asString()); in asUInt()
437 return Long.parseLong(asString()); in asLong()
470 case FBT_STRING: return Double.parseDouble(asString()); in asFloat()
494 public String asString() { in asString() method in FlexBuffers.Reference
595 return sb.append('"').append(asString()).append('"'); in toString()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DLazyStringArrayList.java141 return asString(o); in set()
205 return asString(o); in remove()
274 private static String asString(Object o) { in asString() method in LazyStringArrayList
/third_party/libphonenumber/java/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java79 phoneNumber = Streams.asString(in, UTF_8.name()); in doPost()
81 defaultCountry = Streams.asString(in).toUpperCase(); in doPost()
83 String languageEntered = Streams.asString(in).toLowerCase(); in doPost()
88 regionCode = Streams.asString(in).toUpperCase(); in doPost()
/third_party/jsoncpp/example/readFromString/
DreadFromString.cpp33 const std::string name = root["Name"].asString(); in main()
/third_party/flutter/skia/third_party/externals/angle2/src/feature_support_util/
Dfeature_support_util.cpp376 std::string appName = jObject[kJsonAppName].asString(); in CreateApplicationFromJson()
459 std::string vendor = jObject[kJsonVendor].asString(); in CreateGpuFromJson()
544 std::string manufacturerName = jObject[kJsonManufacturer].asString(); in CreateDeviceFromJson()
548 std::string model = jObject[kJsonModel].asString(); in CreateDeviceFromJson()
709 std::string ruleDescription = jRule[kJsonRule].asString(); in ReadRulesFromJsonString()
/third_party/libphonenumber/migrator/migrator-servlet/src/main/java/com/google/phonenumbers/
DServletMain.java80 countryCode = Streams.asString(in); in doPost()
83 number = Streams.asString(in); in doPost()
/third_party/node/tools/inspector_protocol/lib/
DValueConversions_h.template92 bool success = value ? value->asString(&result) : false;
117 value->asString(&result);
/third_party/protobuf/conformance/
Dbinary_json_conformance_suite.cc2029 value["optionalInt64"].asString() == "1"; in RunJsonTestsForNonRepeatedTypes()
2036 value["optionalUint64"].asString() == "1"; in RunJsonTestsForNonRepeatedTypes()
2742 return value["optionalDuration"].asString() == "1s"; in RunJsonTestsForWrapperTypes()
2749 return value["optionalDuration"].asString() == "1.010s"; in RunJsonTestsForWrapperTypes()
2756 return value["optionalDuration"].asString() == "1.000010s"; in RunJsonTestsForWrapperTypes()
2763 return value["optionalDuration"].asString() == "1.000000010s"; in RunJsonTestsForWrapperTypes()
2828 return value["optionalTimestamp"].asString() == "1970-01-01T00:00:00Z"; in RunJsonTestsForWrapperTypes()
2835 return value["optionalTimestamp"].asString() == "1970-01-01T00:00:00Z"; in RunJsonTestsForWrapperTypes()
2842 return value["optionalTimestamp"].asString() == in RunJsonTestsForWrapperTypes()
2850 return value["optionalTimestamp"].asString() == in RunJsonTestsForWrapperTypes()
[all …]

123