Home
last modified time | relevance | path

Searched refs:nums (Results 1 - 8 of 8) sorted by relevance

/base/sensors/sensor/services/hdi_connection/hardware/src/
H A Dhdi_service_impl.cpp157 std::vector<float> nums(4); in GenerateHeadPostureEvent()
159 nums[0] = distr(eng); in GenerateHeadPostureEvent()
160 nums[1] = distr(eng); in GenerateHeadPostureEvent()
161 nums[2] = distr(eng); in GenerateHeadPostureEvent()
162 nums[3] = distr(eng); in GenerateHeadPostureEvent()
163 sort(nums.begin(), nums.end()); in GenerateHeadPostureEvent()
164 if ((std::fabs(nums[1] - nums[0]) > std::numeric_limits<float>::epsilon()) && in GenerateHeadPostureEvent()
165 (std::fabs(nums[ in GenerateHeadPostureEvent()
[all...]
/base/hiviewdfx/hiappevent/interfaces/native/kits/include/hiappevent/
H A Dhiappevent.h61 * int32_t nums[] = {1, 2, 3};
62 * OH_HiAppEvent_AddInt32ArrayParam(list, "int32_arr_key", nums, sizeof(nums) / sizeof(nums[0]));
261 * @param nums The int8_t array value of the param to be added.
267 ParamList OH_HiAppEvent_AddInt8ArrayParam(ParamList list, const char* name, const int8_t* nums, int arrSize);
286 * @param nums The int16_t array value of the param to be added.
292 ParamList OH_HiAppEvent_AddInt16ArrayParam(ParamList list, const char* name, const int16_t* nums, int arrSize);
311 * @param nums The int32_t array value of the param to be added.
317 ParamList OH_HiAppEvent_AddInt32ArrayParam(ParamList list, const char* name, const int32_t* nums, in
[all...]
/base/hiviewdfx/hiappevent/frameworks/native/ndk/
H A Dhiappevent_ndk.c184 ParamList OH_HiAppEvent_AddInt8ArrayParam(ParamList list, const char* name, const int8_t* nums, int arrSize) in OH_HiAppEvent_AddInt8ArrayParam() argument
186 if (list == NULL || name == NULL || nums == NULL) { in OH_HiAppEvent_AddInt8ArrayParam()
189 return ADD_INT8_ARR_PARAM(list, name, nums, arrSize); in OH_HiAppEvent_AddInt8ArrayParam()
200 ParamList OH_HiAppEvent_AddInt16ArrayParam(ParamList list, const char* name, const int16_t* nums, int arrSize) in OH_HiAppEvent_AddInt16ArrayParam() argument
202 if (list == NULL || name == NULL || nums == NULL) { in OH_HiAppEvent_AddInt16ArrayParam()
205 return ADD_INT16_ARR_PARAM(list, name, nums, arrSize); in OH_HiAppEvent_AddInt16ArrayParam()
216 ParamList OH_HiAppEvent_AddInt32ArrayParam(ParamList list, const char* name, const int32_t* nums, int arrSize) in OH_HiAppEvent_AddInt32ArrayParam() argument
218 if (list == NULL || name == NULL || nums == NULL) { in OH_HiAppEvent_AddInt32ArrayParam()
221 return ADD_INT32_ARR_PARAM(list, name, nums, arrSize); in OH_HiAppEvent_AddInt32ArrayParam()
232 ParamList OH_HiAppEvent_AddInt64ArrayParam(ParamList list, const char* name, const int64_t* nums, in argument
248 OH_HiAppEvent_AddFloatArrayParam(ParamList list, const char* name, const float* nums, int arrSize) OH_HiAppEvent_AddFloatArrayParam() argument
264 OH_HiAppEvent_AddDoubleArrayParam(ParamList list, const char* name, const double* nums, int arrSize) OH_HiAppEvent_AddDoubleArrayParam() argument
[all...]
/base/hiviewdfx/hilog_lite/frameworks/mini/
H A Dhiview_log.c109 void HiLogPrintf(uint8 module, uint8 level, const char *nums, const char *fmt, ...) in HiLogPrintf() argument
113 int32 argsNum = (nums - FUN_ARG_S); in HiLogPrintf()
146 void HILOG_HashPrintf(uint8 module, uint8 level, const char *nums, uint32 hash, ...) in HILOG_HashPrintf() argument
149 int32 argsNum = (nums - FUN_ARG_S); in HILOG_HashPrintf()
/base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite/
H A Dhiview_log.h192 * @param nums Parameters automatically generated by macro.
196 void HiLogPrintf(uint8 module, uint8 level, const char *nums,
411 * @param nums Parameters automatically generated by macro.
415 void HILOG_HashPrintf(uint8 module, uint8 level, const char *nums, uint32 hash, ...);
421 * @param nums Parameters automatically generated by macro.
436 * @param nums Parameters automatically generated by macro.
451 * @param nums Parameters automatically generated by macro.
466 * @param nums Parameters automatically generated by macro.
481 * @param nums Parameters automatically generated by macro.
/base/global/i18n_lite/frameworks/i18n/src/
H A Dnumber_data.cpp235 std::string nums[NUM_SIZE] = NUMBER_SIGN; in NumberData() local
236 SetNumSystem(nums, NUM_SIZE); in NumberData()
/base/hiviewdfx/hiview/base/test/unittest/common/
H A Dsys_event_test.cpp38 std::string TransNumberVecToStr(const std::vector<T>& nums) in TransNumberVecToStr() argument
41 if (nums.empty()) { in TransNumberVecToStr()
45 for (auto num : nums) { in TransNumberVecToStr()
/base/notification/distributed_notification_service/services/test/moduletest/
H A Dans_module_test.cpp1777 uint64_t nums = 0; in HWTEST_F() local
1778 g_advancedNotificationService->GetActiveNotificationNums(nums); in HWTEST_F()
1827 uint64_t nums = 0; in HWTEST_F() local
1828 g_advancedNotificationService->GetActiveNotificationNums(nums); in HWTEST_F()
1829 EXPECT_EQ(nums, 0); in HWTEST_F()

Completed in 10 milliseconds