/base/hiviewdfx/faultloggerd/tools/crasher_c/ |
D | dfx_crasher.c | 348 const char *arg = (const char *)(inputArg); in DoCrashInThread() local 349 return (void *)((uint64_t)(ParseAndDoCrash(arg))); in DoCrashInThread() 352 uint64_t DoActionOnSubThread(const char *arg) in DoActionOnSubThread() argument 355 pthread_create(&t, NULL, DoCrashInThread, (char *)(arg)); in DoActionOnSubThread() 361 uint64_t ParseAndDoCrash(const char *arg) in ParseAndDoCrash() argument 364 if (!strncmp(arg, "thread-", strlen("thread-"))) { in ParseAndDoCrash() 365 return DoActionOnSubThread(arg + strlen("thread-")); in ParseAndDoCrash() 369 if (!strcasecmp(arg, "SIGFPE")) { in ParseAndDoCrash() 373 if (!strcasecmp(arg, "SIGILL")) { in ParseAndDoCrash() 377 if (!strcasecmp(arg, "triSIGILL")) { in ParseAndDoCrash() [all …]
|
D | dfx_crasher.h | 49 uint64_t DoActionOnSubThread(const char *arg); 50 uint64_t ParseAndDoCrash(const char *arg);
|
/base/hiviewdfx/faultloggerd/tools/crasher_cpp/ |
D | dfx_crasher.cpp | 365 const char* arg = (const char *)(inputArg); in DoCrashInThread() local 366 return (void*)(DfxCrasher::GetInstance().ParseAndDoCrash(arg)); in DoCrashInThread() 369 uint64_t DfxCrasher::DoActionOnSubThread(const char *arg) const in DoActionOnSubThread() 372 pthread_create(&t, nullptr, DfxCrasher::DoCrashInThread, const_cast<char*>(arg)); in DoActionOnSubThread() 378 uint64_t DfxCrasher::ParseAndDoCrash(const char *arg) in ParseAndDoCrash() argument 381 if (!strncmp(arg, "thread-", strlen("thread-"))) { in ParseAndDoCrash() 382 return DoActionOnSubThread(arg + strlen("thread-")); in ParseAndDoCrash() 388 if (!strcasecmp(arg, "SIGFPE")) { in ParseAndDoCrash() 392 if (!strcasecmp(arg, "SIGILL")) { in ParseAndDoCrash() 396 if (!strcasecmp(arg, "SIGSEGV")) { in ParseAndDoCrash() [all …]
|
D | dfx_crasher.h | 51 uint64_t DoActionOnSubThread(const char* arg) const; 52 uint64_t ParseAndDoCrash(const char* arg);
|
/base/update/updater/services/flashd/daemon/ |
D | flashd_main.cpp | 33 for (std::string arg : args) { in flashd_main() local 34 if (arg.find("-l") != std::string::npos) { in flashd_main() 35 int logLevel = atoi(arg.c_str() + strlen("-l")); in flashd_main() 39 … } else if (arg.find("-t") != std::string::npos || strncmp(modeSet, "tcp", 3) == 0) { // 3 tcp in flashd_main() 41 } else if (arg.find("-u") != std::string::npos) { in flashd_main()
|
/base/security/deviceauth/deps_adapter/os_adapter/impl/src/ |
D | hc_log.c | 54 va_list arg; in DevAuthLogPrint() local 55 va_start(arg, fmt); in DevAuthLogPrint() 56 ret = vsprintf_s(&outStr[ulPos], sizeof(outStr) - ulPos, fmt, arg); in DevAuthLogPrint() 57 va_end(arg); in DevAuthLogPrint()
|
/base/telephony/core_service/services/sim/src/ |
D | tag_service.cpp | 63 static int TagFunc(const uint8_t arg, const size_t order, std::string &tag) in TagFunc() argument 69 if (arg == BYTE_ZERO || arg == UINT8_MAX) { in TagFunc() 73 std::to_chars(buff, buff + CharLen, arg, TagService::HEX_TYPE); in TagFunc() 83 static int LengthFunc(const uint8_t arg, const size_t order, uint8_t &len) in LengthFunc() argument 87 if (arg < CHINESE_FLAG) { in LengthFunc() 88 len = arg; in LengthFunc() 90 } else if (arg == UCS_FLAG) { in LengthFunc() 96 len = arg; in LengthFunc()
|
/base/telephony/core_service/frameworks/js/napi/ |
D | napi_parameter_util.h | 59 napi_status NapiValueConverted(napi_env env, napi_value arg, T *val) in NapiValueConverted() argument 61 return napi_get_value_int32(env, arg, val); in NapiValueConverted() 65 napi_status NapiValueConverted(napi_env env, napi_value arg, T *ref) in NapiValueConverted() argument 67 return napi_create_reference(env, arg, 1, ref); in NapiValueConverted() 71 napi_status NapiValueConverted(napi_env env, napi_value arg, T *res) in NapiValueConverted() argument 73 return napi_get_value_bool(env, arg, res); in NapiValueConverted() 77 napi_status NapiValueConverted(napi_env env, napi_value arg, T *buf) in NapiValueConverted() argument 81 return napi_get_value_string_utf8(env, arg, buf, bufSize, &result); in NapiValueConverted() 85 napi_status NapiValueConverted(napi_env env, napi_value arg, T *npaiValue) in NapiValueConverted() argument 87 *npaiValue = arg; in NapiValueConverted() [all …]
|
/base/hiviewdfx/hilog_lite/command/ |
D | hilog_command.c | 163 int HilogLevelProc(const char* arg) in HilogLevelProc() argument 165 if (arg == NULL) { in HilogLevelProc() 169 if (strncmp(arg, PARA_AUTO, PARA_AUTO_LEN) == 0) { in HilogLevelProc() 172 char level = arg[0]; in HilogLevelProc() 176 int HilogDomainProc(const char* arg) in HilogDomainProc() argument 178 return SetOutputDomain(arg); in HilogDomainProc()
|
/base/update/packaging_tools/ |
D | build_update.py | 80 def type_check(arg): argument 86 if arg is not None and not os.path.exists(arg): 88 "FileNotFoundError, path: %s" % arg, UPDATE_LOGGER.ERROR_LOG) 90 return arg 93 def private_key_check(arg): argument 100 if arg != "ON_SERVER" and not os.path.isfile(arg): 102 "FileNotFoundError, path: %s" % arg, UPDATE_LOGGER.ERROR_LOG) 104 return arg 107 def check_update_package(arg): argument 115 if os.path.exists(arg): [all …]
|
/base/security/access_token/frameworks/com.ohos.permissionmanager/ |
D | gradlew | 148 for arg in "$@" ; do 149 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 150 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 153 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 155 eval `echo args$i`="\"$arg\""
|
/base/user_iam/face_auth/ui/Settings_FaceAuth/ |
D | gradlew | 148 for arg in "$@" ; do 149 CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 150 … CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 153 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 155 eval `echo args$i`="\"$arg\""
|
/base/compileruntime/js_worker_module/jsapi/worker/ |
D | thread.cpp | 23 int ret = uv_thread_create(&tId_, [](void* arg) { in Start() argument 24 Thread* thread = reinterpret_cast<Thread*>(arg); in Start()
|
/base/update/updateservice/client/ |
D | update_client.h | 138 static int32_t GetStringValue(napi_env env, napi_value arg, std::string &strValue); 168 int32_t ProcessUnsubscribe(const std::string &eventType, size_t argc, napi_value arg); 169 UpdateSession *FindSessionByHandle(napi_env env, const std::string &eventType, napi_value arg); 178 const napi_value arg, OHOS::update_engine::UpdatePolicy &updatePolicy) const; 184 …static int32_t GetInt32(napi_env env, napi_value arg, const std::string &attrName, int32_t &intVal… 185 …static int32_t GetInt64(napi_env env, napi_value arg, const std::string &attrName, int64_t &intVal… 186 static int32_t GetBool(napi_env env, napi_value arg, const std::string &attrName, bool &value); 188 …static int32_t SetString(napi_env env, napi_value arg, const std::string &attrName, const std::str… 189 …static int32_t SetInt32(napi_env env, napi_value arg, const std::string &attrName, int32_t intValu… 190 …static int32_t SetInt64(napi_env env, napi_value arg, const std::string &attrName, int64_t intValu… [all …]
|
D | update_client.cpp | 482 int32_t UpdateClient::ProcessUnsubscribe(const std::string &eventType, size_t argc, napi_value arg) in ProcessUnsubscribe() argument 507 } else if (listener->CheckEqual(env_, arg, eventType)) { in ProcessUnsubscribe() 517 …sion *UpdateClient::FindSessionByHandle(napi_env env, const std::string &eventType, napi_value arg) in FindSessionByHandle() argument 533 …if ((eventType.compare(listener->GetEventType()) == 0) && listener->CheckEqual(env_, arg, eventTyp… in FindSessionByHandle() 714 int32_t UpdateClient::GetInt32(napi_env env, napi_value arg, const std::string &attrName, int32_t &… in GetInt32() argument 717 napi_status status = napi_has_named_property(env, arg, attrName.c_str(), &result); in GetInt32() 720 napi_get_named_property(env, arg, attrName.c_str(), &value); in GetInt32() 726 int32_t UpdateClient::GetBool(napi_env env, napi_value arg, const std::string &attrName, bool &valu… in GetBool() argument 729 napi_status status = napi_has_named_property(env, arg, attrName.c_str(), &result); in GetBool() 732 napi_get_named_property(env, arg, attrName.c_str(), &obj); in GetBool() [all …]
|
/base/hiviewdfx/hicollie/frameworks/native/ |
D | xcollie.cpp | 38 void *arg, unsigned int flag) in SetTimer() argument 40 return XCollieInner::GetInstance().SetTimer(name, timeout, func, arg, flag); in SetTimer()
|
/base/iot_hardware/peripheral/interfaces/kits/ |
D | iot_gpio.h | 86 typedef void (*GpioIsrCallbackFunc) (char *arg); 186 GpioIsrCallbackFunc func, char *arg);
|
/base/account/os_account/services/accountmgr/src/ |
D | account_dump_helper.cpp | 112 bool AccountDumpHelper::ProcessOneParameter(const std::string& arg, std::string& result) const in ProcessOneParameter() argument 119 if (arg == ARGS_HELP) { in ProcessOneParameter() 121 } else if (arg == ARGS_ACCOUNT_INFO) { in ProcessOneParameter() 123 } else if (arg == ARGS_SHOW_LOG_LEVEL) { in ProcessOneParameter() 126 } else if (arg == ARGS_DUMP_PERF_STAT) { in ProcessOneParameter()
|
/base/startup/init_lite/initsync/src/ |
D | init_sync.c | 28 static int SendCmd(int cmd, unsigned long arg) in SendCmd() argument 32 int ret = ioctl(fd, cmd, arg); in SendCmd()
|
/base/update/updater/services/ |
D | updater_main.cpp | 68 for (const auto& arg : args) { in SetRetryCountToMisc() local 69 if (arg.find("--retry_count") == std::string::npos) { in SetRetryCountToMisc() 70 …UPDATER_ERROR_CHECK(!strncat_s(msg.update, sizeof(msg.update), arg.c_str(), strlen(arg.c_str()) + … in SetRetryCountToMisc() 243 for (const auto &arg : args) { in StartUpdater() local 244 extractedArgs.push_back(const_cast<char *>(arg.c_str())); in StartUpdater()
|
/base/miscservices/request/upload/frameworks/libs/src/ |
D | upload_task.cpp | 120 void UploadTask::Run(void *arg) in Run() argument 124 ((UploadTask*)arg)->OnRun(); in Run() 125 if (((UploadTask*)arg)->uploadConfig_->protocolVersion == "L5") { in Run() 126 if (((UploadTask*)arg)->uploadConfig_->fcomplete) { in Run() 127 ((UploadTask*)arg)->uploadConfig_->fcomplete(); in Run()
|
/base/hiviewdfx/hiview/adapter/service/idl/src/ |
D | hiview_service_ability.cpp | 37 for (const auto &arg : args) { in Dump() local 38 cmds.push_back(StringUtil::ConvertToUTF8(arg)); in Dump()
|
/base/location/location_passive/passive/source/ |
D | passive_ability.cpp | 101 …d::transform(args.begin(), args.end(), std::back_inserter(vecArgs), [](const std::u16string &arg) { in Dump() argument 102 return Str16ToStr8(arg); in Dump()
|
/base/location/location_geocode/geocode/source/ |
D | geo_convert_service.cpp | 102 …d::transform(args.begin(), args.end(), std::back_inserter(vecArgs), [](const std::u16string &arg) { in Dump() argument 103 return Str16ToStr8(arg); in Dump()
|
/base/powermgr/battery_manager/charger/include/ |
D | charger_thread.h | 41 void UpdateBatteryInfo(void* arg, char* msg) override; 42 void UpdateBatteryInfo(void* arg) override;
|