| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | values.c | 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->value = zalloc(values->threads_max * sizeof(*values->value)); in perf_read_values_init() 18 if (!values->pid || !values->tid || !values->value) { in perf_read_values_init() 22 values->threads = 0; in perf_read_values_init() 24 values->counters_max = 16; in perf_read_values_init() 25 values->counterrawid = malloc(values->counters_max in perf_read_values_init() 26 * sizeof(*values->counterrawid)); in perf_read_values_init() [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() 49 xyarray__reset(counts->values); in perf_counts__reset()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/style/conversion/ |
| H A D | filter.cpp | 16 ParseResult convertLegacyFilter(const Convertible& values, Error& error); 17 optional<mbgl::Value> serializeLegacyFilter(const Convertible& values); 130 ParseResult convertLegacyComparisonFilter(const Convertible& values, Error& error, optional<std::st… in convertLegacyComparisonFilter() argument 131 optional<std::string> op = opOverride ? opOverride : toString(arrayMember(values, 0)); 132 optional<std::string> property = toString(arrayMember(values, 1)); 138 return createExpression("filter-type-" + *op, convertLiteralArray(values, error, 2), error); 140 return createExpression("filter-id-" + *op, convertLiteralArray(values, error, 2), error); 142 return createExpression("filter-" + *op, convertLiteralArray(values, error, 1), error); 146 ParseResult convertLegacyHasFilter(const Convertible& values, Error& error) { in convertLegacyHasFilter() argument 147 optional<std::string> property = toString(arrayMember(values, 1)); in convertLegacyHasFilter() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/map_tests/ |
| H A D | htab_map_batch_ops.c | 14 void *values, bool is_pcpu) in map_batch_update() argument 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() argument 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 = pcpu_values; in __test_map_lookup_and_delete_batch() [all …]
|
| H A D | array_map_batch_ops.c | 13 int *values) in map_batch_update() argument 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() argument 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() [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/builds/ |
| H A D | test_core_image_min.py | 33 distinct_builds = Build.objects.values('id').distinct().count() 40 distinct_path = Build.objects.values( 42 total_builds = Build.objects.values('id').count() 50 build=self.built).values('order').count() 52 build=self.completed_build).values('order').distinct().count() 65 ).values('id', 'order').order_by("order") 82 tasks = Task.objects.filter(outcome=2).values('id', 'sstate_result') 97 Task.OUTCOME_PREBUILT)).values('id', 117 outcome__in=(0, 4)).values('id', 'sstate_result') 132 task_executed=1).values('id', 'script_type') [all …]
|
| /OK3568_Linux_fs/kernel/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, 1); in max1600_configure() [all …]
|
| H A D | sa1111_jornada720.c | 64 DECLARE_BITMAP(values, J720_GPIO_MAX) = { 0, }; in jornada720_pcmcia_configure_socket() 75 __assign_bit(J720_GPIO_PWR, values, 0); in jornada720_pcmcia_configure_socket() 76 __assign_bit(J720_GPIO_3V, values, 0); in jornada720_pcmcia_configure_socket() 79 __assign_bit(J720_GPIO_PWR, values, 1); in jornada720_pcmcia_configure_socket() 80 __assign_bit(J720_GPIO_3V, values, 1); in jornada720_pcmcia_configure_socket() 83 __assign_bit(J720_GPIO_PWR, values, 1); in jornada720_pcmcia_configure_socket() 84 __assign_bit(J720_GPIO_3V, values, 0); in jornada720_pcmcia_configure_socket() 93 __assign_bit(J720_GPIO_PWR, values, 0); in jornada720_pcmcia_configure_socket() 94 __assign_bit(J720_GPIO_3V, values, 0); in jornada720_pcmcia_configure_socket() 98 __assign_bit(J720_GPIO_PWR, values, 1); in jornada720_pcmcia_configure_socket() [all …]
|
| /OK3568_Linux_fs/kernel/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() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/matrox/ |
| H A D | matroxfb_misc.c | 544 minfo->values.pll.system = get_unaligned_le16(bd->pins + 28) ? in parse_pins1() 548 minfo->values.reg.mctlwtst = 0x00030101; in parse_pins1() 556 minfo->values.pll.system = 50000; in default_pins1() 558 minfo->values.reg.mctlwtst = 0x00030101; in default_pins1() 566 minfo->values.reg.mctlwtst = ((bd->pins[51] & 0x01) ? 0x00000001 : 0) | in parse_pins2() 570 minfo->values.pll.system = (bd->pins[43] == 0xFF) ? 50000 : ((bd->pins[43] + 100) * 1000); in parse_pins2() 580 minfo->values.reg.mctlwtst = 0x00030101; in default_pins2() 581 minfo->values.pll.system = 50000; in default_pins2() 590 minfo->values.reg.mctlwtst = get_unaligned_le32(bd->pins + 48) == 0xFFFFFFFF ? in parse_pins3() 593 minfo->values.reg.memrdbk = ((bd->pins[57] << 21) & 0x1E000000) | in parse_pins3() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xnest/ |
| H A D | GC.c | 96 XGCValues values; in xnestChangeGC() local 99 values.function = pGC->alu; in xnestChangeGC() 102 values.plane_mask = pGC->planemask; in xnestChangeGC() 105 values.foreground = xnestPixel(pGC->fgPixel); in xnestChangeGC() 108 values.background = xnestPixel(pGC->bgPixel); in xnestChangeGC() 111 values.line_width = pGC->lineWidth; in xnestChangeGC() 114 values.line_style = pGC->lineStyle; in xnestChangeGC() 117 values.cap_style = pGC->capStyle; in xnestChangeGC() 120 values.join_style = pGC->joinStyle; in xnestChangeGC() 123 values.fill_style = pGC->fillStyle; in xnestChangeGC() [all …]
|
| H A D | Keyboard.c | 82 XKeyboardControl values; in xnestChangeKeyboardControl() 88 values.key_click_percent = ctrl->click; in xnestChangeKeyboardControl() 89 values.bell_percent = ctrl->bell; in xnestChangeKeyboardControl() 90 values.bell_pitch = ctrl->bell_pitch; in xnestChangeKeyboardControl() 91 values.bell_duration = ctrl->bell_duration; in xnestChangeKeyboardControl() 92 values.auto_repeat_mode = ctrl->autoRepeat ? in xnestChangeKeyboardControl() 95 XChangeKeyboardControl(xnestDisplay, value_mask, &values); in xnestChangeKeyboardControl() 105 values.led = i; in xnestChangeKeyboardControl() 106 values.led_mode = in xnestChangeKeyboardControl() 108 XChangeKeyboardControl(xnestDisplay, value_mask, &values); in xnestChangeKeyboardControl() [all …]
|
| /OK3568_Linux_fs/kernel/net/ax25/ |
| H A D | ax25_dev.c | 66 ax25_dev->values[AX25_VALUES_IPDEFMODE] = AX25_DEF_IPDEFMODE; in ax25_dev_device_up() 67 ax25_dev->values[AX25_VALUES_AXDEFMODE] = AX25_DEF_AXDEFMODE; in ax25_dev_device_up() 68 ax25_dev->values[AX25_VALUES_BACKOFF] = AX25_DEF_BACKOFF; in ax25_dev_device_up() 69 ax25_dev->values[AX25_VALUES_CONMODE] = AX25_DEF_CONMODE; in ax25_dev_device_up() 70 ax25_dev->values[AX25_VALUES_WINDOW] = AX25_DEF_WINDOW; in ax25_dev_device_up() 71 ax25_dev->values[AX25_VALUES_EWINDOW] = AX25_DEF_EWINDOW; in ax25_dev_device_up() 72 ax25_dev->values[AX25_VALUES_T1] = AX25_DEF_T1; in ax25_dev_device_up() 73 ax25_dev->values[AX25_VALUES_T2] = AX25_DEF_T2; in ax25_dev_device_up() 74 ax25_dev->values[AX25_VALUES_T3] = AX25_DEF_T3; in ax25_dev_device_up() 75 ax25_dev->values[AX25_VALUES_IDLE] = AX25_DEF_IDLE; in ax25_dev_device_up() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/parser/ |
| H A D | InputClass.c | 84 for (list = group->values; *list; list++) in xf86freeInputClassList() 90 for (list = group->values; *list; list++) in xf86freeInputClassList() 96 for (list = group->values; *list; list++) in xf86freeInputClassList() 102 for (list = group->values; *list; list++) in xf86freeInputClassList() 108 for (list = group->values; *list; list++) in xf86freeInputClassList() 114 for (list = group->values; *list; list++) in xf86freeInputClassList() 120 for (list = group->values; *list; list++) in xf86freeInputClassList() 126 for (list = group->values; *list; list++) in xf86freeInputClassList() 132 for (list = group->values; *list; list++) in xf86freeInputClassList() 156 add_group_entry(struct xorg_list *head, char **values, enum MatchType type) in add_group_entry() argument [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/programs/ |
| H A D | symbol_program.cpp | 40 const style::SymbolPropertyValues& values, in makeValues() argument 50 if (values.pitchAlignment == AlignmentType::Map) { in makeValues() 60 const bool pitchWithMap = values.pitchAlignment == style::AlignmentType::Map; in makeValues() 61 const bool rotateWithMap = values.rotationAlignment == style::AlignmentType::Map; in makeValues() 80 uniforms::u_matrix::Value{ tile.translatedMatrix(values.translate, in makeValues() 81 values.translateAnchor, in makeValues() 85 values.translate, in makeValues() 86 values.translateAnchor, in makeValues() 105 const style::SymbolPropertyValues& values, in uniformValues() argument 115 values, in uniformValues() [all …]
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/plugins/imxwayland/audiorecorder/ |
| H A D | audiorecorder.cpp | 290 QVector<qreal> values; in getBufferLevels() local 293 return values; in getBufferLevels() 296 return values; in getBufferLevels() 299 values.fill(0, channelCount); in getBufferLevels() 302 return values; in getBufferLevels() 308 … values = getBufferLevels(buffer.constData<quint32>(), buffer.frameCount(), channelCount); in getBufferLevels() 310 … values = getBufferLevels(buffer.constData<quint16>(), buffer.frameCount(), channelCount); in getBufferLevels() 312 values = getBufferLevels(buffer.constData<quint8>(), buffer.frameCount(), channelCount); in getBufferLevels() 313 for (int i = 0; i < values.size(); ++i) in getBufferLevels() 314 values[i] = qAbs(values.at(i) - peak_value / 2) / (peak_value / 2); in getBufferLevels() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/auxdisplay/ |
| H A D | hd44780.c | 64 DECLARE_BITMAP(values, 10); /* for DATA[0-7], RS, RW */ in hd44780_write_gpio8() 67 values[0] = val; in hd44780_write_gpio8() 68 __assign_bit(8, values, rs); in hd44780_write_gpio8() 72 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA0], NULL, values); in hd44780_write_gpio8() 80 DECLARE_BITMAP(values, 6); /* for DATA[4-7], RS, RW */ in hd44780_write_gpio4() 84 values[0] = val >> 4; in hd44780_write_gpio4() 85 __assign_bit(4, values, rs); in hd44780_write_gpio4() 89 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA4], NULL, values); in hd44780_write_gpio4() 94 values[0] &= ~0x0fUL; in hd44780_write_gpio4() 95 values[0] |= val & 0x0f; in hd44780_write_gpio4() [all …]
|
| /OK3568_Linux_fs/kernel/tools/gpio/ |
| H A D | gpio-hammer.c | 28 struct gpio_v2_line_values values; in hammer_device() local 46 values.mask = 0; in hammer_device() 47 values.bits = 0; in hammer_device() 49 gpiotools_set_bit(&values.mask, i); in hammer_device() 51 ret = gpiotools_get_values(fd, &values); in hammer_device() 63 fprintf(stdout, "%d", gpiotools_test_bit(values.bits, i)); in hammer_device() 74 gpiotools_change_bit(&values.bits, i); in hammer_device() 76 ret = gpiotools_set_values(fd, &values); in hammer_device() 81 ret = gpiotools_get_values(fd, &values); in hammer_device() 93 gpiotools_test_bit(values.bits, i)); in hammer_device()
|
| /OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/audiorecorder/ |
| H A D | audiorecorder.cpp | 318 QVector<qreal> values; in getBufferLevels() local 321 return values; in getBufferLevels() 324 return values; in getBufferLevels() 327 values.fill(0, channelCount); in getBufferLevels() 330 return values; in getBufferLevels() 336 … values = getBufferLevels(buffer.constData<quint32>(), buffer.frameCount(), channelCount); in getBufferLevels() 338 … values = getBufferLevels(buffer.constData<quint16>(), buffer.frameCount(), channelCount); in getBufferLevels() 340 values = getBufferLevels(buffer.constData<quint8>(), buffer.frameCount(), channelCount); in getBufferLevels() 341 for (int i = 0; i < values.size(); ++i) in getBufferLevels() 342 values[i] = qAbs(values.at(i) - peak_value / 2) / (peak_value / 2); in getBufferLevels() [all …]
|
| /OK3568_Linux_fs/app/forlinx/forlinx_qt/audiorecorder/ |
| H A D | audiorecorder.cpp | 318 QVector<qreal> values; in getBufferLevels() local 321 return values; in getBufferLevels() 324 return values; in getBufferLevels() 327 values.fill(0, channelCount); in getBufferLevels() 330 return values; in getBufferLevels() 336 … values = getBufferLevels(buffer.constData<quint32>(), buffer.frameCount(), channelCount); in getBufferLevels() 338 … values = getBufferLevels(buffer.constData<quint16>(), buffer.frameCount(), channelCount); in getBufferLevels() 340 values = getBufferLevels(buffer.constData<quint8>(), buffer.frameCount(), channelCount); in getBufferLevels() 341 for (int i = 0; i < values.size(); ++i) in getBufferLevels() 342 values[i] = qAbs(values.at(i) - peak_value / 2) / (peak_value / 2); in getBufferLevels() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/host/supp_plugin/ |
| H A D | test_supp_plugin.c | 22 } *values = NULL; in pass_values() local 24 values = (struct add_op *)data; in pass_values() 28 values->a = values->a + values->b; in pass_values() 30 values->a = values->a - values->b; in pass_values()
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/build_perf/ |
| H A D | report.py | 57 values = OrderedDict() 63 values['start_time'] = isofmt_to_timestamp(subel.attrib['timestamp']) 64 values['elapsed_time'] = float(subel.text) 72 values['rusage'] = rusage 74 values['iostat'] = OrderedDict([(f, int(subel.attrib[f])) 77 values['buildstats_file'] = subel.text 82 values['size'] = int(elem.find('size').text) 85 data['values'] = values 312 values = meas['values']['elapsed_time'] 315 values = meas['values']['size'] [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A D | sysfs-class-power | 10 Valid values: Represented as string 19 Valid values: Represented as string 28 Valid values: Represented as string 37 Valid values: "Battery", "UPS", "Mains", "USB", "Wireless" 60 Valid values: Represented in microamps. Negative values are 61 used for discharging batteries, positive values for charging 77 Valid values: Represented in microamps 100 Valid values: Represented in microamps. Negative values are 101 used for discharging batteries, positive values for charging 120 Valid values: Represented in 1/10 Degrees Celsius [all …]
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/ |
| H A D | grf.c | 117 const struct rockchip_grf_value *values; member 132 .values = px30_defaults, 147 .values = rk3036_defaults, 158 .values = rk3128_defaults, 169 .values = rk3228_defaults, 182 .values = rk3288_defaults, 193 .values = rk3328_defaults, 206 .values = rk3308_defaults, 217 .values = rk3368_defaults, 228 .values = rk3399_defaults, [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/tao_tuple/28626e99/include/tao/seq/ |
| H A D | fold.hpp | 25 using values = seq::values< T, Ns... >; typedef 26 …using type = integer_sequence< T, OP< T, values::data[ 2 * Is ], values::data[ 2 * Is + 1 ] >::val… 32 using values = seq::values< T, Ns... >; typedef 33 …using type = integer_sequence< T, N, OP< T, values::data[ 2 * Is ], values::data[ 2 * Is + 1 ] >::…
|