| /openbmc/qemu/fsdev/ |
| H A D | p9array.h | 111 P9Array##scalar_type *arr = g_malloc0(sizeof(P9Array##scalar_type) + \ 113 arr->len = len; \ 114 *auto_var = &arr->first[0]; \ 123 P9Array##scalar_type *arr = (P9Array##scalar_type *) ( \ 126 for (size_t i = 0; i < arr->len; ++i) { \ 127 scalar_cleanup_func(&arr->first[i]); \ 129 g_free(arr); \
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/bonnie/bonnie++/ |
| H A D | fix-csv2html-data.patch | 42 - ITEM *arr = new ITEM[data.size()]; 43 + ITEM *arr = new ITEM[::data.size()]; 74 arr[row_ind].val = 0.0; 82 arr[row_ind].val = cpu / work; 84 arr[row_ind].pos = row_ind; 86 - qsort(arr, data.size(), sizeof(ITEM), compar); 87 + qsort(arr, ::data.size(), sizeof(ITEM), compar); 102 if(arr[sort_ind].col_ind > -1) 120 arr[row_ind].val = 0.0; 122 - || sscanf(data[row_ind][column_ind], "%lf", &arr[row_ind].val) == 0) [all …]
|
| /openbmc/phosphor-debug-collector/ |
| H A D | ffdc | 16 declare -a arr=( 86 cp -r ${arr[i+1]}/* $dest/$dir/${arr[i]} 89 ${arr[i+1]} >> "$dest/$dir/${arr[i]}"
|
| /openbmc/u-boot/fs/ubifs/ |
| H A D | lprops.c | 66 val2 = get_heap_comp_val(heap->arr[ppos], cat); in move_up_lpt_heap() 70 heap->arr[ppos]->hpos = hpos; in move_up_lpt_heap() 71 heap->arr[hpos] = heap->arr[ppos]; in move_up_lpt_heap() 72 heap->arr[ppos] = lprops; in move_up_lpt_heap() 100 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap() 104 heap->arr[ppos]->hpos = hpos; in adjust_lpt_heap() 105 heap->arr[hpos] = heap->arr[ppos]; in adjust_lpt_heap() 106 heap->arr[ppos] = lprops; in adjust_lpt_heap() 112 val2 = get_heap_comp_val(heap->arr[ppos], cat); in adjust_lpt_heap() 126 val2 = get_heap_comp_val(heap->arr[cpos], cat); in adjust_lpt_heap() [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/bb/ |
| H A D | xattr.py | 35 arr = ctypes.create_string_buffer(length) 37 read_length = func(os_path, arr, length) 42 return [a.decode(fsencoding) for a in arr.raw.split(b"\x00") if a] 77 arr = ctypes.create_string_buffer(length) 79 read_length = func(os_path, os_name, arr, length) 84 return arr.raw
|
| /openbmc/u-boot/scripts/kconfig/ |
| H A D | streamline_config.pl | 334 my @arr; 337 @arr = @{$objects{$1}}; 340 $arr[$#arr+1] = $var; 344 $objects{$1} = \@arr; 400 my @arr = @{$objects{$module}}; 401 foreach my $conf (@arr) { 670 my @arr = @{$objects{$module}}; 671 foreach my $conf (@arr) { 677 foreach my $conf (@arr) {
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/dietsplash/dietsplash/ |
| H A D | 0001-Mimic-GNU-basename-API-for-non-glibc-library-e.g.-mu.patch | 18 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + _array_size_chk(arr))
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-qht.c | 14 static int32_t arr[N * 2]; variable 33 arr[i] = i; in insert() 36 inserted = qht_insert(&ht, &arr[i], hash, NULL); in insert() 38 inserted = qht_insert(&ht, &arr[i], hash, &existing); in insert() 40 g_assert_true(existing == &arr[i]); in insert() 51 hash = arr[i]; in do_rm() 53 g_assert_true(qht_remove(&ht, &arr[i], hash)); in do_rm() 55 g_assert_false(qht_remove(&ht, &arr[i], hash)); in do_rm()
|
| /openbmc/qemu/scripts/ |
| H A D | render_block_graph.py | 32 def perm(arr): argument 33 s = 'w' if 'write' in arr else '_' 34 s += 'r' if 'consistent-read' in arr else '_' 35 s += 'u' if 'write-unchanged' in arr else '_' 36 s += 's' if 'resize' in arr else '_'
|
| /openbmc/qemu/plugins/ |
| H A D | plugin.h | 72 void plugin_register_inline_op_on_entry(GArray **arr, 93 plugin_register_dyn_cb__udata(GArray **arr, 98 plugin_register_dyn_cond_cb__udata(GArray **arr, 106 void plugin_register_vcpu_mem_cb(GArray **arr,
|
| /openbmc/bmcweb/redfish-core/src/utils/ |
| H A D | json_utils.cpp | 65 const nlohmann::json::array_t* arr = in getEstimatedJsonSize() local 67 if (arr != nullptr) in getEstimatedJsonSize() 70 for (const auto& element : *arr) in getEstimatedJsonSize()
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/ |
| H A D | fsl_pamu.c | 340 static uint64_t find_max(uint64_t arr[], int num) in find_max() argument 345 if (arr[max] < arr[i]) in find_max() 348 return arr[max]; in find_max() 351 static uint64_t find_min(uint64_t arr[], int num) in find_min() argument 356 if (arr[min] > arr[i]) in find_min() 359 return arr[min]; in find_min()
|
| /openbmc/openbmc/poky/meta/recipes-devtools/valgrind/valgrind/ |
| H A D | avoid-neon-for-targets-which-don-t-support-it.patch | 22 @@ -191,7 +191,7 @@ void do_test_at ( U1* arr ) 24 : : "r"(arr+dst), "r"(arr+src) : "memory"
|
| /openbmc/qemu/include/hw/virtio/ |
| H A D | cbor-helpers.h | 30 uint8_t *arr, size_t len); 38 uint8_t *arr, size_t len);
|
| /openbmc/webui-vue/src/components/Mixins/ |
| H A D | TableFilterMixin.js | 4 const filterItems = filters.reduce((arr, filter) => { 5 return [...arr, ...filter.values];
|
| /openbmc/qemu/hw/virtio/ |
| H A D | cbor-helpers.c | 134 uint8_t *arr, size_t len) in qemu_cbor_add_bytestring_to_map() argument 143 value_cbor = cbor_build_bytestring(arr, len); in qemu_cbor_add_bytestring_to_map() 223 uint8_t *arr, size_t len) in qemu_cbor_add_uint8_array_to_map() argument 238 cbor_item_t *tmp = cbor_build_uint8(arr[i]); in qemu_cbor_add_uint8_array_to_map()
|
| /openbmc/bmcweb/features/openbmc_rest/ |
| H A D | dbus_monitor.hpp | 94 nlohmann::json::array_t* arr = data.get_ptr<nlohmann::json::array_t*>(); in onPropertyUpdate() local 95 if (arr == nullptr) in onPropertyUpdate() 100 if (arr->size() < 2) in onPropertyUpdate() 107 (*arr)[1].get_ptr<nlohmann::json::object_t*>(); in onPropertyUpdate()
|
| /openbmc/libpldm/tests/ |
| H A D | msgbuf.cpp | 386 uint8_t arr[1]; in TEST() local 389 EXPECT_EQ(pldm_msgbuf_extract_array_uint8(ctx, 0, arr, 0), 0); in TEST() 398 uint8_t arr[1]; in TEST() local 402 pldm_msgbuf_extract_array_uint8(ctx, sizeof(arr), arr, sizeof(arr)), 0); in TEST() 403 EXPECT_EQ(arr[0], 0); in TEST() 412 uint8_t arr[2]; in TEST() local 416 pldm_msgbuf_extract_array_uint8(ctx, sizeof(arr), arr, sizeof(arr)), 0); in TEST() 425 uint8_t arr[1]; in TEST() local 429 EXPECT_NE(pldm_msgbuf_extract_array_uint8(ctx, 1, arr, 1), 0); in TEST() 438 char arr[1] = {'1'}; in TEST() local [all …]
|
| /openbmc/bmcweb/redfish-core/include/utils/ |
| H A D | json_utils.hpp | 296 nlohmann::json::array_t* arr = in unpackValue() local 298 if (arr == nullptr) in unpackValue() 309 for (auto& val : *arr) in unpackValue() 318 nlohmann::json::array_t* arr = in unpackValue() local 320 if (arr == nullptr) in unpackValue() 326 for (auto& val : *arr) in unpackValue() 382 nlohmann::json::array_t* arr = in unpackValue() local 384 if (arr == nullptr) in unpackValue() 393 for (const auto& val : *arr) in unpackValue() 402 nlohmann::json::array_t* arr = in unpackValue() local [all …]
|
| H A D | query_param.hpp | 933 nlohmann::json::array_t* arr = in processTopAndSkip() local 935 if (arr == nullptr) in processTopAndSkip() 945 size_t skip = std::min(arr->size(), *query.skip); in processTopAndSkip() 946 arr->erase(arr->begin(), arr->begin() + static_cast<ssize_t>(skip)); in processTopAndSkip() 950 size_t top = std::min(arr->size(), *query.top); in processTopAndSkip() 951 arr->erase(arr->begin() + static_cast<ssize_t>(top), arr->end()); in processTopAndSkip()
|
| /openbmc/u-boot/drivers/timer/ |
| H A D | stm32_timer.c | 37 u32 arr; member 108 writel(GPT_FREE_RUNNING, ®s->arr); in stm32_timer_probe()
|
| /openbmc/bmcweb/src/ |
| H A D | json_html_serializer.cpp | 489 const nlohmann::json::array_t* arr = in dump() local 491 if (arr == nullptr) in dump() 495 for (auto i = arr->cbegin(); i != arr->cend() - 1; ++i) in dump()
|
| /openbmc/u-boot/arch/arm/include/asm/arch-stv0991/ |
| H A D | stv0991_gpt.h | 22 u32 arr; member
|
| /openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-olympus-nuvoton/power/first-boot-set-psu/ |
| H A D | first-boot-set-psu.sh | 41 IFS=" " read -ra arr <<< "${1//- /}"
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/turbostat/ |
| H A D | turbostat.bb | 81 echo '#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))' >> msr-index.h
|