/third_party/python/Modules/clinic/ |
H A D | _csv.c.h | 26 "unregister_dialect($module, /, name)\n" 29 "Delete the name/dialect mapping associated with a string name.\n" 31 " csv.unregister_dialect(name)"); 37 _csv_unregister_dialect_impl(PyObject *module, PyObject *name); 43 static const char * const _keywords[] = {"name", NULL}; in _csv_unregister_dialect() 46 PyObject *name; in _csv_unregister_dialect() local 52 name = args[0]; in _csv_unregister_dialect() 53 return_value = _csv_unregister_dialect_impl(module, name); in _csv_unregister_dialect() 60 "get_dialect($module, /, name)\ 80 PyObject *name; _csv_get_dialect() local [all...] |
/third_party/rust/crates/clap/clap_complete/src/shells/ |
H A D | shell.rs | 73 fn file_name(&self, name: &str) -> String { in file_name() 75 Shell::Bash => shells::Bash.file_name(name), in file_name() 76 Shell::Elvish => shells::Elvish.file_name(name), in file_name() 77 Shell::Fish => shells::Fish.file_name(name), in file_name() 78 Shell::PowerShell => shells::PowerShell.file_name(name), in file_name() 79 Shell::Zsh => shells::Zsh.file_name(name), in file_name() 146 let name = path.file_stem()?.to_str()?; in parse_shell_from_path() 147 match name { in parse_shell_from_path()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGPattern.cpp | 17 bool SkSVGPattern::parseAndSetAttribute(const char* name, const char* value) { in parseAndSetAttribute() argument 18 return INHERITED::parseAndSetAttribute(name, value) || in parseAndSetAttribute() 19 this->setX(SkSVGAttributeParser::parse<SkSVGLength>("x", name, value)) || in parseAndSetAttribute() 20 this->setY(SkSVGAttributeParser::parse<SkSVGLength>("y", name, value)) || in parseAndSetAttribute() 21 this->setWidth(SkSVGAttributeParser::parse<SkSVGLength>("width", name, value)) || in parseAndSetAttribute() 22 this->setHeight(SkSVGAttributeParser::parse<SkSVGLength>("height", name, value)) || in parseAndSetAttribute() 24 "patternTransform", name, value)) || in parseAndSetAttribute() 25 this->setHref(SkSVGAttributeParser::parse<SkSVGIRI>("xlink:href", name, value)); in parseAndSetAttribute()
|
/third_party/skia/gm/ |
H A D | bitmapcopy.cpp | 114 const char* name = color_type_name(src.colorType()); variable 115 SkScalar textWidth = font.measureText(name, strlen(name), SkTextEncoding::kUTF8); 126 // Draw destination config name 127 const char* name = color_type_name(fDst[i].colorType()); variable 128 SkScalar textWidth = font.measureText(name, strlen(name), SkTextEncoding::kUTF8); 131 canvas->drawSimpleText(name, strlen(name), SkTextEncoding::kUTF8, x, y, font, paint);
|
H A D | encode_color_types.cpp | 75 EncodeColorTypesGM(SkEncodedImageFormat format, int quality, Variant variant, const char* name) in EncodeColorTypesGM() argument 79 , fName(name) in EncodeColorTypesGM() 157 #define DEF_ENCODE_GM(format, quality, variant, name) \ 160 return new EncodeColorTypesGM(format, quality, Variant::variant, name);\ 163 #define DEF_VARIANTS(format, quality, name) \ 164 DEF_ENCODE_GM(format, quality, kNormal, name); \ 165 DEF_ENCODE_GM(format, quality, kOpaque, name); \ 166 DEF_ENCODE_GM(format, quality, kGray, name);
|
/third_party/skia/bench/ |
H A D | DecodeBench.cpp | 16 DecodeBench(const char* name, const char* source) in DecodeBench() argument 17 : fName(SkStringPrintf("decode_%s", name)) in DecodeBench() 42 BitmapDecodeBench(const char* name, const char* source) in BitmapDecodeBench() argument 43 : INHERITED(name, source) in BitmapDecodeBench() 60 SkottieDecodeBench(const char* name, const char* source) in SkottieDecodeBench() argument 61 : INHERITED(name, source) in SkottieDecodeBench() 77 SkottiePictureDecodeBench(const char* name, const char* source) in SkottiePictureDecodeBench() argument 78 : INHERITED(name, source) in SkottiePictureDecodeBench()
|
/third_party/rust/crates/syn/examples/lazy-static/lazy-static/src/ |
H A D | lib.rs | 23 name: Ident, 33 let name: Ident = input.parse()?; in parse() 41 name, in parse() 52 name, in lazy_static() 59 // warning: come on, pick a more creative name in lazy_static() 64 if name == "FOO" { in lazy_static() 65 name.span() in lazy_static() 67 .warning("come on, pick a more creative name") in lazy_static() 119 #visibility struct #name; in lazy_static() 121 impl std::ops::Deref for #name { in lazy_static() [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | implementation-visitor.cc | 49 #define ENUM_ITEM(name) \ in Visit() 50 case AstNode::Kind::k##name: \ in Visit() 51 return Visit(name::cast(expr)); in Visit() 64 #define ENUM_ITEM(name) \ in Visit() 65 case AstNode::Kind::k##name: \ in Visit() 66 result = Visit(name::cast(stmt)); \ in Visit() 171 source << "#include \"src/objects/swiss-name-dictionary.h\"\n"; in BeginDebugMacrosFile() 311 const Identifier* name = macro->parameter_names()[count++]; in InlineMacro() local 313 parameter_bindings.Add(name, in InlineMacro() 315 arg, "parameter " + name in InlineMacro() 459 const std::string& name = macro->parameter_names()[i]->value; VisitMacroCommon() local 558 const Identifier* name = builtin->signature().parameter_names[i]; AddParameter() local 582 const std::string& name = builtin->ExternalName(); Visit() local 1364 Identifier* name = expr->label_block->parameters.names[i]; Visit() local 1825 GenerateFunction( cpp::Class* owner, const std::string& name, const Signature& signature, const NameVector& parameter_names, bool pass_code_assembler_state, std::vector<std::string>* generated_parameter_names) GenerateFunction() argument 1911 FailCallableLookup( const std::string& reason, const QualifiedName& name, const TypeVector& parameter_types, const std::vector<Binding<LocalLabel>*>& labels, const std::vector<Signature>& candidates, const std::vector<std::pair<GenericCallable*, std::string>> inapplicable_generics) FailCallableLookup() argument 1928 stream << "\\n " << name; FailCallableLookup() local 1955 TryLookupLocalValue( const std::string& name) TryLookupLocalValue() argument 1960 TryLookupLabel( const std::string& name) TryLookupLabel() argument 1965 LookupLabel( const std::string& name) LookupLabel() argument 1972 LookupSimpleLabel(const std::string& name) LookupSimpleLabel() argument 1985 TestLookupCallable( const QualifiedName& name, const TypeVector& parameter_types) TestLookupCallable() argument 2011 LookupCallable( const QualifiedName& name, const Container& declaration_container, const TypeVector& parameter_types, const std::vector<Binding<LocalLabel>*>& labels, const TypeVector& specialization_types, bool silence_errors) LookupCallable() argument 2052 stream << "no matching declaration found for " << name; LookupCallable() local 2110 LookupCallable( const QualifiedName& name, const Container& declaration_container, const Arguments& arguments, const TypeVector& specialization_types) LookupCallable() argument 2118 LookupMethod( const std::string& name, const AggregateType* receiver_type, const Arguments& arguments, const TypeVector& specialization_types) LookupMethod() argument 2416 QualifiedName name = GetLocationReference() local 3191 QualifiedName name = QualifiedName(expr->callee->namespace_qualification, Visit() local 3401 ExternalParameterName( const std::string& name) ExternalParameterName() argument 4423 std::string name = class_field.name_and_type.name; GenerateFieldAccessors() local 4733 std::string name = type->ShouldGenerateCppClassDefinitions() GenerateClassDefinitions() local 4737 header << "class " << name << ";\\n"; GenerateClassDefinitions() local 4739 forward_declarations << "class " << name << ";\\n"; GenerateClassDefinitions() local 5008 std::string name = type->name(); GenerateBodyDescriptors() local 5018 h_contents << "class " << name << "::BodyDescriptor final : public "; GenerateBodyDescriptors() local 5121 h_contents << " return " << name GenerateBodyDescriptors() local 5276 std::string name = type->name(); GenerateClassVerifiers() local 5281 h_contents << " static void " << method_name << "(" << name GenerateClassVerifiers() local 5285 << name << " o, Isolate* isolate) {\\n"; GenerateClassVerifiers() local 5299 cc_contents << " CHECK(o.Is" << name << "(isolate));\\n"; GenerateClassVerifiers() local 5496 const std::string name = macro->ReadableName(); ReportAllUnusedMacros() local [all...] |
/third_party/alsa-lib/src/ucm/ |
H A D | ucm_subs.c | 35 const char *name; in rval_open_name() local 38 name = uc_mgr->card_name; in rval_open_name() 39 if (name) { in rval_open_name() 40 if (strncmp(name, "strict:", 7) == 0) in rval_open_name() 41 name += 7; in rval_open_name() 42 return strdup(name); in rval_open_name() 151 char *name, *index; in get_ctl_list_by_name() local 154 name = alloca(strlen(id) + 1); in get_ctl_list_by_name() 155 strcpy(name, id); in get_ctl_list_by_name() 156 index = strchr(name, '#'); in get_ctl_list_by_name() 200 char *name; global() member 443 const char *name; rval_device_lookup_init() member [all...] |
/third_party/node/deps/v8/third_party/test262-harness/src/ |
H A D | test262.py | 103 self.name = None 108 (self.fd, self.name) = tempfile.mkstemp( 117 f = file(self.name) 130 os.unlink(self.name) 144 name = self.case.GetName() 148 print "=== %s was expected to fail in %s, but didn't ===" % (name, mode) 152 print "=== %s failed in %s ===" % (name, mode) 154 print "%s in %s: " % (name, mode) 159 print "%s failed in %s as expected" % (name, mode) 161 print "%s passed in %s" % (name, mod [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | literal-objects.cc | 49 Handle<Name> name, ClassBoilerplate::ValueKind value_kind, in AddToDescriptorArrayTemplate() 52 *name, descriptor_array_template->number_of_descriptors()); in AddToDescriptorArrayTemplate() 59 d = Descriptor::DataConstant(name, value, DONT_ENUM); in AddToDescriptorArrayTemplate() 65 d = Descriptor::AccessorConstant(name, pair, DONT_ENUM); in AddToDescriptorArrayTemplate() 73 Descriptor d = Descriptor::DataConstant(name, value, DONT_ENUM); in AddToDescriptorArrayTemplate() 85 Descriptor d = Descriptor::AccessorConstant(name, new_pair, DONT_ENUM); in AddToDescriptorArrayTemplate() 97 IsolateT* isolate, Handle<NameDictionary> dictionary, Handle<Name> name, in DictionaryAddNoUpdateNextEnumerationIndex() 101 isolate, dictionary, name, value, details, entry_out); in DictionaryAddNoUpdateNextEnumerationIndex() 107 Handle<Name> name, Handle<Object> value, PropertyDetails details, in DictionaryAddNoUpdateNextEnumerationIndex() 111 return SwissNameDictionary::Add(isolate, dictionary, name, valu in DictionaryAddNoUpdateNextEnumerationIndex() 47 AddToDescriptorArrayTemplate( IsolateT* isolate, Handle<DescriptorArray> descriptor_array_template, Handle<Name> name, ClassBoilerplate::ValueKind value_kind, Handle<Object> value) AddToDescriptorArrayTemplate() argument 96 DictionaryAddNoUpdateNextEnumerationIndex( IsolateT* isolate, Handle<NameDictionary> dictionary, Handle<Name> name, Handle<Object> value, PropertyDetails details, InternalIndex* entry_out = nullptr) DictionaryAddNoUpdateNextEnumerationIndex() argument 105 DictionaryAddNoUpdateNextEnumerationIndex( IsolateT* isolate, Handle<SwissNameDictionary> dictionary, Handle<Name> name, Handle<Object> value, PropertyDetails details, InternalIndex* entry_out = nullptr) DictionaryAddNoUpdateNextEnumerationIndex() argument 126 DictionaryUpdateMaxNumberKey(Handle<Dictionary> dictionary, Handle<Name> name) DictionaryUpdateMaxNumberKey() argument 448 AddConstant(IsolateT* isolate, Handle<Name> name, Handle<Object> value, PropertyAttributes attribs) AddConstant() argument 479 AddNamedProperty(IsolateT* isolate, Handle<Name> name, ClassBoilerplate::ValueKind value_kind, int value_index) AddNamedProperty() argument 562 AddToPropertiesTemplate( IsolateT* isolate, Handle<PropertyDict> dictionary, Handle<Name> name, int key_index, ClassBoilerplate::ValueKind value_kind, Smi value) AddToPropertiesTemplate() argument 707 Handle<String> name = key_literal->AsRawPropertyName()->string(); BuildClassBoilerplate() local [all...] |
/third_party/python/Tools/peg_generator/pegen/ |
H A D | c_generator.py | 152 name = node.value 153 if name in self.non_exact_tokens: 154 if name in BASE_NODETYPES: 156 assigned_variable=f"{name.lower()}_var", 157 function=f"_PyPegen_{name.lower()}_token", 159 nodetype=BASE_NODETYPES[name], 161 comment=name, 164 assigned_variable=f"{name.lower()}_var", 166 arguments=["p", name], 169 comment=f"token='{name}'", [all...] |
/third_party/pcre2/pcre2/maint/ |
H A D | ucptest.c | 62 script <name> The character must have this script property. Only one 64 scriptx <name> This script must be in the character's Script Extension 68 gbreak <name> The grapheme break property must match. 70 bool <name> The character's Boolean property list must contain this 73 If a <name> or <abbrev> is preceded by !, the value must NOT be present. For 303 * Get name from ucp ident * 536 unsigned char name[128]; in find_chars() local 562 for (t = name; *s != 0 && !isspace(*s); s++) *t++ = *s; in find_chars() 573 if (strcmp(CS name, "script") == 0 || in find_chars() 574 strcmp(CS name, "script in find_chars() 882 unsigned char name[24]; process_command_line() local [all...] |
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/ |
H A D | header.cpp | 127 virtual std::string fmtConstInt(unsigned val, const std::string& name, in fmtConstInt() argument 147 // If the enum value name would start with a sigit, prepend the enum name. 205 "- C++ will have tokens in the \"spv\" name space, e.g.: spv::SourceLanguageGLSL\n" 215 "\"Mask\" in their name, and a parallel enum that has the shift\n" 241 std::string name = enumRow.name; in TPrinter() local 242 enums[e - spv::OperandSource]["Values"][name] = enumRow.value; in TPrinter() 253 std::string name = enumRow.name; in TPrinter() local 530 std::string name = inst.name; global() variable [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/ |
H A D | header.cpp | 127 virtual std::string fmtConstInt(unsigned val, const std::string& name, in fmtConstInt() argument 147 // If the enum value name would start with a sigit, prepend the enum name. 205 "- C++ will have tokens in the \"spv\" name space, e.g.: spv::SourceLanguageGLSL\n" 215 "\"Mask\" in their name, and a parallel enum that has the shift\n" 241 std::string name = enumRow.name; in TPrinter() local 242 enums[e - spv::OperandSource]["Values"][name] = enumRow.value; in TPrinter() 253 std::string name = enumRow.name; in TPrinter() local 530 std::string name = inst.name; global() variable [all...] |
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | pngunknown.c | 184 char name[5]; member 343 find(const char *name) in find() argument 348 if (memcmp(chunk_info[i].name, name, 4) == 0) in find() 356 findb(const png_byte *name) in findb() argument 361 if (memcmp(chunk_info[i].name, name, 4) == 0) in findb() 380 ancillary(const char *name) in ancillary() argument 382 return PNG_CHUNK_ANCILLARY(PNG_U32(name[0], name[ in ancillary() 387 ancillaryb(const png_byte *name) ancillaryb() argument 749 png_byte name[5]; check() local [all...] |
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_helpers.h | 15 // * Neither the name of Google Inc. nor the names of its 119 // Returns the non-nested type name for the given type. If "qualified" is 141 // Type name of default instance. 145 // Non-qualified name of the default_instance of this message. 149 // Non-qualified name of the default instance pointer. This is used only for 154 // Fully qualified name of the default_instance of this message. 158 // Fully qualified name of the default instance pointer. 162 // DescriptorTable variable name. 175 std::string ResolveKeyword(const std::string& name); 177 // Get the (unqualified) name tha 239 UniqueName(const std::string& name, const FileDescriptor* d, const Options& options) UniqueName() argument 243 UniqueName(const std::string& name, const Descriptor* d, const Options& options) UniqueName() argument 247 UniqueName(const std::string& name, const EnumDescriptor* d, const Options& options) UniqueName() argument 251 UniqueName(const std::string& name, const ServiceDescriptor* d, const Options& options) UniqueName() argument 264 UniqueName(const std::string& name, const std::string& filename) UniqueName() argument 268 UniqueName(const std::string& name, const FileDescriptor* d) UniqueName() argument 272 UniqueName(const std::string& name, const Descriptor* d) UniqueName() argument 275 UniqueName(const std::string& name, const EnumDescriptor* d) UniqueName() argument 279 UniqueName(const std::string& name, const ServiceDescriptor* d) UniqueName() argument 773 NamespaceOpener(const std::string& name, const Formatter& format) NamespaceOpener() argument 779 ChangeTo(const std::string& name) ChangeTo() argument [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | builtin_variables.cpp | 226 #define MATRIX(name, statevar) \ 227 static const struct gl_builtin_uniform_element name ## _elements[] = { \ 265 #define STATEVAR(name) {#name, name ## _elements, ARRAY_SIZE(name ## _elements)} 364 const char *name, enum glsl_interp_mode interp); 382 int precision, const char *name, in add_field() 387 this->fields[this->num_fields].name = name; in add_field() 381 add_field(int slot, const glsl_type *type, int precision, const char *name, enum glsl_interp_mode interp) add_field() argument 441 type(const char *name) type() argument 446 add_input(int slot, const glsl_type *type, int precision, const char *name, enum glsl_interp_mode interp = INTERP_MODE_NONE) add_input() argument 453 add_input(int slot, const glsl_type *type, const char *name, enum glsl_interp_mode interp = INTERP_MODE_NONE) add_input() argument 459 add_output(int slot, const glsl_type *type, int precision, const char *name) add_output() argument 465 add_output(int slot, const glsl_type *type, const char *name) add_output() argument 470 add_index_output(int slot, int index, const glsl_type *type, int precision, const char *name) add_index_output() argument 477 add_system_value(int slot, const glsl_type *type, int precision, const char *name) add_system_value() argument 482 add_system_value(int slot, const glsl_type *type, const char *name) add_system_value() argument 496 add_uniform(const glsl_type *type, const char *name) add_uniform() argument 501 add_const(const char *name, int value) add_const() argument 509 add_varying(int slot, const glsl_type *type, const char *name, enum glsl_interp_mode interp = INTERP_MODE_NONE) add_varying() argument 558 add_index_variable(const char *name, const glsl_type *type, int precision, enum ir_variable_mode mode, int slot, int index) add_index_variable() argument 604 add_variable(const char *name, const glsl_type *type, int precision, enum ir_variable_mode mode, int slot, enum glsl_interp_mode interp) add_variable() argument 650 _mesa_glsl_get_builtin_uniform_desc(const char *name) _mesa_glsl_get_builtin_uniform_desc() argument 661 add_uniform(const glsl_type *type, int precision, const char *name) add_uniform() argument 696 add_const(const char *name, int precision, int value) add_const() argument 709 add_const_ivec3(const char *name, int x, int y, int z) add_const_ivec3() argument 1034 char name[128]; generate_uniforms() local 1493 add_varying(int slot, const glsl_type *type, int precision, const char *name, enum glsl_interp_mode interp) add_varying() argument [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fSSBOLayoutTests.cpp | 71 RandomSSBOLayoutCase (Context& context, const char* name, const char* description, BufferMode bufferMode, deUint32 features, deUint32 seed); 95 RandomSSBOLayoutCase::RandomSSBOLayoutCase (Context& context, const char* name, const char* description, BufferMode bufferMode, deUint32 features, deUint32 seed) in RandomSSBOLayoutCase() argument 96 : SSBOLayoutCase (context.getTestContext(), context.getRenderContext(), name, description, glu::GLSL_VERSION_310_ES, bufferMode) in RandomSSBOLayoutCase() 201 const std::string name = genName('a', 'z', m_bufferVarNdx); in generateBufferVar() local 208 block.addMember(BufferVar(name.c_str(), type, flags)); in generateBufferVar() 315 BlockBasicTypeCase (Context& context, const char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstances) in BlockBasicTypeCase() argument 316 : SSBOLayoutCase(context.getTestContext(), context.getRenderContext(), name, description, glu::GLSL_VERSION_310_ES, BUFFERMODE_PER_BLOCK) in BlockBasicTypeCase() 333 BlockBasicUnsizedArrayCase (Context& context, const char* name, const char* description, const VarType& elementType, int arraySize, deUint32 layoutFlags) in BlockBasicUnsizedArrayCase() argument 334 : SSBOLayoutCase(context.getTestContext(), context.getRenderContext(), name, description, glu::GLSL_VERSION_310_ES, BUFFERMODE_PER_BLOCK) in BlockBasicUnsizedArrayCase() 358 BlockSingleStructCase (Context& context, const char* name, cons argument 391 BlockSingleStructArrayCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) BlockSingleStructArrayCase() argument 426 BlockSingleNestedStructCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) BlockSingleNestedStructCase() argument 466 BlockSingleNestedStructArrayCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) BlockSingleNestedStructArrayCase() argument 506 BlockUnsizedStructArrayCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) BlockUnsizedStructArrayCase() argument 550 Block2LevelUnsizedStructArrayCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) Block2LevelUnsizedStructArrayCase() argument 593 BlockUnsizedNestedStructArrayCase(Context& context, const char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) BlockUnsizedNestedStructArrayCase() argument 643 BlockMultiBasicTypesCase(Context& context, const char* name, const char* description, deUint32 flagsA, deUint32 flagsB, BufferMode bufferMode, int numInstances) BlockMultiBasicTypesCase() argument 684 BlockMultiNestedStructCase(Context& context, const char* name, const char* description, deUint32 flagsA, deUint32 flagsB, BufferMode bufferMode, int numInstances) BlockMultiNestedStructCase() argument 776 const char* name; init() member 788 const char* name; init() member 798 const char* name; init() member [all...] |
/third_party/vulkan-loader/tests/ |
H A D | loader_unknown_ext_tests.cpp | 45 vk_icdGetPhysicalDeviceProcAddr is called, will return the custom_physical_device_function if the function name matches 64 Functions for testing of layer interception of unknown functions. Note the need to pass a pointer to the layer and the name 70 PFN_vkVoidFunction find_custom_func(TestLayer* layer, const char* name) { in find_custom_func() argument 71 if (layer->custom_dispatch_functions.count(name) > 0) { in find_custom_func() 72 return layer->custom_dispatch_functions.at(name); in find_custom_func() 79 static VKAPI_ATTR uint32_t VKAPI_CALL func_zero(DispatchableHandleType handle, TestLayer* layer, const char* name, uint32_t i) { in func_zero() 80 auto func = reinterpret_cast<decltype(&func_zero)>(find_custom_func(layer, name)); in func_zero() 82 return func(handle, layer, name, i + 3); in func_zero() 84 static VKAPI_ATTR uint32_t VKAPI_CALL func_one(DispatchableHandleType handle, TestLayer* layer, const char* name, uint32_t i, in func_one() 86 auto func = reinterpret_cast<decltype(&func_one)>(find_custom_func(layer, name)); in func_one() 792 static const char* name; global() member 797 const char* LayerInterceptData<UniqueType>::name = nullptr; global() member in LayerInterceptData 991 std::string name; global() member 1031 LayerInterceptData<LayerStruct>::name = func.name.c_str(); add_to_layer() member in UnknownFunctionInfo::LayerInterceptData 1058 LayerInterceptData<LayerStruct>::name = func.name.c_str(); add_to_layer() member in UnknownFunctionInfo::LayerInterceptData [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | sparse-llvm.c | 78 snprintf(buffer, sizeof(buffer), "struct.%s", sym->ident ? sym->ident->name : "anno"); in sym_struct_type() 285 const char *name = show_ident(sym->ident); in get_sym_value() local 314 result = LLVMGetNamedFunction(module, name); in get_sym_value() 316 result = LLVMAddFunction(module, name, type); in get_sym_value() 318 result = LLVMGetNamedGlobal(module, name); in get_sym_value() 320 result = LLVMAddGlobal(module, type, name); in get_sym_value() 407 char name[MAX_PSEUDO_NAME]; in pseudo_to_rvalue() local 409 pseudo_name(pseudo, name); in pseudo_to_rvalue() 410 return LLVMBuildBitCast(fn->builder, val, dtype, name); in pseudo_to_rvalue() 415 const char *name in value_to_ivalue() local 430 const char *name = LLVMGetValueName(val); value_to_pvalue() local 483 const char *name = LLVMGetValueName(off); calc_gep() local 708 char name[MAX_PSEUDO_NAME]; output_op_load() local 757 char name[MAX_PSEUDO_NAME]; output_op_sel() local 804 char name[64]; output_op_call() local 916 char name[64]; output_op_fpcast() local 1136 char name[MAX_PSEUDO_NAME]; output_fn() local 1195 const char *name; output_data() local [all...] |
/third_party/python/Lib/re/ |
H A D | _parser.py | 82 def opengroup(self, name=None): 87 if name is not None: 88 ogid = self.groupdict.get(name, None) 90 raise error("redefinition of group name %r as group %d; " 91 "was group %d" % (name, gid, ogid)) 92 self.groupdict[name] = gid 265 def getuntil(self, terminator, name): 272 raise self.error("missing " + name) 273 raise self.error("missing %s, unterminated name" % terminator, 277 raise self.error("missing " + name, [all...] |
/third_party/python/Lib/test/ |
H A D | test_clinic.py | 21 def __init__(self, name, args): 22 self.name = name 27 def __init__(self, name): 28 self.name = name 30 def __call__(self, name, default, **kwargs): 31 return FakeConverter(self.name, kwargs) 38 def get(self, name, default): 39 return self.used_converters.setdefault(name, FakeConverterFactor [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fVertexArrayTest.cpp | 85 const std::string name = "stride" + typeToString(stride) + "_" + Array::inputTypeToString(inputTypes[inputTypeNdx]) + "_quads" + typeToString(counts[countNdx]); in init() local 105 addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), name.c_str())); in init() 187 std::string name = Array::storageToString(storages[storageNdx]) + "_stride" + typeToString(stride) + "_components" + typeToString(componentCount) + "_quads" + typeToString(counts[countNdx]); in init() local 210 addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), name.c_str())); in init() 293 std::string name = "first" + typeToString(firsts[firstNdx]) + "_offset" + typeToString(offsets[offsetNdx]) + "_stride" + typeToString(stride) + "_quads" + typeToString(counts[countNdx]); in init() local 313 addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), name.c_str())); in init() 394 const std::string name in init() local 488 std::string name = "components" + typeToString(componentCount) + "_quads" + typeToString(counts[countNdx]); init() local 583 std::string name = "components" + typeToString(componentCount) + "_" + Array::outputTypeToString(outputTypes[outputTypeNdx]) + "_quads" + typeToString(counts[countNdx]); init() local 722 std::stringstream name; getTestName() local 758 std::string name = getTestName(spec); init() local 792 std::stringstream name; getTestName() local 894 std::stringstream name; getTestName() local 930 std::string name = getTestName(spec); addStrideCases() local 985 std::stringstream name; getTestName() local 1021 std::string name = getTestName(spec); addInputTypeCases() local [all...] |
/test/xts/acts/graphic/graphicnapitest/ |
H A D | NativeVsyncTest.cpp | 41 * @tc.name: OH_NativeVSync_Create001 52 * @tc.name: OH_NativeVSync_Create002 59 char name[] = "test"; in HWTEST_F() local 60 native_vsync = OH_NativeVSync_Create(name, sizeof(name)); in HWTEST_F() 65 * @tc.name: OH_NativeVSync_RequestFrame001 76 * @tc.name: OH_NativeVSync_RequestFrame002 87 * @tc.name: OH_NativeVSync_RequestFrame003 99 * @tc.name: OH_NativeVSync_Destroy001 110 * @tc.name 127 char name[] = "test"; HWTEST_F() local 168 char name[] = "test"; HWTEST_F() local [all...] |