/kernel/linux/linux-6.6/drivers/iio/test/ |
H A D | iio-test-format.c | 47 int values[2]; in iio_test_iio_format_value_fixedpoint() local 55 values[0] = 1; in iio_test_iio_format_value_fixedpoint() 56 values[1] = 10; in iio_test_iio_format_value_fixedpoint() 58 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO, ARRAY_SIZE(values), values); in iio_test_iio_format_value_fixedpoint() 61 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_MICRO_DB, ARRAY_SIZE(values), values); in iio_test_iio_format_value_fixedpoint() 64 ret = iio_format_value(buf, IIO_VAL_INT_PLUS_NANO, ARRAY_SIZE(values), values); in iio_test_iio_format_value_fixedpoint() 68 values[ in iio_test_iio_format_value_fixedpoint() 108 int values[2]; iio_test_iio_format_value_fractional() local 148 int values[2]; iio_test_iio_format_value_fractional_log2() local 188 int values[] = {1, -2, 3, -4, 5}; iio_test_iio_format_value_multiple() local 202 int values[2]; iio_test_iio_format_value_integer_64() local [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | values.c | 9 #include "values.h" 12 int perf_read_values_init(struct perf_read_values *values) in perf_read_values_init() argument 14 values->threads_max = 16; in perf_read_values_init() 15 values->pid = malloc(values->threads_max * sizeof(*values->pid)); in perf_read_values_init() 16 values->tid = malloc(values->threads_max * sizeof(*values->tid)); in perf_read_values_init() 17 values in perf_read_values_init() 47 perf_read_values_destroy(struct perf_read_values *values) perf_read_values_destroy() argument 65 perf_read_values__enlarge_threads(struct perf_read_values *values) perf_read_values__enlarge_threads() argument 88 perf_read_values__findnew_thread(struct perf_read_values *values, u32 pid, u32 tid) perf_read_values__findnew_thread() argument 117 perf_read_values__enlarge_counters(struct perf_read_values *values) perf_read_values__enlarge_counters() argument 162 perf_read_values__findnew_counter(struct perf_read_values *values, u64 rawid, const char *name) perf_read_values__findnew_counter() argument 184 perf_read_values_add_value(struct perf_read_values *values, u32 pid, u32 tid, u64 rawid, const char *name, u64 value) perf_read_values_add_value() argument 201 perf_read_values__display_pretty(FILE *fp, struct perf_read_values *values) perf_read_values__display_pretty() argument 249 perf_read_values__display_raw(FILE *fp, struct perf_read_values *values) perf_read_values__display_raw() argument 299 perf_read_values_display(FILE *fp, struct perf_read_values *values, int raw) perf_read_values_display() argument [all...] |
H A D | counts.c | 14 struct xyarray *values; in perf_counts__new() local 16 values = xyarray__new(ncpus, nthreads, sizeof(struct perf_counts_values)); in perf_counts__new() 17 if (!values) { in perf_counts__new() 22 counts->values = values; in perf_counts__new() 24 values = xyarray__new(ncpus, nthreads, sizeof(bool)); in perf_counts__new() 25 if (!values) { in perf_counts__new() 26 xyarray__delete(counts->values); in perf_counts__new() 31 counts->loaded = values; in perf_counts__new() 41 xyarray__delete(counts->values); in perf_counts__delete() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | values.c | 9 #include "values.h" 12 int perf_read_values_init(struct perf_read_values *values) in perf_read_values_init() argument 14 values->threads_max = 16; in perf_read_values_init() 15 values->pid = malloc(values->threads_max * sizeof(*values->pid)); in perf_read_values_init() 16 values->tid = malloc(values->threads_max * sizeof(*values->tid)); in perf_read_values_init() 17 values in perf_read_values_init() 47 perf_read_values_destroy(struct perf_read_values *values) perf_read_values_destroy() argument 65 perf_read_values__enlarge_threads(struct perf_read_values *values) perf_read_values__enlarge_threads() argument 88 perf_read_values__findnew_thread(struct perf_read_values *values, u32 pid, u32 tid) perf_read_values__findnew_thread() argument 117 perf_read_values__enlarge_counters(struct perf_read_values *values) perf_read_values__enlarge_counters() argument 162 perf_read_values__findnew_counter(struct perf_read_values *values, u64 rawid, const char *name) perf_read_values__findnew_counter() argument 184 perf_read_values_add_value(struct perf_read_values *values, u32 pid, u32 tid, u64 rawid, const char *name, u64 value) perf_read_values_add_value() argument 201 perf_read_values__display_pretty(FILE *fp, struct perf_read_values *values) perf_read_values__display_pretty() argument 249 perf_read_values__display_raw(FILE *fp, struct perf_read_values *values) perf_read_values__display_raw() argument 299 perf_read_values_display(FILE *fp, struct perf_read_values *values, int raw) perf_read_values_display() argument [all...] |
H A D | counts.c | 15 struct xyarray *values; in perf_counts__new() local 17 values = xyarray__new(ncpus, nthreads, sizeof(struct perf_counts_values)); in perf_counts__new() 18 if (!values) { in perf_counts__new() 23 counts->values = values; in perf_counts__new() 25 values = xyarray__new(ncpus, nthreads, sizeof(bool)); in perf_counts__new() 26 if (!values) { in perf_counts__new() 27 xyarray__delete(counts->values); in perf_counts__new() 32 counts->loaded = values; in perf_counts__new() 42 xyarray__delete(counts->values); in perf_counts__delete() [all...] |
/base/update/updateservice/services/firmware/data/db/src/ |
H A D | firmware_task_operator.cpp | 43 NativeRdb::ValuesBucket values; in UpdateProgressByTaskId() local 44 values.PutInt(COLUMN_TASK_STATUS, CAST_INT(status)); in UpdateProgressByTaskId() 45 values.PutInt(COLUMN_TASK_PROGRESS, progress); in UpdateProgressByTaskId() 46 return UpdateByTaskId(taskId, values); in UpdateProgressByTaskId() 51 NativeRdb::ValuesBucket values; in UpdateErrMsgByTaskId() local 52 values.PutInt(COLUMN_TASK_ERROR_CODE, errorCode); in UpdateErrMsgByTaskId() 53 values.PutString(COLUMN_TASK_ERROR_MSG, errorMsg); in UpdateErrMsgByTaskId() 54 return UpdateByTaskId(taskId, values); in UpdateErrMsgByTaskId() 59 NativeRdb::ValuesBucket values; in UpdateDownloadTaskIdByTaskId() local 60 values in UpdateDownloadTaskIdByTaskId() 67 NativeRdb::ValuesBucket values; UpdateCombinationTypeByTaskId() local 74 NativeRdb::ValuesBucket values; UpdateDownloadModeByTaskId() local 81 NativeRdb::ValuesBucket values; UpdateDownloadAllowNetworkByTaskId() local 88 NativeRdb::ValuesBucket values; UpdateDownloadOrderByTaskId() local 96 NativeRdb::ValuesBucket values; UpdateDownloadOptionByTaskId() local 105 NativeRdb::ValuesBucket values; UpdateUpgradeModeByTaskId() local 112 NativeRdb::ValuesBucket values; UpdateUpgradeOrderByTaskId() local 117 UpdateByTaskId(const std::string &taskId, const NativeRdb::ValuesBucket &values) UpdateByTaskId() argument [all...] |
/base/security/access_token/services/privacymanager/src/record/ |
H A D | permission_record.cpp | 23 void PermissionRecord::TranslationIntoGenericValues(const PermissionRecord& record, GenericValues& values) in TranslationIntoGenericValues() argument 25 values.Put(PrivacyFiledConst::FIELD_TOKEN_ID, static_cast<int32_t>(record.tokenId)); in TranslationIntoGenericValues() 26 values.Put(PrivacyFiledConst::FIELD_OP_CODE, record.opCode); in TranslationIntoGenericValues() 27 values.Put(PrivacyFiledConst::FIELD_STATUS, record.status); in TranslationIntoGenericValues() 28 values.Put(PrivacyFiledConst::FIELD_TIMESTAMP, record.timestamp); in TranslationIntoGenericValues() 29 values.Put(PrivacyFiledConst::FIELD_ACCESS_DURATION, record.accessDuration); in TranslationIntoGenericValues() 30 values.Put(PrivacyFiledConst::FIELD_USED_TYPE, record.type); in TranslationIntoGenericValues() 31 values.Put(PrivacyFiledConst::FIELD_ACCESS_COUNT, record.accessCount); in TranslationIntoGenericValues() 32 values.Put(PrivacyFiledConst::FIELD_REJECT_COUNT, record.rejectCount); in TranslationIntoGenericValues() 33 values in TranslationIntoGenericValues() 36 TranslationIntoPermissionRecord(const GenericValues& values, PermissionRecord& record) TranslationIntoPermissionRecord() argument [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/column/ |
H A D | column_foregroundblurstyle_test.cpp | 27 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestColumnForegroundBlurStyle001() local 28 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestColumnForegroundBlurStyle001() 39 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestColumnForegroundBlurStyle002() local 40 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestColumnForegroundBlurStyle002() 51 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestColumnForegroundBlurStyle003() local 52 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestColumnForegroundBlurStyle003() 63 ArkUI_NumberValue values[] in TestColumnForegroundBlurStyle004() local 75 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle005() local 87 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle006() local 99 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle007() local 111 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle008() local 123 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle009() local 135 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle010() local 147 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle011() local 159 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle012() local 171 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle013() local 183 ArkUI_NumberValue values[] = {{.i32 = value}}; TestColumnForegroundBlurStyle014() local 195 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestColumnForegroundBlurStyle015() local 207 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestColumnForegroundBlurStyle016() local 219 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestColumnForegroundBlurStyle017() local 231 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestColumnForegroundBlurStyle018() local 243 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestColumnForegroundBlurStyle019() local 255 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestColumnForegroundBlurStyle020() local 267 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestColumnForegroundBlurStyle021() local 279 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle022() local 291 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle023() local 303 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle024() local 315 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle025() local 327 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle026() local 339 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle027() local 351 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle028() local 363 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle029() local 375 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle030() local 387 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestColumnForegroundBlurStyle031() local 400 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, TestColumnForegroundBlurStyle032() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/commonattrs/ |
H A D | commonattrs_foregroundblurstyle_test.cpp | 27 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCommonAttrsForegroundBlurStyle001() local 28 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsForegroundBlurStyle001() 39 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCommonAttrsForegroundBlurStyle002() local 40 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsForegroundBlurStyle002() 51 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCommonAttrsForegroundBlurStyle003() local 52 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsForegroundBlurStyle003() 63 ArkUI_NumberValue values[] in TestCommonAttrsForegroundBlurStyle004() local 75 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle005() local 87 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle006() local 99 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle007() local 111 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle008() local 123 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle009() local 135 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle010() local 147 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle011() local 159 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle012() local 171 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle013() local 183 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCommonAttrsForegroundBlurStyle014() local 195 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle015() local 207 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle016() local 219 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle017() local 231 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle018() local 243 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle019() local 255 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle020() local 267 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestCommonAttrsForegroundBlurStyle021() local 279 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle022() local 291 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle023() local 303 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle024() local 315 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle025() local 327 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle026() local 339 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle027() local 351 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle028() local 363 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle029() local 375 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle030() local 387 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCommonAttrsForegroundBlurStyle031() local 400 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, TestCommonAttrsForegroundBlurStyle032() local [all...] |
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/customcomponent/ |
H A D | customcomponent_foregroundblurstyle_test.cpp | 27 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCustomComponentForegroundBlurStyle001() local 28 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentForegroundBlurStyle001() 39 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCustomComponentForegroundBlurStyle002() local 40 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentForegroundBlurStyle002() 51 ArkUI_NumberValue values[] = {{.i32 = value}}; in TestCustomComponentForegroundBlurStyle003() local 52 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCustomComponentForegroundBlurStyle003() 63 ArkUI_NumberValue values[] in TestCustomComponentForegroundBlurStyle004() local 75 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle005() local 87 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle006() local 99 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle007() local 111 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle008() local 123 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle009() local 135 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle010() local 147 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle011() local 159 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle012() local 171 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle013() local 183 ArkUI_NumberValue values[] = {{.i32 = value}}; TestCustomComponentForegroundBlurStyle014() local 195 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle015() local 207 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle016() local 219 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle017() local 231 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle018() local 243 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle019() local 255 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle020() local 267 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {.i32 = value}}; TestCustomComponentForegroundBlurStyle021() local 279 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle022() local 291 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle023() local 303 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle024() local 315 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle025() local 327 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle026() local 339 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle027() local 351 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle028() local 363 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle029() local 375 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle030() local 387 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, {}, {}, {}, {}, {.f32 = value}}; TestCustomComponentForegroundBlurStyle031() local 400 ArkUI_NumberValue values[] = {{.i32 = ARKUI_BLUR_STYLE_THIN}, TestCustomComponentForegroundBlurStyle032() local [all...] |
/applications/standard/app_samples/code/BasicFeature/Native/XComponent3D/entry/src/main/cpp/algorithm/ |
H A D | Matrix4x4.h | 28 mat.values[i] = identityValues[i]; in Identity() 35 values[i] = dataIn[offset + i]; in Set() 45 outArray[index] += lhs.values[column2 + row * kFour] * rhs.values[row + column * kFour]; in Multiply() 53 float *GetValues() { return values; } in GetValues() 58 values[12] = translation.GetDataX(); // M12 in MakeTranslation() 59 values[13] = translation.GetDataY(); // M13 in MakeTranslation() 60 values[14] = translation.GetDataZ(); // M14 in MakeTranslation() 66 values[0] = scale.GetDataX(); in MakeScale() 67 values[kFiv in MakeScale() 101 float values[16] = {0}; global() member in Matrix4x4 [all...] |
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/ |
H A D | hks_base_check_test.cpp | 67 struct ParamsValues values; in HWTEST_F() local 69 values.mode = param; in HWTEST_F() 70 int32_t ret = HksCheckCipherMaterialParams(HKS_ALG_SM4, &values, nullptr); in HWTEST_F() 82 struct ParamsValues values; in HWTEST_F() local 84 values.mode = param; in HWTEST_F() 85 int32_t ret = HksCheckCipherData(0, HKS_ALG_SM4, &values, nullptr, nullptr); in HWTEST_F() 121 struct ParamsValues values; in HWTEST_F() local 123 values.purpose = purParam; in HWTEST_F() 125 values.mode = modeParam; in HWTEST_F() 127 values in HWTEST_F() 178 struct ParamsValues values; HWTEST_F() local 193 struct ParamsValues values; HWTEST_F() local 208 struct ParamsValues values; HWTEST_F() local 223 struct ParamsValues values; HWTEST_F() local 240 struct ParamsValues values; HWTEST_F() local 287 struct ParamsValues values; HWTEST_F() local 313 struct ParamsValues values; HWTEST_F() local 367 struct ParamsValues values; HWTEST_F() local [all...] |
H A D | hks_check_paramset_test.cpp | 242 ParamsValues values = { in HWTEST_F() local 246 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F() 251 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F() 256 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F() 261 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F() 286 ParamsValues values = { in HWTEST_F() local 291 int32_t ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F() 296 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F() 301 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, &key); in HWTEST_F() 305 ret = CheckRsaKeyLen(HKS_ALG_RSA, 0, &values, in HWTEST_F() 329 ParamsValues values = { HWTEST_F() local 390 ParamsValues values = { HWTEST_F() local 445 ParamsValues values = { HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/map_tests/ |
H A D | array_map_batch_ops.c | 13 int *values) in map_batch_update() 23 values[i] = i + 1; in map_batch_update() 26 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update() 31 int *keys, int *values) in map_batch_verify() 37 CHECK(keys[i] + 1 != values[i], "key/value checking", in map_batch_verify() 38 "error: i %d key %d value %d\n", i, keys[i], values[i]); in map_batch_verify() 55 int map_fd, *keys, *values, *visited; in test_array_map_batch_ops() local 72 values = malloc(max_entries * sizeof(int)); in test_array_map_batch_ops() 74 CHECK(!keys || !values || !visited, "malloc()", "error:%s\n", in test_array_map_batch_ops() 78 map_batch_update(map_fd, max_entries, keys, values); in test_array_map_batch_ops() 12 map_batch_update(int map_fd, __u32 max_entries, int *keys, int *values) map_batch_update() argument 30 map_batch_verify(int *visited, __u32 max_entries, int *keys, int *values) map_batch_verify() argument [all...] |
H A D | htab_map_batch_ops.c | 14 void *values, bool is_pcpu) in map_batch_update() 25 v = (value *)values; in map_batch_update() 33 ((int *)values)[i] = i + 2; in map_batch_update() 36 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update() 41 int *keys, void *values, bool is_pcpu) in map_batch_verify() 48 v = (value *)values; in map_batch_verify() 61 CHECK(keys[i] + 1 != ((int *)values)[i], in map_batch_verify() 64 ((int *)values)[i]); in map_batch_verify() 85 void *values; in __test_map_lookup_and_delete_batch() local 106 values in __test_map_lookup_and_delete_batch() 13 map_batch_update(int map_fd, __u32 max_entries, int *keys, void *values, bool is_pcpu) map_batch_update() argument 40 map_batch_verify(int *visited, __u32 max_entries, int *keys, void *values, bool is_pcpu) map_batch_verify() argument [all...] |
/kernel/liteos_m/tools/ |
H A D | mem_analysis.py | 62 for base_address, values in static_map.items():
64 c.value = values.get('offsets')
66 c.value = values.get('section')
68 c.value = values.get('sizeH')
70 c.value = values.get('sizeD')
72 c.value = values.get('symbol')
74 c.value = values.get('lib')
76 c.value = values.get('obj')
84 for base_address, values in static_map.items():
85 target_list.append('{:<10s}'.format(values [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | test_min_heap.c | 36 int *values = heap->data; in pop_verify_heap() local 40 last = values[0]; in pop_verify_heap() 44 if (last > values[0]) { in pop_verify_heap() 46 values[0]); in pop_verify_heap() 50 if (last < values[0]) { in pop_verify_heap() 52 values[0]); in pop_verify_heap() 56 last = values[0]; in pop_verify_heap() 64 int values[] = { 3, 1, 2, 4, 0x8000000, 0x7FFFFFF, 0, in test_heapify_all() local 67 .data = values, in test_heapify_all() 68 .nr = ARRAY_SIZE(values), in test_heapify_all() 98 int values[ARRAY_SIZE(data)]; test_heap_push() local 131 int values[ARRAY_SIZE(data)]; test_heap_pop_push() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | test_min_heap.c | 36 int *values = heap->data; in pop_verify_heap() local 40 last = values[0]; in pop_verify_heap() 44 if (last > values[0]) { in pop_verify_heap() 46 values[0]); in pop_verify_heap() 50 if (last < values[0]) { in pop_verify_heap() 52 values[0]); in pop_verify_heap() 56 last = values[0]; in pop_verify_heap() 64 int values[] = { 3, 1, 2, 4, 0x8000000, 0x7FFFFFF, 0, in test_heapify_all() local 67 .data = values, in test_heapify_all() 68 .nr = ARRAY_SIZE(values), in test_heapify_all() 98 int values[ARRAY_SIZE(data)]; test_heap_push() local 131 int values[ARRAY_SIZE(data)]; test_heap_pop_push() local [all...] |
/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | max1600.c | 70 DECLARE_BITMAP(values, MAX1600_GPIO_MAX) = { 0, }; in max1600_configure() 75 __assign_bit(MAX1600_GPIO_0VPP, values, 0); in max1600_configure() 76 __assign_bit(MAX1600_GPIO_1VPP, values, 0); in max1600_configure() 78 __assign_bit(MAX1600_GPIO_0VPP, values, 0); in max1600_configure() 79 __assign_bit(MAX1600_GPIO_1VPP, values, 1); in max1600_configure() 81 __assign_bit(MAX1600_GPIO_0VPP, values, 1); in max1600_configure() 82 __assign_bit(MAX1600_GPIO_1VPP, values, 0); in max1600_configure() 95 __assign_bit(MAX1600_GPIO_0VCC, values, 0); in max1600_configure() 96 __assign_bit(MAX1600_GPIO_1VCC, values, 0); in max1600_configure() 98 __assign_bit(MAX1600_GPIO_0VCC, values, in max1600_configure() [all...] |
/kernel/linux/linux-6.6/drivers/pcmcia/ |
H A D | max1600.c | 70 DECLARE_BITMAP(values, MAX1600_GPIO_MAX) = { 0, }; in max1600_configure() 75 __assign_bit(MAX1600_GPIO_0VPP, values, 0); in max1600_configure() 76 __assign_bit(MAX1600_GPIO_1VPP, values, 0); in max1600_configure() 78 __assign_bit(MAX1600_GPIO_0VPP, values, 0); in max1600_configure() 79 __assign_bit(MAX1600_GPIO_1VPP, values, 1); in max1600_configure() 81 __assign_bit(MAX1600_GPIO_0VPP, values, 1); in max1600_configure() 82 __assign_bit(MAX1600_GPIO_1VPP, values, 0); in max1600_configure() 95 __assign_bit(MAX1600_GPIO_0VCC, values, 0); in max1600_configure() 96 __assign_bit(MAX1600_GPIO_1VCC, values, 0); in max1600_configure() 98 __assign_bit(MAX1600_GPIO_0VCC, values, in max1600_configure() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/map_tests/ |
H A D | htab_map_batch_ops.c | 15 void *values, bool is_pcpu) in map_batch_update() 26 v = (value *)values; in map_batch_update() 34 ((int *)values)[i] = i + 2; in map_batch_update() 37 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update() 42 int *keys, void *values, bool is_pcpu) in map_batch_verify() 49 v = (value *)values; in map_batch_verify() 62 CHECK(keys[i] + 1 != ((int *)values)[i], in map_batch_verify() 65 ((int *)values)[i]); in map_batch_verify() 86 void *values; in __test_map_lookup_and_delete_batch() local 100 values in __test_map_lookup_and_delete_batch() 14 map_batch_update(int map_fd, __u32 max_entries, int *keys, void *values, bool is_pcpu) map_batch_update() argument 41 map_batch_verify(int *visited, __u32 max_entries, int *keys, void *values, bool is_pcpu) map_batch_verify() argument [all...] |
H A D | array_map_batch_ops.c | 16 __s64 *values, bool is_pcpu) in map_batch_update() 30 (values + cpu_offset)[j] = i + 1 + j; in map_batch_update() 32 values[i] = i + 1; in map_batch_update() 36 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update() 41 __s64 *values, bool is_pcpu) in map_batch_verify() 51 __s64 value = (values + cpu_offset)[j]; in map_batch_verify() 58 CHECK(keys[i] + 1 != values[i], "key/value checking", in map_batch_verify() 60 values[i]); in map_batch_verify() 77 void *values; in __test_map_lookup_and_update_batch() local 93 values in __test_map_lookup_and_update_batch() 15 map_batch_update(int map_fd, __u32 max_entries, int *keys, __s64 *values, bool is_pcpu) map_batch_update() argument 40 map_batch_verify(int *visited, __u32 max_entries, int *keys, __s64 *values, bool is_pcpu) map_batch_verify() argument [all...] |
H A D | lpm_trie_map_batch_ops.c | 23 struct test_lpm_key *keys, int *values) in map_batch_update() 37 values[i] = i + 1; in map_batch_update() 40 err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &opts); in map_batch_update() 45 struct test_lpm_key *keys, int *values) in map_batch_verify() 56 CHECK(lower_byte != values[i], "key/value checking", in map_batch_verify() 57 "error: i %d key %s value %d\n", i, buff, values[i]); in map_batch_verify() 70 int map_fd, *values, *visited; in test_lpm_trie_map_batch_ops() local 87 values = malloc(max_entries * sizeof(int)); in test_lpm_trie_map_batch_ops() 89 CHECK(!keys || !values || !visited, "malloc()", "error:%s\n", in test_lpm_trie_map_batch_ops() 94 map_batch_update(map_fd, max_entries, keys, values); in test_lpm_trie_map_batch_ops() 22 map_batch_update(int map_fd, __u32 max_entries, struct test_lpm_key *keys, int *values) map_batch_update() argument 44 map_batch_verify(int *visited, __u32 max_entries, struct test_lpm_key *keys, int *values) map_batch_verify() argument [all...] |
/applications/standard/contacts_data/test/unittest/src/ |
H A D | contactquery_test.cpp | 114 OHOS::DataShare::DataShareValuesBucket values; in HWTEST_F() local 124 int64_t rawContactId = RawContactInsert("买键盘", values); in HWTEST_F() 174 OHOS::DataShare::DataShareValuesBucket values; in HWTEST_F() local 175 values.Put("display_name", "买键盘"); in HWTEST_F() 176 CheckResultSet(values, resultSet, "query_by_name_test_200"); in HWTEST_F() 201 OHOS::DataShare::DataShareValuesBucket values; in HWTEST_F() local 202 values.Put("search_name", "买键盘||maijianpan||mjp"); in HWTEST_F() 203 CheckResultSet(values, resultSet, "query_by_pinyin_test_300"); in HWTEST_F() 228 OHOS::DataShare::DataShareValuesBucket values; in HWTEST_F() local 229 values in HWTEST_F() 257 OHOS::DataShare::DataShareValuesBucket values; HWTEST_F() local 287 OHOS::DataShare::DataShareValuesBucket values; HWTEST_F() local 316 OHOS::DataShare::DataShareValuesBucket values; HWTEST_F() local 344 OHOS::DataShare::DataShareValuesBucket values; HWTEST_F() local 374 OHOS::DataShare::DataShareValuesBucket values; HWTEST_F() local 402 OHOS::DataShare::DataShareValuesBucket values; HWTEST_F() local 430 OHOS::DataShare::DataShareValuesBucket values; HWTEST_F() local 460 OHOS::DataShare::DataShareValuesBucket values; HWTEST_F() local [all...] |
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
H A D | global_test.cpp | 134 char *values = nullptr; in HWTEST_F() local 135 int32_t ret = GLOBAL_GetValueByName("app_name", FormatFullPath(g_resFilePath).c_str(), &values); in HWTEST_F() 136 // when ret != OK , values has been freed. in HWTEST_F() 138 EXPECT_EQ(std::string("App Name"), values); in HWTEST_F() 139 free(values); in HWTEST_F() 150 char *values = nullptr; in HWTEST_F() local 153 int32_t ret = GLOBAL_GetValueById(static_cast<uint32_t>(id), FormatFullPath(g_resFilePath).c_str(), &values); in HWTEST_F() 154 // when ret != OK , values has been freed. in HWTEST_F() 156 EXPECT_EQ(std::string("App Name"), values); in HWTEST_F() 157 free(values); in HWTEST_F() 168 char *values = nullptr; HWTEST_F() local [all...] |