Home
last modified time | relevance | path

Searched refs:name (Results 2626 - 2650 of 63911) sorted by relevance

1...<<101102103104105106107108109110>>...2557

/foundation/ability/ability_runtime/frameworks/native/appkit/app_startup/
H A Dstartup_manager.cpp31 int32_t StartupManager::RegisterStartupTask(const std::string &name, const std::shared_ptr<StartupTask> &startupTask) in RegisterStartupTask() argument
33 auto result = startupTasks_.emplace(name, startupTask); in RegisterStartupTask()
35 TAG_LOGE(AAFwkTag::STARTUP, "%{public}s exist", name.c_str()); in RegisterStartupTask()
146 int32_t StartupManager::RemoveResult(const std::string &name) in RemoveResult() argument
148 TAG_LOGD(AAFwkTag::STARTUP, "called, name: %{public}s", name.c_str()); in RemoveResult()
149 auto findResult = startupTasks_.find(name); in RemoveResult()
151 TAG_LOGE(AAFwkTag::STARTUP, "%{public}s not found", name.c_str()); in RemoveResult()
157 int32_t StartupManager::GetResult(const std::string &name, std::shared_ptr<StartupTaskResult> &result) in GetResult() argument
159 TAG_LOGD(AAFwkTag::STARTUP, "called, name in GetResult()
174 IsInitialized(const std::string &name, bool &isInitialized) IsInitialized() argument
197 AddStartupTask(const std::string &name, std::map<std::string, std::shared_ptr<StartupTask>> &taskMap) AddStartupTask() argument
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/src/utils/
H A Ddatabase_utils.cpp84 str.append(split + columnInfo.name); in TitleToStr()
123 static int32_t GetStrFromResultSet(const std::string &name, ResultSetDataType type, in GetStrFromResultSet() argument
126 if (name == MEDIA_DATA_DB_URI) { in GetStrFromResultSet()
140 str = get<std::string>(ResultSetUtils::GetValFromColumn(name, resultSet, type)); in GetStrFromResultSet()
144 int32_t int32Value = get<int32_t>(ResultSetUtils::GetValFromColumn(name, resultSet, type)); in GetStrFromResultSet()
149 int64_t int64Value = get<int64_t>(ResultSetUtils::GetValFromColumn(name, resultSet, type)); in GetStrFromResultSet()
154 double doubleValue = get<double>(ResultSetUtils::GetValFromColumn(name, resultSet, type)); in GetStrFromResultSet()
179 status = GetStrFromResultSet(columnInfo.name, columnInfo.type, resultSet, strValue); in FieldToStr()
181 printf("%s field to string failed. status:%d, type:%d, name:%s.\n", STR_FAIL.c_str(), in FieldToStr()
182 status, columnInfo.type, columnInfo.name in FieldToStr()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Dreconfig.c95 kfree(prop->name); in release_prop_list()
106 * @name: return value; set to property name in buf
110 * Note that the caller must make copies of the name and value returned,
112 * is set to the next name in buf, or NULL on error.
114 static char * parse_next_property(char *buf, char *end, char **name, int *length, in parse_next_property() argument
119 *name = buf; in parse_next_property()
164 /* and now we should be on the next name, or the end */ in parse_next_property()
168 static struct property *new_property(const char *name, const int length, in new_property() argument
176 if (!(new->name in new_property()
196 char *path, *end, *name; do_add_node() local
277 char *name, *end; do_add_property() local
320 char *name, *end, *next_prop; do_update_property() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dreconfig.c95 kfree(prop->name); in release_prop_list()
106 * @name: return value; set to property name in buf
110 * Note that the caller must make copies of the name and value returned,
112 * is set to the next name in buf, or NULL on error.
114 static char * parse_next_property(char *buf, char *end, char **name, int *length, in parse_next_property() argument
119 *name = buf; in parse_next_property()
164 /* and now we should be on the next name, or the end */ in parse_next_property()
168 static struct property *new_property(const char *name, const int length, in new_property() argument
176 if (!(new->name in new_property()
196 char *path, *end, *name; do_add_node() local
277 char *name, *end; do_add_property() local
320 char *name, *end, *next_prop; do_update_property() local
[all...]
/kernel/linux/linux-5.10/drivers/macintosh/
H A Dwindfarm_core.c62 .name = "windfarm",
153 DBG("wf: Deleting control %s\n", ct->name); in wf_control_release()
215 if (!strcmp(ct->name, new_ct->name)) { in wf_register_control()
217 " duplicate control %s\n", ct->name); in wf_register_control()
226 new_ct->attr.attr.name = new_ct->name; in wf_register_control()
232 " for %s\n", new_ct->name); in wf_register_control()
235 DBG("wf: Registered control %s\n", new_ct->name); in wf_register_control()
250 DBG("wf: Unregistered control %s\n", ct->name); in wf_unregister_control()
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/berlin/
H A Dberlin.c47 return pctrl->desc->groups[group].name; in berlin_pinctrl_get_group_name()
117 return pctrl->functions[function].name; in berlin_pinmux_get_function_name()
140 while (function->name) { in berlin_pinctrl_find_function_by_name()
141 if (!strcmp(function->name, fname)) in berlin_pinctrl_find_function_by_name()
159 func->name); in berlin_pinmux_set()
181 const char *name) in berlin_pinctrl_add_function()
185 while (function->name) { in berlin_pinctrl_add_function()
186 if (!strcmp(function->name, name)) { in berlin_pinctrl_add_function()
193 function->name in berlin_pinctrl_add_function()
180 berlin_pinctrl_add_function(struct berlin_pinctrl *pctrl, const char *name) berlin_pinctrl_add_function() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dcgroup.c19 static int open_cgroup(const char *name) in open_cgroup() argument
29 scnprintf(path, PATH_MAX, "%s/%s", mnt, name); in open_cgroup()
47 if (!strcmp(counter->cgrp->name, str)) in evlist__find_cgroup()
54 static struct cgroup *cgroup__new(const char *name, bool do_open) in cgroup__new() argument
61 cgroup->name = strdup(name); in cgroup__new()
62 if (!cgroup->name) in cgroup__new()
66 cgroup->fd = open_cgroup(name); in cgroup__new()
77 zfree(&cgroup->name); in cgroup__new()
83 struct cgroup *evlist__findnew_cgroup(struct evlist *evlist, const char *name) in evlist__findnew_cgroup() argument
244 char *name = strndup(str, e - str); evlist__expand_cgroup() local
[all...]
/kernel/linux/linux-5.10/drivers/pci/endpoint/
H A Dpci-epf-core.c178 while (id->name[0]) { in pci_epf_add_cfs()
179 group = pci_ep_cfs_add_epf_group(id->name); in pci_epf_add_cfs()
239 * @name: the name of the PCI EPF device. This name will be used to bind the
242 * Invoke to create a new PCI EPF device by providing the name of the function
245 struct pci_epf *pci_epf_create(const char *name) in pci_epf_create() argument
256 len = strchrnul(name, '.') - name; in pci_epf_create()
257 epf->name in pci_epf_create()
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A Dmotorola-cpcap.c94 .name = "cpcap-m2",
103 .name = "cpcap-m2",
112 .name = "cpcap1-4",
206 { .name = "cpcap", },
207 { .name = "6556002", },
246 .name = "cpcap_adc",
249 .name = "cpcap_battery",
252 .name = "cpcap-charger",
255 .name = "cpcap-regulator",
258 .name
[all...]
H A Dsec-core.c29 { .name = "s5m8767-pmic", },
30 { .name = "s5m-rtc", },
32 .name = "s5m8767-clk",
38 { .name = "s2mps11-regulator", },
39 { .name = "s2mps14-rtc", },
41 .name = "s2mps11-clk",
47 { .name = "s2mps13-regulator", },
48 { .name = "s2mps13-rtc", },
50 .name = "s2mps13-clk",
56 { .name
[all...]
/kernel/linux/linux-6.6/drivers/platform/chrome/
H A Dchromeos_acpi.c37 char name[ACPI_ATTR_NAME_LEN + 1]; \
40 ret = parse_attr_name(attr->attr.name, name, &num); \
43 return chromeos_acpi_evaluate_method(dev, _num, num, name, buf); \
62 .name = _name, \
71 int pkg_num, int sub_pkg_num, char *name, char *buf) in chromeos_acpi_handle_package()
119 dev_info_once(dev, "truncating sysfs content for %s\n", name); in chromeos_acpi_handle_package()
130 char *name, char *buf) in chromeos_acpi_evaluate_method()
136 status = acpi_evaluate_object(ACPI_HANDLE(dev), name, NULL, &output); in chromeos_acpi_evaluate_method()
138 dev_err(dev, "failed to retrieve %s. %s\n", name, acpi_format_exceptio in chromeos_acpi_evaluate_method()
70 chromeos_acpi_handle_package(struct device *dev, union acpi_object *obj, int pkg_num, int sub_pkg_num, char *name, char *buf) chromeos_acpi_handle_package() argument
129 chromeos_acpi_evaluate_method(struct device *dev, int pkg_num, int sub_pkg_num, char *name, char *buf) chromeos_acpi_evaluate_method() argument
150 parse_attr_name(const char *name, char *attr_name, int *attr_num) parse_attr_name() argument
178 char *name = "GPIO"; get_gpio_pkg_num() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/qcom/
H A Dlpasscorecc-sc7280.c55 .name = "lpass_core_cc_dig_pll",
78 .name = "lpass_core_cc_dig_pll_out_odd",
93 .name = "lpass_core_cc_dig_pll_out_main_div_clk_src",
141 .name = "lpass_core_cc_core_clk_src",
173 .name = "lpass_core_cc_ext_if0_clk_src",
187 .name = "lpass_core_cc_ext_if1_clk_src",
201 .name = "lpass_core_cc_ext_mclk0_clk_src",
217 .name = "lpass_core_cc_core_clk",
235 .name = "lpass_core_cc_ext_if0_ibit_clk",
253 .name
[all...]
H A Dvideocc-sdm845.c38 .name = "video_pll0",
40 .fw_name = "bi_tcxo", .name = "bi_tcxo",
56 { .fw_name = "bi_tcxo", .name = "bi_tcxo" },
58 /* { .name = "video_pll0_out_even" }, */
59 /* { .name = "video_pll0_out_odd" }, */
79 .name = "video_cc_venus_clk_src",
94 .name = "video_cc_apb_clk",
107 .name = "video_cc_at_clk",
120 .name = "video_cc_qdss_trig_clk",
133 .name
[all...]
H A Ddispcc-sm8250.c62 .name = "disp_cc_pll0",
90 .name = "disp_cc_pll1",
218 .name = "disp_cc_mdss_ahb_clk_src",
237 .name = "disp_cc_mdss_byte0_clk_src",
251 .name = "disp_cc_mdss_byte1_clk_src",
266 .name = "disp_cc_mdss_dp_aux1_clk_src",
281 .name = "disp_cc_mdss_dp_aux_clk_src",
295 .name = "disp_cc_mdss_dp_link1_clk_src",
308 .name = "disp_cc_mdss_dp_link_clk_src",
321 .name
[all...]
/kernel/linux/linux-6.6/drivers/pinctrl/berlin/
H A Dberlin.c47 return pctrl->desc->groups[group].name; in berlin_pinctrl_get_group_name()
117 return pctrl->functions[function].name; in berlin_pinmux_get_function_name()
140 while (function->name) { in berlin_pinctrl_find_function_by_name()
141 if (!strcmp(function->name, fname)) in berlin_pinctrl_find_function_by_name()
159 func->name); in berlin_pinmux_set()
181 const char *name) in berlin_pinctrl_add_function()
185 while (function->name) { in berlin_pinctrl_add_function()
186 if (!strcmp(function->name, name)) { in berlin_pinctrl_add_function()
193 function->name in berlin_pinctrl_add_function()
180 berlin_pinctrl_add_function(struct berlin_pinctrl *pctrl, const char *name) berlin_pinctrl_add_function() argument
[all...]
/kernel/linux/linux-6.6/drivers/macintosh/
H A Dwindfarm_core.c60 .name = "windfarm",
151 DBG("wf: Deleting control %s\n", ct->name); in wf_control_release()
213 if (!strcmp(ct->name, new_ct->name)) { in wf_register_control()
215 " duplicate control %s\n", ct->name); in wf_register_control()
224 new_ct->attr.attr.name = new_ct->name; in wf_register_control()
230 " for %s\n", new_ct->name); in wf_register_control()
233 DBG("wf: Registered control %s\n", new_ct->name); in wf_register_control()
248 DBG("wf: Unregistered control %s\n", ct->name); in wf_unregister_control()
[all...]
/third_party/glfw/src/
H A Dlinux_joystick.c166 char name[256] = ""; in openJoystickDevice() local
168 if (ioctl(linjs.fd, EVIOCGNAME(sizeof(name)), name) < 0) in openJoystickDevice()
169 strncpy(name, "Unknown", sizeof(name)); in openJoystickDevice()
186 name[0], name[1], name[2], name[3], in openJoystickDevice()
187 name[ in openJoystickDevice()
[all...]
/third_party/curl/lib/
H A Dheaders.c48 h->name = hs->name; in copy_header_external()
62 const char *name, in curl_easy_header()
75 if(!name || !hout || !data || in curl_easy_header()
89 if(strcasecompare(hs->name, name) && in curl_easy_header()
108 if(strcasecompare(hs->name, name) && in curl_easy_header()
119 /* this is the name we want */ in curl_easy_header()
170 /* count number of occurrences of this name withi in curl_easy_nextheader()
61 curl_easy_header(CURL *easy, const char *name, size_t nameindex, unsigned int type, int request, struct curl_header **hout) curl_easy_header() argument
187 namevalue(char *header, size_t hlen, unsigned int type, char **name, char **value) namevalue() argument
281 char *name = NULL; Curl_headers_push() local
367 curl_easy_header(CURL *easy, const char *name, size_t index, unsigned int origin, int request, struct curl_header **hout) curl_easy_header() argument
[all...]
/third_party/node/lib/internal/crypto/
H A Dutil.js120 const getArrayBufferOrView = hideStackFrames((buffer, name, encoding) => {
130 name,
278 function validateMaxBufferLength(data, name) {
281 `${name} must be less than ${kMaxBufferLength + 1} bits`,
293 return normalizeAlgorithm({ name: algorithm }, op);
305 let algName = initialAlg.name;
321 throw lazyDOMException('Unrecognized algorithm name', 'NotSupportedError');
325 return { name: algName };
333 normalizedAlgorithm.name = algName;
388 function validateBitLength(length, name, require
[all...]
/third_party/node/deps/v8/src/logging/
H A Dcode-events.h14 #include "src/objects/name.h"
39 V(SNAPSHOT_CODE_NAME_EVENT, snapshot-code-name) \
77 const char* name) = 0;
79 Handle<Name> name) = 0;
89 wasm::WasmName name, const char* source_url,
93 virtual void CallbackEvent(Handle<Name> name, Address entry_point) = 0;
94 virtual void GetterCallbackEvent(Handle<Name> name, Address entry_point) = 0;
95 virtual void SetterCallbackEvent(Handle<Name> name, Address entry_point) = 0;
160 Handle<Name> name) override {
162 listener->CodeCreateEvent(tag, code, name);
[all...]
/third_party/rust/crates/autocfg/src/
H A Dlib.rs212 .arg("--crate-name") in probe()
246 pub fn probe_sysroot_crate(&self, name: &str) -> bool { in probe_sysroot_crate()
247 self.probe(format!("extern crate {} as probe;", name)) // `as _` wasn't stabilized until Rust 1.33 in probe_sysroot_crate()
252 pub fn emit_sysroot_crate(&self, name: &str) { in emit_sysroot_crate()
253 if self.probe_sysroot_crate(name) { in emit_sysroot_crate()
254 emit(&format!("has_{}", mangle(name))); in emit_sysroot_crate()
293 pub fn probe_trait(&self, name: &str) -> bool { in probe_trait()
294 self.probe(format!("pub trait Probe: {} + Sized {{}}", name)) in probe_trait()
300 /// Any non-identifier characters in the trait `name` will be replaced with
302 pub fn emit_has_trait(&self, name
[all...]
/third_party/pulseaudio/src/pulse/
H A Dscache.c40 const char *name; in pa_stream_connect_upload() local
51 if (!(name = pa_proplist_gets(s->proplist, PA_PROP_EVENT_ID))) in pa_stream_connect_upload()
52 name = pa_proplist_gets(s->proplist, PA_PROP_MEDIA_NAME); in pa_stream_connect_upload()
54 PA_CHECK_VALIDITY(s->context, name && *name && pa_utf8_valid(name), PA_ERR_INVALID); in pa_stream_connect_upload()
63 pa_tagstruct_puts(t, name); in pa_stream_connect_upload()
168 pa_operation *pa_context_play_sample(pa_context *c, const char *name, const char *dev, pa_volume_t volume, pa_context_success_cb_t cb, void *userdata) { in pa_context_play_sample() argument
178 PA_CHECK_VALIDITY_RETURN_NULL(c, name && *name, PA_ERR_INVALI in pa_context_play_sample()
208 pa_context_play_sample_with_proplist(pa_context *c, const char *name, const char *dev, pa_volume_t volume, const pa_proplist *p, pa_context_play_sample_cb_t cb, void *userdata) pa_context_play_sample_with_proplist() argument
251 pa_context_remove_sample(pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata) pa_context_remove_sample() argument
[all...]
/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dfile_parser.py29 # pylint:disable=huawei-redefined-outer-name
55 """ Convert a C++ header file name to a C API header file name. """
60 """ Convert a C++ CamelCaps name to a C API underscore name. """
78 # if the prefix name is duplicated in the function name
79 # remove that portion of the function name
91 name. """
105 def get_comment(body, name)
[all...]
/third_party/node/deps/v8/third_party/jinja2/
H A Dcompiler.py79 node, environment, name, filename, stream=None, defer_init=False, optimized=True
85 environment, name, filename, stream, defer_init, optimized
155 # is buffered this variable points to the name of the list used as
159 # the name of the block we're in, otherwise None.
208 self.filters.add(node.name)
212 self.tests.add(node.name)
219 """A visitor that checks if a name is accessed without being
229 if node.ctx == "load" and node.name in self.names:
230 self.undeclared.add(node.name)
234 self.names.discard(node.name)
[all...]
/third_party/skia/third_party/externals/jinja2/
H A Dcompiler.py79 node, environment, name, filename, stream=None, defer_init=False, optimized=True
85 environment, name, filename, stream, defer_init, optimized
155 # is buffered this variable points to the name of the list used as
159 # the name of the block we're in, otherwise None.
208 self.filters.add(node.name)
212 self.tests.add(node.name)
219 """A visitor that checks if a name is accessed without being
229 if node.ctx == "load" and node.name in self.names:
230 self.undeclared.add(node.name)
234 self.names.discard(node.name)
[all...]

Completed in 20 milliseconds

1...<<101102103104105106107108109110>>...2557