/third_party/libfuse/lib/ |
H A D | fuse_lowlevel.c | 280 const char *name, const struct stat *stbuf, off_t off) 288 namelen = strlen(name); 300 memcpy(dirent->name, name, namelen); 301 memset(dirent->name + namelen, 0, entlen_padded - entlen); 370 const char *name, 378 namelen = strlen(name); 393 memcpy(dirent->name, name, namelen); 394 memset(dirent->name 279 fuse_add_direntry(fuse_req_t req, char *buf, size_t bufsize, const char *name, const struct stat *stbuf, off_t off) global() argument 369 fuse_add_direntry_plus(fuse_req_t req, char *buf, size_t bufsize, const char *name, const struct fuse_entry_param *e, off_t off) global() argument 1100 char *name = (char *) inarg; global() local 1230 char *name = PARAM(arg); global() local 1258 char *name = (char *) inarg; global() local 1268 char *name = (char *) inarg; global() local 1278 char *name = (char *) inarg; global() local 1329 char *name = PARAM(arg); global() local 1593 char *name = xattr_ext ? PARAM(arg) : global() local 1627 char *name = (char *) inarg; global() local 2332 fuse_lowlevel_notify_entry(struct fuse_session *se, fuse_ino_t parent, const char *name, size_t namelen, enum fuse_notify_entry_flags flags) global() argument 2359 fuse_lowlevel_notify_inval_entry(struct fuse_session *se, fuse_ino_t parent, const char *name, size_t namelen) global() argument 2365 fuse_lowlevel_notify_expire_entry(struct fuse_session *se, fuse_ino_t parent, const char *name, size_t namelen) global() argument 2378 fuse_lowlevel_notify_delete(struct fuse_session *se, fuse_ino_t parent, fuse_ino_t child, const char *name, size_t namelen) global() argument 2565 const char *name; global() member [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Context.cpp | 762 return mState.renderbuffer.name(); in getRenderbufferName() 798 return mState.arrayBuffer.name(); in getArrayBufferName() 804 return elementArrayBuffer ? elementArrayBuffer->name : 0; in getElementArrayBufferName() 828 return queryObject->name; in getActiveQuery() 950 // Returns an unused framebuffer name 961 // Returns an unused query name 967 // Returns an unused vertex array name 980 // Returns an unused transform feedback name 986 // Returns an unused sampler name 1063 if(getCurrentVertexArray()->name in deleteVertexArray() 4372 validateSharedImage(EGLenum target, GLuint name, GLuint textureLevel) validateSharedImage() argument 4449 createSharedImage(EGLenum target, GLuint name, GLuint textureLevel) createSharedImage() argument [all...] |
/third_party/backends/backend/ |
H A D | umax.c | 1551 if (umax_scsi_open(scanner->device->sane.name, scanner->device, sense_handler, in umax_set_lamp_status() 1554 DBG(DBG_error, "ERROR: umax_set_lamp_status: open of %s failed:\n", scanner->device->sane.name); in umax_set_lamp_status() 4723 if (strcmp(dev->sane.name, devicename) == 0) /* scanner is already listed */ in attach_scanner() 4868 dev->sane.name = dev->devicename; in attach_scanner() 5044 scanner->opt[OPT_NUM_OPTS].name = SANE_NAME_NUM_OPTIONS; /* empty string */ in init_options() 5107 scanner->opt[OPT_MODE].name = SANE_NAME_SCAN_MODE; in init_options() 5117 scanner->opt[OPT_SOURCE].name = SANE_NAME_SCAN_SOURCE; in init_options() 5127 scanner->opt[OPT_X_RESOLUTION].name = SANE_NAME_SCAN_RESOLUTION; in init_options() 5137 scanner->opt[OPT_Y_RESOLUTION].name = SANE_NAME_SCAN_Y_RESOLUTION; in init_options() 5148 scanner->opt[OPT_RESOLUTION_BIND].name in init_options() 5915 attach_one_scsi(const char *name) attach_one_scsi() argument 5924 attach_one_usb(const char *name) attach_one_usb() argument 6441 SANE_String_Const name; sane_control_option() local [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | descriptor_unittest.cc | 15 // * Neither the name of Google Inc. nor the names of its 74 const std::string& name) { in AddMessage() 76 result->set_name(name); in AddMessage() 81 const std::string& name) { in AddNestedMessage() 83 result->set_name(name); in AddNestedMessage() 88 const std::string& name) { in AddEnum() 90 result->set_name(name); in AddEnum() 95 const std::string& name) { in AddNestedEnum() 97 result->set_name(name); in AddNestedEnum() 102 const std::string& name) { in AddService() 73 AddMessage(FileDescriptorProto* file, const std::string& name) AddMessage() argument 80 AddNestedMessage(DescriptorProto* parent, const std::string& name) AddNestedMessage() argument 87 AddEnum(FileDescriptorProto* file, const std::string& name) AddEnum() argument 94 AddNestedEnum(DescriptorProto* parent, const std::string& name) AddNestedEnum() argument 101 AddService(FileDescriptorProto* file, const std::string& name) AddService() argument 108 AddField(DescriptorProto* parent, const std::string& name, int number, FieldDescriptorProto::Label label, FieldDescriptorProto::Type type) AddField() argument 119 AddExtension(FileDescriptorProto* file, const std::string& extendee, const std::string& name, int number, FieldDescriptorProto::Label label, FieldDescriptorProto::Type type) AddExtension() argument 133 AddNestedExtension(DescriptorProto* parent, const std::string& extendee, const std::string& name, int number, FieldDescriptorProto::Label label, FieldDescriptorProto::Type type) AddNestedExtension() argument 171 AddEnumValue(EnumDescriptorProto* enum_proto, const std::string& name, int number) AddEnumValue() argument 179 AddMethod(ServiceDescriptorProto* service, const std::string& name, const std::string& input_type, const std::string& output_type) AddMethod() argument 192 AddEmptyEnum(FileDescriptorProto* file, const std::string& name) AddEmptyEnum() argument 193 AddEnumValue(AddEnum(file, name), name + "_DUMMY", 1); AddEmptyEnum() local 592 const std::string& name = debug_strings[i].first; TEST_F() local 7048 FullMatch(const std::string& name, const std::string& begin_with, const std::string& end_with, int* file_num) FullMatch() argument [all...] |
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/ |
H A D | appevent_watcher_impl.cpp | 43 free(const_cast<char*>(info.name)); in FreeCAppEventInfo() 86 const std::string& name, in AppEventWatcherImpl() 88 : HiviewDFX::AppEventWatcher(name, filters, cond), context_(nullptr) {} in AppEventWatcherImpl() 341 free(retValue[i].name); in FreeRetValue() 372 retValue1[index].name = MallocCString(it.first); in getEventGroups() 378 free(retValue1[index].name); in getEventGroups() 384 retValue2[i].name = MallocCString(it.second[i]->GetName()); in getEventGroups() 85 AppEventWatcherImpl( const std::string& name, const std::vector<AppEventFilter>& filters, TriggerCondition cond) AppEventWatcherImpl() argument
|
/base/inputmethod/imf/frameworks/kits/extension/src/ |
H A D | js_inputmethod_extension.cpp | 112 moduleName.append("::").append(abilityInfo_->name); in Init() 352 napi_value JsInputMethodExtension::CallObjectMethod(const char *name, const napi_value *argv, size_t argc) in CallObjectMethod() argument 354 IMSA_HILOGI("JsInputMethodExtension::CallObjectMethod(%{public}s), start.", name); in CallObjectMethod() 370 napi_get_named_property(env, obj, name, &method); in CallObjectMethod() 372 IMSA_HILOGE("failed to get '%{public}s' from InputMethodExtension object!", name); in CallObjectMethod() 375 IMSA_HILOGI("JsInputMethodExtension::CallFunction(%{public}s), success.", name); in CallObjectMethod() 394 srcPath.append("/").append(Extension::abilityInfo_->name).append(".abc"); in GetSrcPath()
|
/base/hiviewdfx/hidumper/test/unittest/common/ |
H A D | hidumper_configutils_test.cpp | 48 * @tc.name: HidumperConfigUtils001 79 * @tc.name: HidumperConfigUtils002 125 * @tc.name: HidumperConfigUtils003 126 * @tc.desc: Test GetDumper by name. 131 std::string name; in HWTEST_F() local 136 DumpStatus ret = configUtils.GetDumper(name, result, args); in HWTEST_F() 139 name = DUMPER_NAME; in HWTEST_F() 141 ret = configUtils.GetDumper(name, result, args); in HWTEST_F() 145 ASSERT_TRUE(result[0]->name_ == name); in HWTEST_F() 149 * @tc.name 307 std::string name = "configUtil test"; HWTEST_F() local [all...] |
/base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
H A D | app_account_manager_service_sync_module_test.cpp | 29 const std::string STRING_NAME = "name"; 74 string testCaseName = string(testinfo->name()); in SetUp() 101 * @tc.name: AppAccountManagerServiceSync_AddAccount_0200 132 std::string name; in HWTEST_F() local 133 appAccountInfoPtr->GetName(name); in HWTEST_F() 134 EXPECT_EQ(name, STRING_NAME); in HWTEST_F() 141 * @tc.name: AppAccountManagerServiceSync_DeleteAccount_0100 173 * @tc.name: AppAccountManagerServiceSync_DeleteAccount_0200 205 * @tc.name: AppAccountManagerServiceSync_SetAccountExtraInfo_0300 248 std::string name; in HWTEST_F() local [all...] |
/base/global/i18n/frameworks/zone/src/ |
H A D | zone_util.cpp | 337 if (!cur || xmlStrcmp(cur->name, reinterpret_cast<const xmlChar *>(ROOT_TAG)) != 0) {
in GetCountryZones() 345 while (cur != nullptr && xmlStrcmp(cur->name, reinterpret_cast<const xmlChar *>(SECOND_TAG)) == 0) {
in GetCountryZones() 347 if (xmlStrcmp(value->name, reinterpret_cast<const xmlChar*>(CODE_TAG)) != 0) {
in GetCountryZones() 378 if (value == nullptr || xmlStrcmp(value->name, reinterpret_cast<const xmlChar*>(DEFAULT_TAG)) != 0) {
in GetDefaultAndBoost() 392 if (xmlStrcmp(value->name, reinterpret_cast<const xmlChar *>(BOOSTED_TAG)) == 0) {
in GetDefaultAndBoost() 403 if (xmlStrcmp(value->name, reinterpret_cast<const xmlChar *>(TIMEZONES_TAG)) != 0) {
in GetTimezones() 409 if (xmlStrcmp(value->name, reinterpret_cast<const xmlChar *>(ID_TAG)) != 0) {
in GetTimezones()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
H A D | dfx_dumprequest.c | 305 static void SetSelfThreadParam(const char* name, int priority) in SetSelfThreadParam() argument 307 pthread_setname_np(pthread_self(), name); in SetSelfThreadParam() local 313 static bool WaitProcessExit(int childPid, const char* name) in WaitProcessExit() argument 319 DFXLOGI("(%{public}ld) wait %{public}s(%{public}d) exit.", syscall(SYS_gettid), name, childPid); in WaitProcessExit() 342 syscall(SYS_gettid), name, childPid, ret, status); in WaitProcessExit() 345 DFXLOGI("wait %{public}s(%{public}d) exit code: %{public}d", name, childPid, exitCode); in WaitProcessExit() 348 DFXLOGI("wait %{public}s(%{public}d) exit with sig: %{public}d", name, childPid, sigNum); in WaitProcessExit()
|
/base/print/print_fwk/frameworks/kits/extension/src/ |
H A D | js_print_extension.cpp | 89 moduleName.append("::").append(abilityInfo_->name); in InitExtensionObj() 256 napi_value JsPrintExtension::CallObjectMethod(const char *name, napi_value const *argv, size_t argc) in CallObjectMethod() argument 258 PRINT_HILOGD("jws JsPrintExtension::CallObjectMethod(%{public}s), begin", name); in CallObjectMethod() 275 napi_get_named_property(nativeEngine, obj, name, &method); in CallObjectMethod() 277 PRINT_HILOGE("Failed to get '%{public}s' from PrintExtension object", name); in CallObjectMethod() 280 PRINT_HILOGD("JsPrintExtension::napi_call_function(%{public}s), success", name); in CallObjectMethod() 296 srcPath.append("/").append(Extension::abilityInfo_->name).append(".abc"); in GetSrcPath()
|
/base/msdp/device_status/intention/cooperate/plugin/src/ |
H A D | cooperate_context.cpp | 391 void Context::StartTrace(const std::string &name) in StartTrace() argument 394 if (traces_.find(name) != traces_.end()) { in StartTrace() 397 traces_.emplace(name, std::chrono::steady_clock::now()); in StartTrace() 398 FI_HILOGI("[PERF] Start tracing \'%{public}s\'", name.c_str()); in StartTrace() 401 void Context::FinishTrace(const std::string &name) in FinishTrace() argument 404 if (auto iter = traces_.find(name); iter != traces_.end()) { in FinishTrace() 405 FI_HILOGI("[PERF] Finish tracing \'%{public}s\', elapsed:%{public}lld ms", name.c_str(), in FinishTrace()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/ |
H A D | cm_x509.c | 102 X509_NAME *name = func(x509cert); in ToStringName() local 103 if (name == NULL) { in ToStringName() 107 for (int i = 0; i < X509_NAME_entry_count(name); ++i) { in ToStringName() 108 X509_NAME_ENTRY *entry = X509_NAME_get_entry(name, i); in ToStringName() 170 X509_NAME *name = X509_get_subject_name(x509cert); in GetX509FirstSubjectProp() local 171 if (name == NULL) { in GetX509FirstSubjectProp() 172 CM_LOG_E("X509_get_subject_name get name faild"); in GetX509FirstSubjectProp() 175 X509_NAME_ENTRY *entry = X509_NAME_get_entry(name, 0); in GetX509FirstSubjectProp()
|
/base/startup/init/test/moduletest/ |
H A D | syspara_moduleTest.cpp | 180 // check param name length in HWTEST_F() 181 char key1[] = "test.param.name.xxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxx"; in HWTEST_F() 185 // check param name, Illegal param name in HWTEST_F() 186 char key2[] = ".test.param.name.xxxxx"; in HWTEST_F() 189 char key3[] = "test..param.name.xxxxx"; in HWTEST_F() 192 char key4[] = "test..param. .name"; in HWTEST_F() 195 // check param name, legal param name in HWTEST_F() 196 char key5[] = "test.param.name in HWTEST_F() 413 const char *name = "test.write.1111111.222222"; HWTEST_F() local 431 const char *name = "test.write.1111111.333333"; HWTEST_F() local [all...] |
/base/startup/appspawn/standard/ |
H A D | appspawn_appmgr.c | 130 return strcmp(node1->name, (char *)data); in AppInfoNameComparePro() 142 APPSPAWN_CHECK(g_appSpawnMgr != NULL && processName != NULL, return NULL, "Invalid mgr or process name"); in AddSpawnedProcess() 154 int ret = strcpy_s(node->name, len, processName); in AddSpawnedProcess() 156 return NULL, "Failed to strcpy process name"); in AddSpawnedProcess() 181 APPSPAWN_LOGI("ProcessAppDied %{public}s, pid=%{public}d", node->name, node->pid); in TerminateSpawnedProcess() 194 AppSpawnedProcess *GetSpawnedProcessByName(const char *name) in GetSpawnedProcessByName() argument 197 APPSPAWN_CHECK_ONLY_EXPER(name != NULL, return NULL); in GetSpawnedProcessByName() 199 ListNode *node = OH_ListFind(&g_appSpawnMgr->appQueue, (void *)name, AppInfoNameComparePro); in GetSpawnedProcessByName() 379 APPSPAPWN_DUMP("App info name: %{public}s exitStatus: 0x%{public}x spawn time: %{public}" PRIu64 " us ", in DumpAppQueue() 380 appInfo->name, appInf in DumpAppQueue() [all...] |
/base/startup/init/services/modules/seccomp/scripts/tools/ |
H A D | collect_elf_syscall.py | 73 cmd = 'find {} -name {}{}'.format(elf_path, elf_name, grep_unstrip)
88 name = item[item.find('[') + 1: item.find(']')]
89 if name == 'libc.so' or name == '':
91 elf_name.add(name)
101 name = item[item.find('UND') + 3:].strip()
102 if name != '':
103 func_name.add(name)
334 parser.add_argument('--elf-name', action='append',
340 parser.add_argument('--filter-name', typ [all...] |
/drivers/external_device_manager/services/native/driver_extension/src/ |
H A D | js_driver_extension.cpp | 141 moduleName.append("::").append(abilityInfo_->name); in Init() 304 napi_value JsDriverExtension::CallObjectMethod(napi_env env, const char* name, const napi_value* argv, size_t argc) in CallObjectMethod() argument 306 HILOG_INFO("JsDriverExtension::CallObjectMethod(%{public}s), begin", name); in CallObjectMethod() 315 napi_get_named_property(env, obj, name, &method); in CallObjectMethod() 319 HILOG_ERROR("Failed to get '%{public}s' from DriverExtension object", name); in CallObjectMethod() 322 HILOG_INFO("JsDriverExtension::CallFunction(%{public}s), success", name); in CallObjectMethod() 337 srcPath.append("/").append(Extension::abilityInfo_->name).append(".abc"); in GetSrcPath()
|
/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
H A D | cpp_custom_types_code_emitter.cpp | 296 std::string name = StringHelper::Format("%s.%s", objName.c_str(), memberName.c_str());
in EmitCustomTypeMarshallingImpl() local 297 memberType->EmitCppMarshalling("data", name, sb, TAB);
in EmitCustomTypeMarshallingImpl() 332 std::string name = StringHelper::Format("%s.%s", objName.c_str(), memberName.c_str());
in EmitCustomTypeUnmarshallingImpl() local 341 name.c_str(), memberType->EmitCppType().c_str(), cpName.c_str(),
in EmitCustomTypeUnmarshallingImpl() 344 name.c_str());
in EmitCustomTypeUnmarshallingImpl() 350 sb.Append(TAB).AppendFormat("%s = %s;\n", name.c_str(), cpName.c_str());
in EmitCustomTypeUnmarshallingImpl() 352 memberType->EmitCppUnMarshalling("data", name, sb, TAB, false);
in EmitCustomTypeUnmarshallingImpl()
|
/drivers/hdf_core/framework/utils/src/hcs_parser/ |
H A D | hcs_tree_if.c | 22 if ((attr->name != NULL) && (strcmp(attr->name, attrName) == 0)) { in GetAttrInNode() 115 HDF_LOGE("%s failed, the attr of %s is not array", __func__, attr->name); in GetArrayElem() 346 (attr->name != NULL) && (strcmp(attr->name, HCS_MATCH_ATTR) == 0)) { in GetAttrValueInNode() 390 if ((child->name != NULL) && (strcmp(nodeName, child->name) == 0)) { in HcsGetChildNode()
|
/drivers/peripheral/codec/hal/idl_service/src/ |
H A D | codec_component_config.cpp | 36 constexpr char CODEC_CONFIG_KEY_NAME[] = "name"; 84 node_.name = nullptr; in CodecComponentConfig() 192 CODEC_LOGE("failed to get mime for: %{public}s! Discarded", childNode.name); in GetOneCapability() 199 CODEC_LOGE("failed to get type for: %{public}s! Discarded", childNode.name); in GetOneCapability() 348 CODEC_LOGE("failed to get %{public}s.%{public}s!", childNode.name, nodeAttrs[i].attrName.c_str()); in GetVideoPortCapability() 360 CODEC_LOGE("failed to get %{public}s.%{public}s!", childNode.name, nodeAttrs[i].attrName.c_str()); in GetVideoPortCapability() 371 CODEC_LOGE("failed to get %{public}s maxLTRFrameNum!", childNode.name); in GetVideoPortCapability() 390 CODEC_LOGE("failed to get %{public}s.%{public}s!", childNode.name, arrayAttrs[i].attrName.c_str()); in GetAudioPortCapability()
|
/kernel/linux/linux-5.10/drivers/fsi/ |
H A D | fsi-occ.c | 43 char name[32]; member 514 .name = "occ-hwmon", in occ_probe() 544 snprintf(occ->name, sizeof(occ->name), "occ%d", occ->idx); in occ_probe() 547 occ->mdev.name = occ->name; in occ_probe() 586 .name = "occ",
|
/kernel/linux/linux-5.10/drivers/bus/mhi/host/ |
H A D | debugfs.c | 100 mhi_chan->name, mhi_chan->chan); in mhi_debugfs_channels_show() 109 mhi_chan->name, mhi_chan->chan, (chan_ctxt->chcfg & in mhi_debugfs_channels_show() 140 mhi_dev->name, mhi_dev->dev_type ? "Controller" : "Transfer", in mhi_device_info_show() 179 const char *name; in mhi_debugfs_regdump_show() member 215 for (i = 0; regs[i].name; i++) { in mhi_debugfs_regdump_show() 223 seq_printf(m, "%s: 0x%x\n", regs[i].name, val); in mhi_debugfs_regdump_show() 405 mhi_debugfs_root = debugfs_create_dir(mhi_bus_type.name, NULL); in mhi_debugfs_init()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | geode-aes.c | 193 const char *name = crypto_tfm_alg_name(tfm); in fallback_init_cip() local 196 tctx->fallback.cip = crypto_alloc_cipher(name, 0, in fallback_init_cip() 200 printk(KERN_ERR "Error allocating fallback algo %s\n", name); in fallback_init_cip() 239 const char *name = crypto_tfm_alg_name(&tfm->base); in geode_init_skcipher() local 243 crypto_alloc_skcipher(name, 0, CRYPTO_ALG_NEED_FALLBACK | in geode_init_skcipher() 246 printk(KERN_ERR "Error allocating fallback algo %s\n", name); in geode_init_skcipher() 426 .name = "Geode LX AES",
|
/kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
H A D | asymmetric_type.c | 367 * can be used to name the key if the user doesn't want to provide one. 383 pr_debug("Trying parser '%s'\n", parser->name); in asymmetric_key_preparse() 578 .name = "asymmetric", 605 if (strcmp(cursor->name, parser->name) == 0) { in register_asymmetric_key_parser() 607 parser->name); in register_asymmetric_key_parser() 615 pr_notice("Asymmetric key parser '%s' registered\n", parser->name); in register_asymmetric_key_parser() 634 pr_notice("Asymmetric key parser '%s' unregistered\n", parser->name); in unregister_asymmetric_key_parser()
|
/kernel/linux/linux-5.10/drivers/accessibility/speakup/ |
H A D | synth.c | 332 synth_res.name = synth->name; in synth_request_region() 373 if (strcmp(tmp->name, synth_name) == 0) in synth_init() 399 pr_warn("%s: device probe failed\n", in_synth->name); in do_synth_init() 417 if (synth->attributes.name && in do_synth_init() 435 pr_info("releasing synth %s\n", synth->name); in synth_release() 439 if (synth->attributes.name) in synth_release()
|