Home
last modified time | relevance | path

Searched refs:IsString (Results 1 – 25 of 93) sorted by relevance

1234

/third_party/node/src/
Dnode_credentials.cc83 CHECK(args[0]->IsString()); in SafeGetenv()
219 CHECK(args[0]->IsUint32() || args[0]->IsString()); in SetGid()
238 CHECK(args[0]->IsUint32() || args[0]->IsString()); in SetEGid()
257 CHECK(args[0]->IsUint32() || args[0]->IsString()); in SetUid()
276 CHECK(args[0]->IsUint32() || args[0]->IsString()); in SetEUid()
346 CHECK(args[0]->IsUint32() || args[0]->IsString()); in InitGroups()
347 CHECK(args[1]->IsUint32() || args[1]->IsString()); in InitGroups()
Dnode_report_module.cc41 if (info[2]->IsString()) in WriteReport()
101 CHECK(info[0]->IsString()); in SetDirectory()
117 CHECK(info[0]->IsString()); in SetFilename()
131 CHECK(info[0]->IsString()); in SetSignal()
Dnode_env_var.cc203 CHECK(key->IsString()); in Clone()
285 if (!key->IsString()) continue; in AssignFromObject()
306 CHECK(property->IsString()); in EnvGetter()
322 if (env->options()->pending_deprecation && !value->IsString() && in EnvSetter()
353 if (property->IsString()) { in EnvQuery()
363 if (property->IsString()) { in EnvDeleter()
Dnode_url.cc670 if (val->IsString()) { in FromJSStringArray()
701 if (value->IsString()) { in HarvestBase()
748 if (scheme->IsString()) { in HarvestContext()
760 CHECK(username->IsString()); in HarvestContext()
768 CHECK(password->IsString()); in HarvestContext()
775 if (host->IsString()) { in HarvestContext()
1670 CHECK(args[0]->IsString()); // input in Parse()
1699 CHECK(args[0]->IsString()); in EncodeAuthSet()
1715 CHECK(args[0]->IsString()); in ToUSVString()
1749 CHECK(args[0]->IsString()); in DomainToASCII()
[all …]
Dinspector_js_api.cc139 CHECK(info[0]->IsString()); in Dispatch()
246 CHECK(args[0]->IsString()); in AsyncTaskScheduledWrapper()
287 if (args.Length() > 1 && args[1]->IsString()) { in Open()
Dnode_contextify.cc279 CHECK(args[1]->IsString()); in MakeContext()
282 CHECK(args[2]->IsString() || args[2]->IsUndefined()); in MakeContext()
283 if (args[2]->IsString()) { in MakeContext()
683 CHECK(args[0]->IsString()); in New()
686 CHECK(args[1]->IsString()); in New()
1041 CHECK(args[0]->IsString()); in CompileFunction()
1045 CHECK(args[1]->IsString()); in CompileFunction()
1155 CHECK(val->IsString()); in CompileFunction()
Dnode_buffer.cc477 CHECK(args[0]->IsString()); in CreateFromString()
593 if (!args[1]->IsString()) { in Fill()
698 CHECK(args[0]->IsString()); in ByteLengthUtf8()
822 CHECK(args[1]->IsString()); in IndexOfString()
1074 CHECK(args[0]->IsString()); in EncodeUtf8String()
1093 CHECK(args[0]->IsString()); in EncodeInto()
Dnode_errors.cc352 if (arrow.IsEmpty() || !arrow->IsString() || decorated) { in ReportFatalException()
382 if (arrow.IsEmpty() || !arrow->IsString() || decorated) { in ReportFatalException()
892 if (!(maybe_value.ToLocal(&arrow) && arrow->IsString())) { in DecorateErrorStack()
896 if (stack.IsEmpty() || !stack.ToLocalChecked()->IsString()) { in DecorateErrorStack()
/third_party/node/test/addons/make-callback/
Dbinding.cc11 assert(args[1]->IsFunction() || args[1]->IsString()); in MakeCallback()
24 } else if (args[1]->IsString()) { in MakeCallback()
/third_party/typescript/tests/cases/conformance/types/conditional/
DconditionalTypes1.ts177 type IsString<T> = Extends<T, string>; alias
179 type Q1 = IsString<number>; // false
180 type Q2 = IsString<"abc">; // true
181 type Q3 = IsString<any>; // boolean
182 type Q4 = IsString<never>; // never
/third_party/skia/third_party/externals/angle2/util/capture/
Dframe_capture_test_utils.cpp57 if (!arrayElement.IsString()) in LoadTraceNamesFromJSON()
97 if (meta["DrawSurfaceColorSpace"].IsString()) in LoadTraceInfoFromJSON()
/third_party/typescript/tests/baselines/reference/
DconditionalTypes1.js175 type IsString<T> = Extends<T, string>;
177 type Q1 = IsString<number>; // false
178 type Q2 = IsString<"abc">; // true
179 type Q3 = IsString<any>; // boolean
180 type Q4 = IsString<never>; // never
596 declare type IsString<T> = Extends<T, string>;
597 declare type Q1 = IsString<number>;
598 declare type Q2 = IsString<"abc">;
599 declare type Q3 = IsString<any>;
600 declare type Q4 = IsString<never>;
/third_party/flutter/engine/flutter/shell/platform/common/cpp/
Dtext_input_model.cc40 if (input_action != config.MemberEnd() && input_action->value.IsString()) { in TextInputModel()
48 input_type->value.IsString()) { in TextInputModel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DWindowsResource.h237 bool IsString; member
241 StringOrID(uint32_t ID) : IsString(false), ID(ID) {} in StringOrID()
242 StringOrID(ArrayRef<UTF16> String) : IsString(true), String(String) {} in StringOrID()
/third_party/flatbuffers/src/
Didl_gen_ts.cpp255 if (IsString(type) || type.base_type == BASE_TYPE_STRUCT) { in GenTypeName()
257 if (IsString(type)) { in GenTypeName()
412 return !ev->IsZero() && IsString(ev->union_type); in UnionHasStringType()
434 if (IsString(ev.union_type)) { in GenUnionTypeTS()
565 if (IsString(ev.union_type)) { in GenObjApiUnionTypeTS()
619 if (IsString(ev.union_type)) { in GenUnionConvFunc()
816 const auto is_string = IsString(field.value.type); in GenObjApi()
1094 const auto is_string = IsString(field.value.type); in GenStruct()
1198 } else if (IsString(vectortype)) { in GenStruct()
1219 } else if (IsString(vectortype)) { in GenStruct()
Didl_gen_java.cpp525 if (IsString(key_field->value.type)) { in GenLookupKeyGetter()
542 if (IsString(key_field->value.type)) { in GenKeyGetter()
847 IsString(field.value.type)) { in GenStruct()
853 code += NumToString(IsString(field.value.type) in GenStruct()
862 code += NumToString(IsString(field.value.type) in GenStruct()
1135 if (IsString(key_field->value.type)) { in GenStruct()
Didl_gen_csharp.cpp319 if (IsString(val.union_type)) { return true; } in HasUnionStringValue()
493 if (IsString(key_field->value.type)) { in GenLookupKeyGetter()
508 if (IsString(key_field->value.type)) { in GenKeyGetter()
785 if (IsString(val->union_type)) { in GenStruct()
830 IsString(field.value.type)) { in GenStruct()
1111 IsString(vector_type)) in GenStruct()
1189 if (IsString(key_field->value.type)) { in GenStruct()
1333 if (IsString(ev.union_type)) { in GenEnum_ObjectAPI()
1467 if (IsString(ev.union_type)) { in GenUnionUnPack_ObjectAPI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DWindowsResource.cpp100 ArrayRef<UTF16> &Str, bool &IsString) { in readStringOrId() argument
103 IsString = IDFlag != 0xffff; in readStringOrId()
105 if (IsString) { in readStringOrId()
215 if (S.IsString) { in printStringOrID()
323 return MinGW && Context.size() == 3 && !Context[0].IsString && in shouldIgnoreDuplicate()
324 Context[0].ID == /* RT_MANIFEST */ 24 && !Context[1].IsString && in shouldIgnoreDuplicate()
326 !Context[2].IsString && Context[2].ID == 0; in shouldIgnoreDuplicate()
/third_party/node/benchmark/napi/function_args/
Dbinding.cc21 assert(args.Length() == 1 && args[0]->IsString()); in CallWithString()
22 if (args.Length() == 1 && args[0]->IsString()) { in CallWithString()
/third_party/cef/tests/ceftests/
Dv8_unittest.cc275 EXPECT_FALSE(value->IsString()); in RunNullCreateTest()
295 EXPECT_FALSE(value->IsString()); in RunBoolCreateTest()
317 EXPECT_FALSE(value->IsString()); in RunIntCreateTest()
339 EXPECT_FALSE(value->IsString()); in RunUIntCreateTest()
359 EXPECT_FALSE(value->IsString()); in RunDoubleCreateTest()
398 EXPECT_FALSE(value->IsString()); in RunDateCreateTest()
406 EXPECT_TRUE(value->IsString()); in RunStringCreateTest()
426 EXPECT_TRUE(value->IsString()); in RunEmptyStringCreateTest()
468 EXPECT_FALSE(value->IsString()); in RunArrayCreateTest()
647 EXPECT_FALSE(value->IsString()); in RunObjectCreateTest()
[all …]
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dinstruction_test.cc39 EXPECT_TRUE(ops[2].IsString()); in TEST_F()
Doperand_test.cc40 EXPECT_TRUE(o.IsString()); in TEST_F()
Doperand.h73 bool IsString() const { return kind_ == Kind::kString; } in IsString() function
/third_party/node/test/addons/non-node-context/
Dbinding.cc38 assert(args[0]->IsString()); // source code in RunInNewContext()
/third_party/cef/libcef_dll/ctocpp/
Dv8value_ctocpp.h45 bool IsString() override;

1234