/third_party/skia/third_party/externals/icu/source/common/ |
H A D | putil.cpp | 1053 const char* name, 1061 static void u_property_read(void* cookie, const char* name, const char* value, in u_property_read() argument 1117 // If we don't have a name already, then tzname wouldn't be any in uprv_tzname() 1142 /* Don't misinterpret TZ "localtime" on Solaris as a time zone name. */ in uprv_tzname() 1161 This is a trick to look at the name of the link to get the Olson ID in uprv_tzname() 1792 // Now we should have a Windows locale name that needs converted to the POSIX style. 1823 // Now normalize the resulting name 1863 /* Extract the locale name from the path. */ 1866 /* Increment p to start of locale name. */ 1879 /* Upper case the locale name 1954 remapPlatformDependentCodepage(const char *locale, const char *name) global() argument 2079 const char *name = NULL; global() local 2223 static char const *name = NULL; global() local [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsLifetimeTests.cpp | 138 void SimpleBinder::bind (GLuint name) in bind() argument 140 (this->*m_bindFunc)(m_bindTarget, name); in bind() 160 void bind (GLuint name) { glBindVertexArray(name); } in bind() argument 167 void bind (GLuint name) in bind() argument 169 if (name != 0) in bind() 170 glBeginQuery(GL_ANY_SAMPLES_PASSED, name); in bind() 177 bool ProgramType::isDeleteFlagged (GLuint name) in isDeleteFlagged() argument 180 glGetProgramiv(name, GL_DELETE_STATUS, &deleteFlagged); in isDeleteFlagged() 184 bool ShaderType::isDeleteFlagged (GLuint name) in isDeleteFlagged() argument 252 GLint type = 0, name = 0; getFboAttachment() local 774 Name(Type& type, GLuint name) Name() argument 865 TestBase(const char* name, const char* description, const Context& ctx) TestBase() argument 884 LifeTest(const char* name, const char* description, Type& type, TestFunction test) LifeTest() argument 928 GLuint name = m_type.gen(); testDelete() local 1042 AttachmentTest(const char* name, const char* description, Attacher& attacher, TestFunction test) AttachmentTest() argument 1120 InputAttachmentTest(const char* name, const char* description, InputAttacher& inputAttacher) InputAttachmentTest() argument 1216 OutputAttachmentTest(const char* name, const char* description, OutputAttacher& outputAttacher) OutputAttachmentTest() argument 1306 const char* name; global() member 1320 const char* name = type.getName(); createLifeTestGroup() local 1375 const string name = attacherName(**it); addTestCases() local 1389 const string name = attacherName((*it)->getAttacher()); addTestCases() local 1402 string name = attacherName((*it)->getAttacher()); addTestCases() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/tegra/ |
H A D | clk.h | 91 struct clk *tegra_clk_register_sync_source(const char *name, 134 struct clk *tegra_clk_register_divider(const char *name, 138 struct clk *tegra_clk_register_mc(const char *name, const char *parent_name, 390 * @name: name for the audio pll 393 * @parent: name of the parent of the audio pll 396 char *name; member 404 struct clk *tegra_clk_register_pll(const char *name, const char *parent_name, 409 struct clk *tegra_clk_register_plle(const char *name, const char *parent_name, 414 struct clk *tegra_clk_register_pllxc(const char *name, cons 675 const char *name; global() member [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-davinci/ |
H A D | board-dm644x-evm.c | 61 .name = "bootloader", 68 .name = "params", 75 .name = "kernel", 82 .name = "filesystem", 104 .name = "physmap-flash", 126 .name = "bootloader", 133 .name = "kernel", 140 .name = "filesystem", 199 .name = "davinci_nand", 217 .name [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/ |
H A D | kselftest_harness.h | 113 __FILE__, __LINE__, _metadata->name, ##__VA_ARGS__) 142 * @test_name: test name 146 * TEST(name) { implementation } 148 * Defines a test by name. 160 * @test_name: test name 165 * TEST_SIGNAL(name, signal) { implementation } 167 * Defines a test by name and the expected term signal. 185 { .name = #test_name, \ 198 * FIXTURE_DATA(datatype_name) - Wraps the struct name so we have one less 201 * @datatype_name: datatype name 779 const char *name; global() member 800 const char *name; global() member 814 const char *name; global() member [all...] |
/kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
H A D | fdt_ro.c | 226 const char *name, int namelen) in fdt_subnode_offset_namelen() 236 && fdt_nodename_eq_(fdt, offset, name, namelen)) in fdt_subnode_offset_namelen() 245 const char *name) in fdt_subnode_offset() 247 return fdt_subnode_offset_namelen(fdt, parentoffset, name, strlen(name)); in fdt_subnode_offset() 310 nameptr = nh->name; in fdt_get_name() 315 * give only the leaf name (after all /). The actual tree in fdt_get_name() 396 const char *name, in fdt_get_property_namelen_() 412 name, namelen)) { in fdt_get_property_namelen_() 427 const char *name, in fdt_get_property_namelen() 225 fdt_subnode_offset_namelen(const void *fdt, int offset, const char *name, int namelen) fdt_subnode_offset_namelen() argument 244 fdt_subnode_offset(const void *fdt, int parentoffset, const char *name) fdt_subnode_offset() argument 394 fdt_get_property_namelen_(const void *fdt, int offset, const char *name, int namelen, int *lenp, int *poffset) fdt_get_property_namelen_() argument 425 fdt_get_property_namelen(const void *fdt, int offset, const char *name, int namelen, int *lenp) fdt_get_property_namelen() argument 443 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) fdt_get_property() argument 451 fdt_getprop_namelen(const void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) fdt_getprop_namelen() argument 478 const char *name; fdt_getprop_by_offset() local 502 fdt_getprop(const void *fdt, int nodeoffset, const char *name, int *lenp) fdt_getprop() argument 525 fdt_get_alias_namelen(const void *fdt, const char *name, int namelen) fdt_get_alias_namelen() argument 537 fdt_get_alias(const void *fdt, const char *name) fdt_get_alias() argument 546 const char *name; fdt_get_path() local [all...] |
/kernel/linux/linux-5.10/fs/pstore/ |
H A D | platform.c | 102 const char *name; member 130 enum pstore_type_id pstore_name_to_type(const char *name) in pstore_name_to_type() argument 135 if (!strcmp(pstore_type_names[i], name)) in pstore_name_to_type() 237 .name = "deflate", 243 .name = "lzo", 249 .name = "lz4", 255 .name = "lz4hc", 261 .name = "842", 267 .name = "zstd", 304 if (!crypto_has_comp(zbackend->name, in allocate_buf_for_compression() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_property.c | 8 * that the name of the copyright holders not be used in advertising or 53 * Properties are defined by their symbolic name, userspace must keep a 85 * @name: name of the property 97 u32 flags, const char *name, in drm_property_create() 106 if (WARN_ON(strlen(name) >= DRM_PROP_NAME_LEN)) in drm_property_create() 130 strncpy(property->name, name, DRM_PROP_NAME_LEN); in drm_property_create() 131 property->name[DRM_PROP_NAME_LEN-1] = '\0'; in drm_property_create() 147 * @name 96 drm_property_create(struct drm_device *dev, u32 flags, const char *name, int num_values) drm_property_create() argument 162 drm_property_create_enum(struct drm_device *dev, u32 flags, const char *name, const struct drm_prop_enum_list *props, int num_values) drm_property_create_enum() argument 210 drm_property_create_bitmask(struct drm_device *dev, u32 flags, const char *name, const struct drm_prop_enum_list *props, int num_props, uint64_t supported_bits) drm_property_create_bitmask() argument 242 property_create_range(struct drm_device *dev, u32 flags, const char *name, uint64_t min, uint64_t max) property_create_range() argument 277 drm_property_create_range(struct drm_device *dev, u32 flags, const char *name, uint64_t min, uint64_t max) drm_property_create_range() argument 305 drm_property_create_signed_range(struct drm_device *dev, u32 flags, const char *name, int64_t min, int64_t max) drm_property_create_signed_range() argument 332 drm_property_create_object(struct drm_device *dev, u32 flags, const char *name, uint32_t type) drm_property_create_object() argument 369 drm_property_create_bool(struct drm_device *dev, u32 flags, const char *name) drm_property_create_bool() argument 390 drm_property_add_enum(struct drm_property *property, uint64_t value, const char *name) drm_property_add_enum() argument [all...] |
/kernel/linux/linux-5.10/drivers/powercap/ |
H A D | powercap_sys.c | 70 if (!sscanf(dev_attr->attr.name, "constraint_%d_", &id)) \ 95 if (!sscanf(dev_attr->attr.name, "constraint_%d_", &id)) \ 158 const char *name; in show_constraint_name() local 164 if (!sscanf(dev_attr->attr.name, "constraint_%d_", &id)) in show_constraint_name() 171 name = pconst->ops->get_name(power_zone, id); in show_constraint_name() 172 if (name) { in show_constraint_name() 174 "%s\n", name); in show_constraint_name() 183 static int create_constraint_attribute(int id, const char *name, in create_constraint_attribute() argument 194 dev_attr->attr.name = kasprintf(GFP_KERNEL, "constraint_%d_%s", in create_constraint_attribute() 195 id, name); in create_constraint_attribute() 482 powercap_register_zone( struct powercap_zone *power_zone, struct powercap_control_type *control_type, const char *name, struct powercap_zone *parent, const struct powercap_zone_ops *ops, int nr_constraints, const struct powercap_zone_constraint_ops *const_ops) powercap_register_zone() argument 604 powercap_register_control_type( struct powercap_control_type *control_type, const char *name, const struct powercap_control_type_ops *ops) powercap_register_control_type() argument [all...] |
/kernel/linux/linux-6.6/drivers/powercap/ |
H A D | powercap_sys.c | 71 if (!sscanf(dev_attr->attr.name, "constraint_%d_", &id)) \ 96 if (!sscanf(dev_attr->attr.name, "constraint_%d_", &id)) \ 159 const char *name; in show_constraint_name() local 165 if (!sscanf(dev_attr->attr.name, "constraint_%d_", &id)) in show_constraint_name() 172 name = pconst->ops->get_name(power_zone, id); in show_constraint_name() 173 if (name) { in show_constraint_name() 175 name); in show_constraint_name() 183 static int create_constraint_attribute(int id, const char *name, in create_constraint_attribute() argument 194 dev_attr->attr.name = kasprintf(GFP_KERNEL, "constraint_%d_%s", in create_constraint_attribute() 195 id, name); in create_constraint_attribute() 482 powercap_register_zone( struct powercap_zone *power_zone, struct powercap_control_type *control_type, const char *name, struct powercap_zone *parent, const struct powercap_zone_ops *ops, int nr_constraints, const struct powercap_zone_constraint_ops *const_ops) powercap_register_zone() argument 604 powercap_register_control_type( struct powercap_control_type *control_type, const char *name, const struct powercap_control_type_ops *ops) powercap_register_control_type() argument [all...] |
/kernel/linux/linux-6.6/drivers/clk/tegra/ |
H A D | clk.h | 91 struct clk *tegra_clk_register_sync_source(const char *name, 134 struct clk *tegra_clk_register_divider(const char *name, 138 struct clk *tegra_clk_register_mc(const char *name, const char *parent_name, 390 * @name: name for the audio pll 393 * @parent: name of the parent of the audio pll 396 char *name; member 404 struct clk *tegra_clk_register_pll(const char *name, const char *parent_name, 409 struct clk *tegra_clk_register_plle(const char *name, const char *parent_name, 414 struct clk *tegra_clk_register_pllxc(const char *name, cons 671 const char *name; global() member [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/shell/lib/ |
H A D | perf_metric_validation.py | 116 def get_value(self, name:str, ridx:int = 0) -> list: 119 If result of this metric is not provided, the metric name will be added into self.ignoremetics and self.errlist. 122 @param name: name of the metric 127 if name not in self.ignoremetrics: 128 if name in data: 129 results.append(data[name]) 130 elif name.replace('.', '1').isdigit(): 131 results.append(float(name)) 133 self.ignoremetrics.add(name) [all...] |
/kernel/linux/linux-6.6/scripts/dtc/libfdt/ |
H A D | fdt_ro.c | 226 const char *name, int namelen) in fdt_subnode_offset_namelen() 236 && fdt_nodename_eq_(fdt, offset, name, namelen)) in fdt_subnode_offset_namelen() 245 const char *name) in fdt_subnode_offset() 247 return fdt_subnode_offset_namelen(fdt, parentoffset, name, strlen(name)); in fdt_subnode_offset() 310 nameptr = nh->name; in fdt_get_name() 315 * give only the leaf name (after all /). The actual tree in fdt_get_name() 396 const char *name, in fdt_get_property_namelen_() 412 name, namelen)) { in fdt_get_property_namelen_() 427 const char *name, in fdt_get_property_namelen() 225 fdt_subnode_offset_namelen(const void *fdt, int offset, const char *name, int namelen) fdt_subnode_offset_namelen() argument 244 fdt_subnode_offset(const void *fdt, int parentoffset, const char *name) fdt_subnode_offset() argument 394 fdt_get_property_namelen_(const void *fdt, int offset, const char *name, int namelen, int *lenp, int *poffset) fdt_get_property_namelen_() argument 425 fdt_get_property_namelen(const void *fdt, int offset, const char *name, int namelen, int *lenp) fdt_get_property_namelen() argument 443 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) fdt_get_property() argument 451 fdt_getprop_namelen(const void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) fdt_getprop_namelen() argument 478 const char *name; fdt_getprop_by_offset() local 502 fdt_getprop(const void *fdt, int nodeoffset, const char *name, int *lenp) fdt_getprop() argument 525 fdt_get_alias_namelen(const void *fdt, const char *name, int namelen) fdt_get_alias_namelen() argument 537 fdt_get_alias(const void *fdt, const char *name) fdt_get_alias() argument 546 const char *name; fdt_get_path() local [all...] |
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8183/ |
H A D | mt8183-mt6358-ts3a227-max98357.c | 428 .name = "Playback_1", 438 .name = "Playback_2", 448 .name = "Playback_3", 457 .name = "Capture_1", 467 .name = "Capture_2", 476 .name = "Capture_3", 486 .name = "Capture_Mono_1", 495 .name = "Playback_HDMI", 504 .name = "Wake on Voice", 514 .name [all...] |
/third_party/glslang/SPIRV/ |
H A D | disassemble.cpp | 18 // Neither the name of 3Dlabs Inc. Ltd. nor the names of its 502 const char* name = idDescriptor[stream[word - 2]].c_str(); in disassembleInstruction() local 503 if (strcmp("OpenCL.std", name) == 0) { in disassembleInstruction() 505 } else if (strcmp("OpenCL.DebugInfo.100", name) == 0) { in disassembleInstruction() 507 } else if (strcmp("NonSemantic.DebugPrintf", name) == 0) { in disassembleInstruction() 509 } else if (strcmp("NonSemantic.Shader.DebugInfo.100", name) == 0) { in disassembleInstruction() 511 } else if (strcmp(spv::E_SPV_AMD_shader_ballot, name) == 0 || in disassembleInstruction() 512 strcmp(spv::E_SPV_AMD_shader_trinary_minmax, name) == 0 || in disassembleInstruction() 513 strcmp(spv::E_SPV_AMD_shader_explicit_vertex_parameter, name) == 0 || in disassembleInstruction() 514 strcmp(spv::E_SPV_AMD_gcn_shader, name) in disassembleInstruction() 665 GLSLextAMDGetDebugNames(const char* name, unsigned entrypoint) GLSLextAMDGetDebugNames() argument 707 GLSLextNVGetDebugNames(const char* name, unsigned entrypoint) GLSLextNVGetDebugNames() argument [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | json_c_generator.py | 80 void print_@name(const @name * obj, const char* s, int commaNeeded) { 150 temp = printVal.replace("@name", baseType) 168 if type.get('category') == 'struct' and type.get('structextends') is not None and type.get('name') in self.vkscFeatureList: 171 n = type.get('name') 201 if typeName.get("name") != "": 202 self.featureDict[typeName.get("name")] = feature.get("name") 203 self.vkscFeatureList.append(typeName.get("name")) 209 if self.vkscFeatureList.count(item.get("name")) > [all...] |
/third_party/icu/tools/colprobe/ |
H A D | colprobe.cpp | 138 (*(Line **)a)->name, (*(Line **)a)->len, in Winstrcmp() 139 (*(Line **)b)->name, (*(Line **)b)->len); in Winstrcmp() 147 (*(Line **)a)->name, (*(Line **)a)->len, in ICUstrcmp() 148 (*(Line **)b)->name, (*(Line **)b)->len); in ICUstrcmp() 155 const char* name; member 174 void usage(const char *name) { in usage() argument 175 u_fprintf(out, "Usage: %s --locale loc_name --platform platform\n", name); in usage() 192 if(strcmp(platform, platforms[i].name) == 0) { in addPlatform() 289 void printRules(const UChar *name, int32_t len, UFILE *file) { in printRules() argument 295 if(name[ in printRules() 317 escapeString(const UChar *name, int32_t len, UFILE *file) escapeString() argument 1496 setOutputFile(const char *name, UErrorCode &status) setOutputFile() argument [all...] |
/third_party/python/Lib/ |
H A D | doctest.py | 113 # info about where the docstring came from (name, filename, lineno). 132 def register_optionflag(name): 133 # Create a new flag unless `name` is already known. 134 return OPTIONFLAGS_BY_NAME.setdefault(name, 1 << len(OPTIONFLAGS_BY_NAME)) 200 module with that name. 330 # Get rid of everything except the exception name; in particular, drop 332 # any). We assume that a colon is never part of a dotted name, or of an 333 # exception name. 340 # The exception name must appear on the first line. 348 # retain just the exception name [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-trace.c | 100 const char *name; member 106 const char *name; member 371 static int evsel__init_tp_uint_field(struct evsel *evsel, struct tp_field *field, const char *name) in evsel__init_tp_uint_field() argument 373 struct tep_format_field *format_field = evsel__field(evsel, name); in evsel__init_tp_uint_field() 381 #define perf_evsel__init_sc_tp_uint_field(evsel, name) \ 383 evsel__init_tp_uint_field(evsel, &sc->name, #name); }) 385 static int evsel__init_tp_ptr_field(struct evsel *evsel, struct tp_field *field, const char *name) in evsel__init_tp_ptr_field() argument 387 struct tep_format_field *format_field = evsel__field(evsel, name); in evsel__init_tp_ptr_field() 395 #define perf_evsel__init_sc_tp_ptr_field(evsel, name) \ 1156 syscall_fmt__cmp(const void *name, const void *fmtp) syscall_fmt__cmp() argument 1162 __syscall_fmt__find(struct syscall_fmt *fmts, const int nmemb, const char *name) __syscall_fmt__find() argument 1167 syscall_fmt__find(const char *name) syscall_fmt__find() argument 1209 const char *name; global() member 1267 char *name; global() member 1667 syscall_arg_fmt__cmp(const void *name, const void *fmtp) syscall_arg_fmt__cmp() argument 1674 __syscall_arg_fmt__find_by_name(struct syscall_arg_fmt *fmts, const int nmemb, const char *name) __syscall_arg_fmt__find_by_name() argument 1679 syscall_arg_fmt__find_by_name(const char *name) syscall_arg_fmt__find_by_name() argument 1751 const char *name = syscalltbl__name(trace->sctbl, id); trace__read_syscall_info() local 3213 trace__find_bpf_map_by_name(struct trace *trace, const char *name) global() argument 3233 trace__find_bpf_program_by_title(struct trace *trace, const char *name) global() argument 4510 evsel__set_syscall_arg_fmt(struct evsel *evsel, const char *name) global() argument [all...] |
/third_party/selinux/libsepol/src/ |
H A D | kernel_to_conf.c | 366 char *name; in constraint_rules_to_strs() local 373 name = pdb->p_class_val_to_name[i]; in constraint_rules_to_strs() 374 rc = class_constraint_rules_to_strs(pdb, name, class, class->constraints, mls_strs, non_mls_strs); in constraint_rules_to_strs() 391 char *name; in validatetrans_rules_to_strs() local 398 name = pdb->p_class_val_to_name[i]; in validatetrans_rules_to_strs() 399 rc = class_validatetrans_rules_to_strs(pdb, name, class->validatetrans, mls_strs, non_mls_strs); in validatetrans_rules_to_strs() 439 char *name; in write_class_decl_rules_to_conf() local 443 name = pdb->p_class_val_to_name[i]; in write_class_decl_rules_to_conf() 444 sepol_printf(out, "class %s\n", name); in write_class_decl_rules_to_conf() 552 char *name, *perm in write_class_and_common_rules_to_conf() local 798 char *name, *prev, *alias; write_sensitivity_rules_to_conf() local 929 char *name, *alias; write_category_rules_to_conf() local 1107 char *name, *cats; write_level_rules_to_conf() local 1173 const char *name; write_polcap_rules_to_conf() local 1213 char *name; write_type_attributes_to_conf() local 1258 char *name; write_role_attributes_to_conf() local 1344 char *name; write_type_decl_rules_to_conf() local 1412 char *name; write_type_alias_rules_to_conf() local 1587 char *name, *attrs; write_type_attribute_sets_to_conf() local 1643 char *name; write_type_permissive_rules_to_conf() local 2171 char *name, *types, *p1, *p2; write_role_decl_rules_to_conf() local 2332 char *name, *roles, *level, *range; write_user_decl_rules_to_conf() local 2498 char *name, *ctx; write_selinux_fsuse_rules_to_conf() local 2537 char *fstype, *name, *ctx; write_genfscon_rules_to_conf() local 2668 char *name, *ctx1, *ctx2; write_selinux_netif_rules_to_conf() local 3040 char *name, *ctx; write_xen_devicetree_rules_to_conf() local [all...] |
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/type/ |
H A D | sa_byte_type_emitter.cpp | 52 void SaByteTypeEmitter::EmitCppWriteVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, in EmitCppWriteVar() argument 55 sb.Append(prefix).AppendFormat("if (!%sWriteInt32(%s)) {\n", parcelName.c_str(), name.c_str()); in EmitCppWriteVar() 57 sb.Append(prefix).Append(TAB).AppendFormat("HiLog::Error(LABEL, \"Write [%s] failed!\");\n", name.c_str()); in EmitCppWriteVar() 63 void SaByteTypeEmitter::EmitCppReadVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, in EmitCppReadVar() argument 68 name.c_str(), EmitCppType(TypeMode::LOCAL_VAR).c_str(), parcelName.c_str()); in EmitCppReadVar() 70 sb.Append(prefix).AppendFormat("%s = (%s)%sReadInt32();\n", name.c_str(), in EmitCppReadVar() 75 void SaByteTypeEmitter::EmitTsWriteVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, in EmitTsWriteVar() argument 78 sb.Append(prefix).AppendFormat("%s.writeInt(%s);\n", parcelName.c_str(), name.c_str()); in EmitTsWriteVar() 81 void SaByteTypeEmitter::EmitTsReadVar(const std::string &parcelName, const std::string &name, in EmitTsReadVar() argument 84 sb.Append(prefix).AppendFormat("let %s = %s.readInt();\n", name in EmitTsReadVar() [all...] |
H A D | sa_short_type_emitter.cpp | 52 void SaShortTypeEmitter::EmitCppWriteVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, in EmitCppWriteVar() argument 55 sb.Append(prefix).AppendFormat("if (!%sWriteInt32(%s)) {\n", parcelName.c_str(), name.c_str()); in EmitCppWriteVar() 57 sb.Append(prefix).Append(TAB).AppendFormat("HiLog::Error(LABEL, \"Write [%s] failed!\");\n", name.c_str()); in EmitCppWriteVar() 63 void SaShortTypeEmitter::EmitCppReadVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, in EmitCppReadVar() argument 68 name.c_str(), EmitCppType(TypeMode::PARAM_IN).c_str(), parcelName.c_str()); in EmitCppReadVar() 70 sb.Append(prefix).AppendFormat("%s = (%s)%sReadInt32();\n", name.c_str(), in EmitCppReadVar() 75 void SaShortTypeEmitter::EmitTsWriteVar(const std::string &parcelName, const std::string &name, StringBuilder &sb, in EmitTsWriteVar() argument 78 sb.Append(prefix).AppendFormat("%s.writeInt(%s);\n", parcelName.c_str(), name.c_str()); in EmitTsWriteVar() 81 void SaShortTypeEmitter::EmitTsReadVar(const std::string &parcelName, const std::string &name, in EmitTsReadVar() argument 84 sb.Append(prefix).AppendFormat("let %s = %s.readInt();\n", name in EmitTsReadVar() [all...] |
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/type/ |
H A D | hdi_native_buffer_type_emitter.h | 31 void EmitCWriteVar(TypeMode mode, const std::string &name, const std::string &gotoLabel,
34 void EmitCProxyReadVar(const std::string &name, bool isInnerType, const std::string &gotoLabel, StringBuilder &sb,
37 void EmitCStubReadVar(const std::string &name, const std::string &gotoLabel, StringBuilder &sb,
40 void EmitCppWriteVar(const std::string &parcelName, const std::string &name, StringBuilder &sb,
43 void EmitCppReadVar(const std::string &name, StringBuilder &sb, const std::string &prefix,
46 void EmitCMarshalling(const std::string &name, StringBuilder &sb, const std::string &prefix) const override;
48 void EmitCUnMarshalling(const std::string &name, const std::string &gotoLabel, StringBuilder &sb,
51 void EmitCppMarshalling(const std::string &parcelName, const std::string &name, StringBuilder &sb,
54 void EmitCppUnMarshalling(const std::string &parcelName, const std::string &name, StringBuilder &sb,
57 void EmitMemoryRecycle(const std::string &name, boo [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_service_state_machine.h | 38 * @param name State's name. 42 A2dpState(const std::string &name, utility::StateMachine &stateMachine) : State(name, stateMachine) in A2dpState() argument 56 * @param name State's name. 60 A2dpDisconnected(const std::string &name, utility::StateMachine &stateMachine) : A2dpState(name, stateMachine){}; in A2dpDisconnected() argument 87 * @param name State's name 91 A2dpDisconnecting(const std::string &name, utility::StateMachine &stateMachine) A2dpDisconnecting() argument 124 A2dpConnected(const std::string &name, utility::StateMachine &stateMachine) A2dpConnected() argument 166 A2dpConnecting(const std::string &name, utility::StateMachine &stateMachine) A2dpConnecting() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | gpu_resource_util_vk.cpp | 46 const IDevice& device, const VkObjectType objectType, const uint64_t castedHandle, const string_view name) in DebugObjectNameVk() 52 objectType, castedHandle, name.data() }; in DebugObjectNameVk() 57 void DebugBufferNameVk(const IDevice& device, const GpuBuffer& buffer, const string_view name) in DebugBufferNameVk() argument 65 VK_OBJECT_TYPE_BUFFER, VulkanHandleCast<uint64_t>(plat.buffer), name.data() }; in DebugBufferNameVk() 71 void DebugImageNameVk(const IDevice& device, const GpuImage& image, const string_view name) in DebugImageNameVk() argument 79 VK_OBJECT_TYPE_IMAGE, VulkanHandleCast<uint64_t>(plat.image), name.data() }; in DebugImageNameVk() 84 VK_OBJECT_TYPE_IMAGE_VIEW, VulkanHandleCast<uint64_t>(plat.imageView), name.data() }; in DebugImageNameVk() 89 VK_OBJECT_TYPE_IMAGE_VIEW, VulkanHandleCast<uint64_t>(plat.imageViewBase), name.data() }; in DebugImageNameVk() 95 void DebugSamplerNameVk(const IDevice& device, const GpuSampler& sampler, const string_view name) in DebugSamplerNameVk() argument 103 VK_OBJECT_TYPE_SAMPLER, VulkanHandleCast<uint64_t>(plat.sampler), name in DebugSamplerNameVk() 45 DebugObjectNameVk( const IDevice& device, const VkObjectType objectType, const uint64_t castedHandle, const string_view name) DebugObjectNameVk() argument [all...] |