/base/security/device_auth/frameworks/src/lite/ |
D | ipc_dev_auth_stub.c | 130 ipcData->idx = SetRemoteObject(&tmp); in WithObject() 131 if (ipcData->idx >= 0) { in WithObject() 132 ipcData->val = (uint8_t *)(&(ipcData->idx)); in WithObject() 133 LOGI("object trans success, set id %d", ipcData->idx); in WithObject() 272 int32_t idx = -1; in SetRemoteObject() local 278 idx = i; in SetRemoteObject() 282 LOGI("remote object cache index %d", idx); in SetRemoteObject() 283 if (idx == -1) { in SetRemoteObject() 287 g_cbStub[idx].cbStub = *object; in SetRemoteObject() 288 g_cbStub[idx].cbDieId = 0; in SetRemoteObject() [all …]
|
/base/security/device_auth/frameworks/src/standard/ |
D | ipc_dev_auth_stub.cpp | 145 ipcData.idx = ServiceDevAuth::SetRemoteObject(tmp); in WithObject() 146 if (ipcData.idx >= 0) { in WithObject() 147 ipcData.val = reinterpret_cast<uint8_t *>(&(ipcData.idx)); in WithObject() 148 LOGI("object trans success, set id %d", ipcData.idx); in WithObject() 262 int32_t idx = -1; in SetRemoteObject() local 268 idx = i; in SetRemoteObject() 272 LOGI("remote object cache index %d", idx); in SetRemoteObject() 273 if (idx == -1) { in SetRemoteObject() 276 g_cbStub[idx].cbStub = object; in SetRemoteObject() 277 g_cbStub[idx].inUse = true; in SetRemoteObject() [all …]
|
/base/global/i18n/frameworks/intl/src/ |
D | preferred_language.cpp | 79 int idx = index; in AddPreferredLanguage() local 81 idx = 0; in AddPreferredLanguage() 84 idx = (int)preferredLanguageList.size(); in AddPreferredLanguage() 95 status = AddPreferredLanguageNonExist(preferredLanguageList, idx, language); in AddPreferredLanguage() 97 if (idx == (int)preferredLanguageList.size()) { in AddPreferredLanguage() 98 idx -= 1; in AddPreferredLanguage() 100 status = AddPreferredLanguageExist(preferredLanguageList, languageIdx, idx, language); in AddPreferredLanguage() 124 int idx = index; in RemovePreferredLanguage() local 126 idx = 0; in RemovePreferredLanguage() 129 idx = (int)preferredLanguageList.size() - 1; in RemovePreferredLanguage() [all …]
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/ |
D | dfx_processdump_test.cpp | 107 string::size_type idx; in CheckKeyWords() local 113 idx = t.at(i).find(keywords[j]); in CheckKeyWords() 114 if (idx != string::npos) { in CheckKeyWords() 257 string::size_type idx; variable 260 idx = dumpRes.find(log[i]); 261 if (idx != string::npos) { 286 string::size_type idx; variable 289 idx = dumpRes.find(log[i]); 290 if (idx != string::npos) { 317 string::size_type idx; variable [all …]
|
/base/update/packaging_tools/ |
D | image_class.py | 58 for idx, each_name in enumerate(self.full_img_list): 60 self.full_image_path_list[idx]) 61 img_name = self.full_img_name_list[idx][:-4] 152 for idx, value in enumerate(care_value_list): 153 if idx != 0 and (idx + 1) % 2 == 0: 154 be_value = int(care_value_list[idx - 1]) 155 af_value = int(care_value_list[idx]) 225 idx = bisect.bisect_right(self.offset_index, each_value) - 1 227 self.offset_value_list[idx] 364 idx = bisect.bisect_right(self.offset_index, start) - 1 [all …]
|
D | update_package.py | 183 idx = 0 185 if idx < len(extend_component_list): 186 file_path = extend_path_list[idx] 189 all_image_file_obj_list[idx - len(extend_component_list)].name 196 component_list[idx].digest = (ctypes.c_ubyte * 32).from_buffer_copy( 198 component_list[idx].file_path = file_path.encode("utf-8") 200 component_list[idx].component_addr = \ 203 component_list[idx].component_addr = \ 205 component_list[idx].version = component[4].encode("utf-8") 206 component_list[idx].size = os.path.getsize(file_path) [all …]
|
D | script_generator.py | 296 for idx, _ in enumerate(incremental_img_list): 298 if OPTIONS_MANAGER.two_step and incremental_img_list[idx] == TWO_STEP: 302 file_obj = OPTIONS_MANAGER.incremental_image_file_obj_list[idx] 306 for idx, _ in enumerate(full_img_list): 308 if OPTIONS_MANAGER.two_step and full_img_list[idx] == TWO_STEP: 311 file_obj = OPTIONS_MANAGER.full_image_file_obj_list[idx] 325 for idx, each_img in enumerate(all_img_list): 326 temp_progress = current_progress + adjusted_proportion_value_list[idx] 399 for idx, each_cmd in enumerate(verse_script_content_list[1:]):
|
/base/update/updater/utils/include/ |
D | macros.h | 76 #define GET_MEMBER_DECLARTION(idx, tuple) GET_TYPE tuple GET_NAME tuple; argument 77 #define GET_MEMBER_KEY(idx, tuple) GET_KEY tuple COMMA_IF(idx) argument 78 #define GET_MEMBER(idx, tuple) obj.GET_NAME tuple COMMA_IF(idx) argument 94 template <std::size_t idx> constexpr static auto &Get(NAME &obj) \ 96 return Detail::Get<idx>(REPEAT(GET_MEMBER, __VA_ARGS__)); \
|
/base/hiviewdfx/faultloggerd/test/systemtest/src/ |
D | faultloggerd_system_test.cpp | 274 string::size_type idx; in CheckKeywords() local 279 idx = t.at(i).find(keywords[j]); in CheckKeywords() 280 if (idx != string::npos) { in CheckKeywords() 811 string::size_type idx; variable 815 idx = msg.find(log[j]); 817 if (idx != string::npos) { 898 string::size_type idx; variable 902 idx = msg.find(log[j]); 904 if (idx != string::npos) { 947 string::size_type idx; variable [all …]
|
/base/usb/usb_manager/interfaces/innerkits/native/include/ |
D | usb_config.h | 49 for (uint32_t idx = 0; idx < interfaces.size(); ++idx) { in USBConfig() local 50 interfaces_.emplace_back(interfaces[idx]); in USBConfig() 149 void SetiConfiguration(uint8_t idx) in SetiConfiguration() argument 151 this->iConfiguration_ = idx; in SetiConfiguration()
|
D | usb_interface.h | 56 for (uint32_t idx = 0; idx < endpoints.size(); ++idx) { in UsbInterface() local 57 endpoints_.emplace_back(endpoints[idx]); in UsbInterface() 169 void SetiInterface(uint8_t idx) in SetiInterface() argument 171 this->iInterface_ = idx; in SetiInterface()
|
D | usb_device.h | 65 for (uint32_t idx = 0; idx < configs.size(); ++idx) { in UsbDevice() local 66 configs_.emplace_back(configs[idx]); in UsbDevice()
|
/base/hiviewdfx/faultloggerd/test/unittest/dump_catcher/ |
D | dumpcatcher_interfaces_test.cpp | 177 string::size_type idx; variable 182 idx = msg.find(log[j]); 184 if (idx != string::npos) { 259 string::size_type idx; variable 264 idx = msg.find(log[j]); 266 if (idx != string::npos) { 305 string::size_type idx; variable 310 idx = msg.find(log[j]); 312 if (idx != string::npos) { 343 string::size_type idx; variable [all …]
|
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/ |
D | huks_adapter.c | 456 uint32_t idx = 0; in ConstructImportSymmetricKeyParam() local 471 importParam[idx].tag = HKS_TAG_KEY_AUTH_ID; in ConstructImportSymmetricKeyParam() 472 importParam[idx++].blob = authIdBlob; in ConstructImportSymmetricKeyParam() 473 importParam[idx].tag = HKS_TAG_KEY_ROLE; in ConstructImportSymmetricKeyParam() 474 importParam[idx++].uint32Param = roleInfoUnion.roleInfo; in ConstructImportSymmetricKeyParam() 483 importParam[idx].tag = HKS_TAG_ALGORITHM; in ConstructImportSymmetricKeyParam() 484 importParam[idx++].uint32Param = HKS_ALG_AES; in ConstructImportSymmetricKeyParam() 485 importParam[idx].tag = HKS_TAG_KEY_SIZE; in ConstructImportSymmetricKeyParam() 486 importParam[idx++].uint32Param = keyLen * BITS_PER_BYTE; in ConstructImportSymmetricKeyParam() 487 importParam[idx].tag = HKS_TAG_PADDING; in ConstructImportSymmetricKeyParam() [all …]
|
/base/update/updater/services/ui/driver/ |
D | input_event.cpp | 128 uint32_t idx = sta[i].devIndex; in HdfInit() local 129 … if ((idx == 0) || (g_inputInterface->iInputManager->OpenInputDevice(idx) == INPUT_FAILURE)) { in HdfInit() 133 LOG(INFO) << "hdf devType:" << sta[i].devType << ", devIndex:" << idx; in HdfInit()
|
/base/startup/init/ueventd/ |
D | ueventd.c | 146 size_t idx = 0; in HandleRequiredDynamicDeviceNodes() local 152 while (idx < sizeof(DYNAMIC_DEVICES) / sizeof(DYNAMIC_DEVICES[0])) { in HandleRequiredDynamicDeviceNodes() 153 if (strcmp(uevent->deviceName, DYNAMIC_DEVICES[idx].dev + DEV_NODE_PATH_PREFIX_LEN) != 0) { in HandleRequiredDynamicDeviceNodes() 154 idx++; in HandleRequiredDynamicDeviceNodes() 165 if (mknod(DYNAMIC_DEVICES[idx].dev, DYNAMIC_DEVICES[idx].mode, in HandleRequiredDynamicDeviceNodes() 167 … INIT_LOGE("Create device node %s failed. %s", DYNAMIC_DEVICES[idx].dev, strerror(errno)); in HandleRequiredDynamicDeviceNodes()
|
/base/update/updater/utils/json/ |
D | json_node.cpp | 142 const JsonNode &JsonNode::operator[](int idx) const in operator []() 149 if (idx < 0 || idx >= size_) { in operator []() 152 return *nodeVec[idx]; in operator []()
|
D | traits_util.h | 61 template<std::size_t idx, typename...T> 64 return std::get<idx>(std::forward_as_tuple(t...));
|
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/ |
D | huks_adapter.c | 1282 uint32_t idx = 0; in ConstructImportSymmetricKeyParam() local 1297 importParam[idx].tag = HKS_TAG_KEY_AUTH_ID; in ConstructImportSymmetricKeyParam() 1298 importParam[idx++].blob = authIdBlob; in ConstructImportSymmetricKeyParam() 1299 importParam[idx].tag = HKS_TAG_KEY_ROLE; in ConstructImportSymmetricKeyParam() 1300 importParam[idx++].uint32Param = roleInfoUnion.roleInfo; in ConstructImportSymmetricKeyParam() 1309 importParam[idx].tag = HKS_TAG_ALGORITHM; in ConstructImportSymmetricKeyParam() 1310 importParam[idx++].uint32Param = HKS_ALG_AES; in ConstructImportSymmetricKeyParam() 1311 importParam[idx].tag = HKS_TAG_KEY_SIZE; in ConstructImportSymmetricKeyParam() 1312 importParam[idx++].uint32Param = keyLen * BITS_PER_BYTE; in ConstructImportSymmetricKeyParam() 1313 importParam[idx].tag = HKS_TAG_PADDING; in ConstructImportSymmetricKeyParam() [all …]
|
/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/ |
D | signal_handler_test.cpp | 110 string::size_type idx; in CheckKeyWords() local 116 idx = t.at(i).find(keywords[j]); in CheckKeyWords() 117 if (idx != string::npos) { in CheckKeyWords()
|
/base/security/device_auth/frameworks/inc/lite/ |
D | ipc_dev_auth_stub.h | 42 void ResetRemoteObject(int32_t idx);
|
/base/startup/init/services/param/watcher/agent/ |
D | watcher_manager_kits.h | 79 ParameterChangeListener *GetParameterListener(uint32_t *idx); 80 void RemoveParameterListener(uint32_t idx);
|
D | watcher_manager_kits.cpp | 215 …its::ParameterChangeListener *WatcherManagerKits::ParamWatcher::GetParameterListener(uint32_t *idx) in GetParameterListener() argument 218 uint32_t index = *idx; in GetParameterListener() 225 *idx = index; in GetParameterListener() 233 void WatcherManagerKits::ParamWatcher::RemoveParameterListener(uint32_t idx) in RemoveParameterListener() argument 236 auto it = parameterChangeListeners.find(idx); in RemoveParameterListener()
|
/base/security/device_auth/frameworks/deviceauth_lite/source/json/ |
D | jsonutil.c | 132 json_pobject get_array_idx(json_pobject obj, int32_t idx) in get_array_idx() argument 135 return cJSON_GetArrayItem(obj, idx); in get_array_idx()
|
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/ |
D | n_func_arg.h | 73 napi_value operator[](size_t idx) const;
|