Home
last modified time | relevance | path

Searched refs:string (Results 7751 - 7775 of 29637) sorted by relevance

1...<<311312313314315316317318319320>>...1186

/third_party/typescript/tests/baselines/reference/
H A DunknownType2.js53 declare const aString: string;
58 declare const aUnion: { x: number } | { y: string };
59 declare const anIntersection: { x: number } & { y: string };
63 let uString: string = u;
227 function f2(x: unknown): string | undefined {
228 if (x !== undefined && typeof x !== 'string') {
430 if (x !== undefined && typeof x !== 'string') {
/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_message_field.cc47 std::string ReinterpretCast(const std::string& type, in ReinterpretCast()
48 const std::string& expression, in ReinterpretCast()
59 std::map<std::string, std::string>* variables) { in SetMessageVariables()
/third_party/protobuf/src/google/protobuf/
H A Dpreserve_unknown_enum_test.cc93 std::string serialized; in TEST()
111 std::string serialized = orig_message.SerializeAsString(); in TEST()
132 std::string serialized; in TEST()
154 std::string serialized; in TEST()
181 std::string serialized; in TEST()
H A Dunknown_field_set.cc157 std::string* UnknownFieldSet::AddLengthDelimited(int number) { in AddLengthDelimited()
161 field.data_.length_delimited_.string_value = new std::string; in AddLengthDelimited()
256 new std::string(*data_.length_delimited_.string_value); in DeepCopy()
273 const std::string& data = *data_.length_delimited_.string_value; in InternalSerializeLengthDelimitedNoTag()
292 std::string* s = unknown_->AddLengthDelimited(num); in ParseLengthDelimited()
/third_party/protobuf/src/google/protobuf/util/
H A Dtime_util.h38 #include <string>
76 // Converts Timestamp to/from RFC 3339 date string format.
91 static std::string ToString(const Timestamp& timestamp);
92 static bool FromString(const std::string& value, Timestamp* timestamp);
94 // Converts Duration to/from string format. The string format will contains
100 static std::string ToString(const Duration& duration);
101 static bool FromString(const std::string& value, Duration* timestamp);
/third_party/spirv-tools/test/fuzz/
H A Dtransformation_replace_add_sub_mul_with_carrying_extended_test.cpp28 std::string shader = R"( in TEST()
89 std::string shader = R"( in TEST()
185 std::string shader = R"( in TEST()
276 std::string shader = R"( in TEST()
480 std::string after_transformation = R"( in TEST()
H A Dtransformation_store_test.cpp27 std::string shader = R"( in TEST()
312 std::string after_transformation = R"( in TEST()
387 std::string shader = R"( in TEST()
452 const std::string shader = R"( in TEST()
585 const std::string after_transformation = R"( in TEST()
/third_party/spirv-tools/test/
H A Dtext_to_binary.type_declaration_test.cpp18 #include <string>
38 const std::string input = in TEST_P()
78 const std::string input = in TEST_P()
147 const std::string input = in TEST_P()
176 const std::string input = "%1 = OpTypePipe " + GetParam().name() + "\n"; in TEST_P()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
H A DvktSparseResourcesBufferSparseBinding.cpp45 #include <string>
61 const std::string& name,
62 const std::string& description,
75 const std::string& name, in BufferSparseBindingCase()
76 const std::string& description, in BufferSparseBindingCase()
H A DvktSparseResourcesQueueBindSparseTests.cpp38 #include <string>
311 SparseQueueBindTest (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const TestParams& params) in SparseQueueBindTest()
337 std::string name; in populateTestGroup()
339 std::string description; in populateTestGroup()
/third_party/vk-gl-cts/framework/opengl/
H A DgluDrawUtil.hpp33 #include <string>
104 std::string name; //!< Input name, or empty if is not binding by name.
109 explicit BindingPoint (const std::string& name_, int location_ = 0) : type(BPTYPE_NAME), name(name_), location(location_) {} in BindingPoint()
246 inline VertexArrayBinding NAME (const std::string& name, int offset, int numComponents, int numElements, int stride, const DATATYPE* data) \
250 inline VertexArrayBinding NAME (const std::string& name, int numComponents, int numElements, int stride, const DATATYPE* data) \
/third_party/vk-gl-cts/modules/gles2/stress/
H A Des2sVertexArrayTests.cpp41 static std::string typeToString (T t) in typeToString()
106 std::string name = spec.getName(); in init()
176 std::string name = spec.getName(); in init()
247 std::string name = Array::inputTypeToString(inputTypes[inputTypeNdx]) + "_first" + typeToString(firsts[firstNdx]) + "_offset" + typeToString(offsets[offsetNdx]) + "_stride" + typeToString(stride) + "_quads" + typeToString(counts[countNdx]); in init()
315 std::string name = spec.getName(); in init()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fBufferCopyTests.cpp35 using std::string;
270 string name = string(getBufferTargetName(srcTarget)) + "_" + getBufferTargetName(dstTarget); in init()
333 string name = string(getBufferTargetName(srcTarget)) + "_" + getBufferTargetName(dstTarget); in init()
H A Des3fDrawTests.cpp363 const std::string desc = gls::DrawTestSpec::inputTypeToString(iopairs[ioNdx].input) + de::toString(iopairs[ioNdx].componentCount) + " to " + gls::DrawTestSpec::outputTypeToString(iopairs[ioNdx].output); in init()
448 const std::string name = std::string("index_") + gls::DrawTestSpec::indexTypeToString(indexTest.type); in init()
449 const std::string desc = std::string("index ") + gls::DrawTestSpec::indexTypeToString(indexTest.type) + " in " + gls::DrawTestSpec::storageToString(indexTest.storage); in init()
457 const std::string iterationDesc = std::string("offset ") + de::toString(indexTest.offsets[iterationNdx]); in init()
503 const std::string name = std::string("first_") + de::toString(firsts[firstNdx]); in init()
504 const std::string des in init()
[all...]
/drivers/peripheral/camera/test/ut/usb_camera/
H A Dusb_camera_test.cpp45 std::vector<std::string> cameraIds; in TEST_F()
603 std::vector<std::string> cameraIds; in TEST_F()
1007 std::vector<std::string> usbCameraIds; in TEST_F()
1042 std::vector<std::string> usbCameraIds; in TEST_F()
1080 std::vector<std::string> usbCameraIds; in TEST_F()
1131 std::vector<std::string> usbCameraIds; in TEST_F()
1163 std::vector<std::string> usbCameraIds; in TEST_F()
1191 std::vector<std::string> usbCameraIds; in TEST_F()
1224 std::vector<std::string> usbCameraIds; in TEST_F()
1257 std::vector<std::string> usbCameraId in TEST_F()
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dserialize.cpp58 blob_write_string(metadata, glprog->sh.SubroutineFunctions[j].name.string); in write_subroutines()
91 subs[j].name.string = ralloc_strdup(prog, blob_read_string (metadata)); in read_subroutines()
108 blob_write_string(metadata, b->name.string); in write_buffer_block()
164 b->name.string = ralloc_strdup(prog->data, blob_read_string (metadata)); in read_buffer_block()
345 blob_write_string(metadata, ltf->Varyings[i].name.string); in write_xfb()
407 ltf->Varyings[i].name.string = ralloc_strdup(prog, blob_read_string(metadata)); in read_xfb()
441 if (prog->data->UniformStorage[i].name.string) { in write_uniforms()
442 blob_write_string(metadata, prog->data->UniformStorage[i].name.string); in write_uniforms()
520 uniforms[i].name.string = ralloc_strdup(prog, blob_read_string (metadata)); in read_uniforms()
537 prog->UniformHash->put(i, uniforms[i].name.string); in read_uniforms()
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A Dpre-process.c32 #include <string.h>
111 struct string *s = __alloc_string(size); in replace_with_string()
116 token->string = s; in replace_with_string()
152 static const char *string[] = { "0", "1" }; in replace_with_bool() local
155 token->number = string[val]; in replace_with_bool()
281 next->string->immutable = 1; in collect_arg()
442 struct string *string = __alloc_string(size); in stringify() local
444 memcpy(string->data, s, size); in stringify()
445 string in stringify()
[all...]
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-string-gen.cc5 #include "src/builtins/builtins-string-gen.h"
23 TNode<String> string, TNode<Word32T> string_instance_type) { in DirectStringData()
35 ReinterpretCast<RawPtrT>(BitcastTaggedToWord(string)), in DirectStringData()
42 var_data = LoadExternalStringResourceDataPtr(CAST(string)); in DirectStringData()
202 // Dispatch based on the {lhs} and {rhs} string encoding. in StringEqual_Core()
316 // Added string can be a cons string. in AllocateConsString()
367 // throw. Note: we also need to invalidate the string length protector, so in StringAdd()
385 Comment("Full string concatenate"); in StringAdd()
407 // One-byte sequential string cas in StringAdd()
22 DirectStringData( TNode<String> string, TNode<Word32T> string_instance_type) DirectStringData() argument
456 BranchIfCanDerefIndirectString( TNode<String> string, TNode<Int32T> instance_type, Label* can_deref, Label* cannot_deref) BranchIfCanDerefIndirectString() argument
528 DerefIndirectString( TNode<String> string, TNode<Int32T> instance_type, Label* cannot_deref) DerefIndirectString() argument
548 auto string = Parameter<String>(Descriptor::kString); TF_BUILTIN() local
940 IndexOfDollarChar( const TNode<Context> context, const TNode<String> string) IndexOfDollarChar() argument
1430 auto string = Parameter<String>(Descriptor::kString); TF_BUILTIN() local
1441 LoadSurrogatePairAt( TNode<String> string, TNode<IntPtrT> length, TNode<IntPtrT> index, UnicodeEncoding encoding) LoadSurrogatePairAt() argument
1632 SubString(TNode<String> string, TNode<IntPtrT> from, TNode<IntPtrT> to) SubString() argument
1636 ToDirectStringAssembler to_direct(state(), string); SubString() local
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A Dglslang_lex_autogen.cpp80 #include <string.h>
1106 /* This used to be an fputs(), but since the string might contain NUL's,
1861 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
1873 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
1926 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
2109 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng);
2869 /** Setup the input buffer state to scan a string. The next call to yylex() will
2871 * @param yystr a NUL-terminated string to scan
3391 yylval->lex.string = AllocatePoolCharArray(yytext, yyleng); in ES3_reserved_ES3_1_keyword()
3410 yylval->lex.string in ES3_keyword()
3787 glslang_scan(size_t count, const char *const string[], const int length[], TParseContext *context) glslang_scan() argument
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/status/
H A Dstatusor_test.cc20 #include <string>
93 const std::string inner_explanation = inner_listener.str();
770 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<const std::string>>( in TEST()
771 absl::StatusOr<std::string>("foo")), in TEST()
773 EXPECT_THAT(absl::implicit_cast<absl::StatusOr<std::string>>( in TEST()
774 absl::StatusOr<const std::string>("foo")), in TEST()
777 absl::implicit_cast<absl::StatusOr<std::shared_ptr<const std::string>>>( in TEST()
778 absl::StatusOr<std::shared_ptr<std::string>>( in TEST()
779 std::make_shared<std::string>("foo"))), in TEST()
780 IsOkAndHolds(Pointee(std::string("fo in TEST()
[all...]
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/
H A Dhdi_add_handler.py15 import string namespace
295 str_line = string.Template(lines[0]).substitute(replace_data)
301 new_data[index] = string.Template(new_data[index]).\
371 temp_peripheral_path = string.Template(
378 temp_file_name = string.Template(file_name).safe_substitute(replace_data)
380 temp_file_info = string.Template(file_info).safe_substitute(replace_data)
452 temp_new_line = string.Template(
458 new_line = string.Template(
471 string.Template(temp_line).safe_substitute(
474 new_line = string
[all...]
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/
H A Daudio_librender_test.cpp24 const string BIND_CONTROL = "control";
25 const string BIND_RENDER = "render";
26 const string BIND_NAME_ERROR = "rendor";
43 int32_t LibStartAndStream(const std::string path, struct AudioSampleAttributes attrs,
47 const std::string BindName, const std::string adapterNameCase, struct DevHandle *&handle) const;
150 int32_t AudioLibRenderTest::LibStartAndStream(const std::string path, struct AudioSampleAttributes attrs, in LibStartAndStream()
208 const std::string BindName, const std::string adapterNameCase, struct DevHandle *&handle) const in BindServiceAndHwRender()
286 string bindNameOverLe in HWTEST_F()
[all...]
/test/xts/acts/ability_lite/ability_posix/src/
H A DAbilityMgrTest.cpp20 #include <string>
42 static string g_testPath;
60 * @return string current file path of the test suits
62 static string GetCurDir() in GetCurDir()
64 string filePath = ""; in GetCurDir()
133 string hapPath = g_testPath + "testnative_hispark_taurus_linux.hap"; in SetUpTestCase()
135 string hapPath = g_testPath + "testnative_hispark_taurus_liteos.hap"; in SetUpTestCase()
799 std::string aName = "NoThisAbility"; in HWTEST_F()
828 std::string aName = "Ability"; in HWTEST_F()
857 std::string aNam in HWTEST_F()
[all...]
H A DAbilityMgrTest2.cpp20 #include <string>
42 static string g_testPath;
60 * @return string current file path of the test suits
62 static string GetCurDir() in GetCurDir()
64 string filePath = ""; in GetCurDir()
131 string hapPath = g_testPath + "testnative_hispark_aries_linux.hap"; in SetUpTestCase()
133 string hapPath = g_testPath + "testnative_hispark_aries_liteos.hap"; in SetUpTestCase()
815 std::string aName = "NoThisAbility"; in HWTEST_F()
848 std::string aName = "Ability"; in HWTEST_F()
881 std::string aNam in HWTEST_F()
[all...]
/test/xts/hats/hdf/input/hdi_passthrough/
H A Dhdf_input_hdi_test.cpp420 std::string chipInfo; in HWTEST_F()
447 std::string chipInfo; in HWTEST_F()
703 std::string vendorName; in HWTEST_F()
730 std::string vendorName; in HWTEST_F()
755 std::string chipName; in HWTEST_F()
782 std::string chipName; in HWTEST_F()
855 std::string result; in HWTEST_F()
880 std::string result; in HWTEST_F()
905 std::string result; in HWTEST_F()
930 std::string resul in HWTEST_F()
[all...]

Completed in 46 milliseconds

1...<<311312313314315316317318319320>>...1186