/openbmc/entity-manager/test/ |
H A D | test_entity-manager.cpp | 15 auto it = j.begin(); in TEST() 28 auto it = j.begin(); in TEST() 41 auto it = j.begin(); in TEST() 54 auto it = j.begin(); in TEST() 67 auto it = j.begin(); in TEST() 80 auto it = j.begin(); in TEST() 93 auto it = j.begin(); in TEST() 106 auto it = j.begin(); in TEST() 119 auto it = j.begin(); in TEST() 132 auto it = j.begin(); in TEST() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ |
H A D | ia_css_eed1_8.host.c | 130 for (j = 0; j < IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS; j++) { in ia_css_eed1_8_vmem_encode() 135 for (j = 1; j < IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS; j++) { in ia_css_eed1_8_vmem_encode() 152 for (j = 1; j < NUMBER_OF_CHGRINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() 156 for (j = 1; j < NUMBER_OF_TCINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() 157 assert(tcinv_x[j] > tcinv_x[j - 1]); in ia_css_eed1_8_vmem_encode() 160 for (j = 1; j < NUMBER_OF_FCINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() 174 for (j = 0; j < IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS; j++) { in ia_css_eed1_8_vmem_encode() 183 for (j = 0; j < (IA_CSS_NUMBER_OF_DEW_ENHANCE_SEGMENTS - 1); j++) { in ia_css_eed1_8_vmem_encode() 203 for (j = 0; j < NUMBER_OF_CHGRINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() 210 for (j = 0; j < NUMBER_OF_TCINV_POINTS; j++) { in ia_css_eed1_8_vmem_encode() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | reuseaddr_ports_exhausted.c | 84 int i, j, fd[2]; in TEST() local 89 for (j = 0; j < 2; j++) in TEST() 90 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST() 95 for (j = 0; j < 2; j++) in TEST() 97 close(fd[j]); in TEST() 109 for (j = 0; j < 2; j++) in TEST() 110 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST() 120 for (j = 0; j < 2; j++) in TEST() 135 for (j = 0; j < 2; j++) { in TEST() 139 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | levenshtein.c | 51 int i, j; in levenshtein() local 53 for (j = 0; j <= len2; j++) in levenshtein() 54 row1[j] = j * a; in levenshtein() 59 for (j = 0; j < len2; j++) { in levenshtein() 61 row2[j + 1] = row1[j] + s * (string1[i] != string2[j]); in levenshtein() 65 row2[j + 1] > row0[j - 1] + w) in levenshtein() 66 row2[j + 1] = row0[j - 1] + w; in levenshtein() 68 if (row2[j + 1] > row1[j + 1] + d) in levenshtein() 69 row2[j + 1] = row1[j + 1] + d; in levenshtein() 71 if (row2[j + 1] > row2[j] + a) in levenshtein() [all …]
|
/openbmc/linux/lib/raid6/ |
H A D | mktables.c | 55 int i, j, k; in main() local 70 for (j = 0; j < 256; j += 8) { in main() 89 for (j = 0; j < 16; j += 8) { in main() 95 for (j = 0; j < 16; j += 8) { in main() 114 for (j = 0; j < 8; j++) { in main() 115 exptbl[i + j] = v; in main() 132 for (j = 0; j < 8; j++) { in main() 135 if (exptbl[k] == (i + j)) { in main() 152 for (j = 0; j < 8; j++) { in main() 153 invtbl[i + j] = v = gfpow(i + j, 254); in main() [all …]
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | v69_hvx.c | 62 for (int j = 0; j < MAX_VEC_SIZE_BYTES / 2; j++) { in test_vasrvuhubrndsat() local 67 shamt = buffer1[i].ub[2 * j + 0] & 0x7; in test_vasrvuhubrndsat() 99 for (int j = 0; j < MAX_VEC_SIZE_BYTES / 2; j++) { in test_vasrvuhubsat() local 136 for (int j = 0; j < MAX_VEC_SIZE_BYTES / 4; j++) { in test_vasrvwuhrndsat() local 173 for (int j = 0; j < MAX_VEC_SIZE_BYTES / 4; j++) { in test_vasrvwuhsat() local 219 for (int j = 0; j < MAX_VEC_SIZE_BYTES / 4; j++) { in test_vassign_tmp() local 220 expect[i].w[j] = buffer0[i].w[j] + 3; in test_vassign_tmp() 266 for (int j = 0; j < MAX_VEC_SIZE_BYTES / 4; j++) { in test_vcombine_tmp() local 267 expect[i].w[j] = buffer0[i].w[j] + 10; in test_vcombine_tmp() 294 for (int j = 0; j < MAX_VEC_SIZE_BYTES / 2; j++) { in test_vmpyuhvs() local [all …]
|
H A D | hvx_misc.h | 26 line, i, j, result, expect); in check() 58 for (int j = 0; j < MAX_VEC_SIZE_BYTES / FIELDSZ; j++) { \ 59 check(line, i, j, output[i].FIELD[j], expect[i].FIELD[j]); \ 74 for (int j = 0; j < MAX_VEC_SIZE_BYTES; j++) { in init_buffers() local 78 for (int j = 0; j < MAX_VEC_SIZE_BYTES / 4; j++) { in init_buffers() local 79 mask[i].w[j] = (i + j % MASKMOD == 0) ? 0 : 1; in init_buffers() 108 for (int j = 0; j < MAX_VEC_SIZE_BYTES / FIELDSZ; j++) { \ 109 expect[i].FIELD[j] = OP buffer0[i].FIELD[j]; \ 128 for (int j = 0; j < MAX_VEC_SIZE_BYTES / FIELDSZ; j++) { \ 129 expect[i].FIELD[j] = buffer0[i].FIELD[j] OP buffer1[i].FIELD[j]; \ [all …]
|
/openbmc/linux/drivers/video/logo/ |
H A D | pnmtologo.c | 174 for (j = 0; j < logo_width; j++) in read_image() 183 for (j = 0; j < logo_width; j++) in read_image() 192 for (j = 0; j < logo_width; j++) { in read_image() 284 for (j = 0; j < logo_width; j++) in write_logo_mono() 293 for (j = 0; j < logo_width;) { in write_logo_mono() 312 for (j = 0; j < logo_width; j++) { in write_logo_vga16() 327 for (j = 0; j < logo_width; j++) { in write_logo_vga16() 351 for (j = 0; j < logo_width; j++) { in write_logo_clut224() 369 for (j = 0; j < logo_width; j++) { in write_logo_clut224() 397 for (j = 0; j < logo_width; j++) in write_logo_gray256() [all …]
|
/openbmc/u-boot/drivers/dma/ |
H A D | keystone_nav.c | 41 for (j = 0, num = 32; j < 15; j++, num *= 2) { in num_of_desc_to_reg() 51 u32 j; in _qm_init() local 68 for (j = 0; j < HDESC_NUM; j++) in _qm_init() 81 u32 j; in qm_close() local 91 for (j = 0; j < qm_cfg->region_num; j++) { in qm_close() 151 for (j = 0; j < pktdma->rx_ch_num; j++) { in ksnav_rx_disable() 167 for (j = 0; j < pktdma->rx_flow_num; j++) { in ksnav_rx_disable() 185 for (j = 0; j < pktdma->tx_ch_num; j++) { in ksnav_tx_disable() 218 for (j = 0; j < rx_buffers->num_buffs; j++) { in ksnav_init() 246 for (j = 0; j < pktdma->rx_ch_num; j++) in ksnav_init() [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | utbuffer.c | 37 u32 j; in acpi_ut_dump_buffer() local 64 for (j = 0; j < 16;) { in acpi_ut_dump_buffer() 70 j += display; in acpi_ut_dump_buffer() 109 j += display; in acpi_ut_dump_buffer() 118 for (j = 0; j < 16; j++) { in acpi_ut_dump_buffer() 128 if (j == 0) { in acpi_ut_dump_buffer() 209 u32 j; in acpi_ut_dump_buffer_to_file() local 232 for (j = 0; j < 16;) { in acpi_ut_dump_buffer_to_file() 238 j += display; in acpi_ut_dump_buffer_to_file() 277 j += display; in acpi_ut_dump_buffer_to_file() [all …]
|
/openbmc/linux/lib/ |
H A D | gen_crc32table.c | 40 unsigned i, j; in crc32init_le_generic() local 47 for (j = 0; j < LE_TABLE_SIZE; j += 2 * i) in crc32init_le_generic() 48 tab[0][i + j] = crc ^ tab[0][j]; in crc32init_le_generic() 52 for (j = 1; j < LE_TABLE_ROWS; j++) { in crc32init_le_generic() 54 tab[j][i] = crc; in crc32init_le_generic() 74 unsigned i, j; in crc32init_be() local 81 for (j = 0; j < i; j++) in crc32init_be() 82 crc32table_be[0][i + j] = crc ^ crc32table_be[0][j]; in crc32init_be() 86 for (j = 1; j < BE_TABLE_ROWS; j++) { in crc32init_be() 95 int i, j; in output_table() local [all …]
|
/openbmc/u-boot/examples/standalone/ |
H A D | smc91111_eeprom.c | 166 j = 0; in smc91111_eeprom() 185 j = 0; in smc91111_eeprom() 262 for (j = 0x20; j < 0x23; j++) { in print_macaddr() 278 int j, k; in dump_eeprom() local 281 for (j = 0; j < 8; j++) { in dump_eeprom() 293 for (j = 0; j < 0x20; j += 4) { in dump_eeprom() 300 for (j = 0x20; j < 0x40; j++) { in dump_eeprom() 303 printf ("%02x:%04x ", j, read_eeprom_reg (dev, j)); in dump_eeprom() 356 int i, j; in dump_reg() local 359 for (j = 0; j < 4; j++) { in dump_reg() [all …]
|
/openbmc/linux/lib/reed_solomon/ |
H A D | decode_rs.c | 64 for (j = 1; j < len; j++) { 78 for (j = 0; j < nroots; j++) { 115 for (j = i + 1; j > 0; j--) { 202 for (j = deg_lambda; j > 0; j--) { 204 reg[j] = rs_modnn(rs, reg[j] + j); 239 for (j = i; j >= 0; j--) { 240 if ((s[i - j] != nn) && (lambda[j] != nn)) 242 alpha_to[rs_modnn(rs, s[i - j] + lambda[j])]; 253 for (j = count - 1; j >= 0; j--) { 291 for (j = 0; j < count; j++) { [all …]
|
/openbmc/qemu/tests/tcg/mips/user/ase/msa/bit-move/ |
H A D | test_msa_bsel_v.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BSEL_V(b128_pattern[i], b128_pattern[j], in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BSEL_V(b128_random[i], b128_random[j], in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BSEL_V__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 193 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 194 do_msa_BSEL_V__DSD(b128_random[i], b128_random[j], in main() [all …]
|
H A D | test_msa_binsl_d.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BINSL_D(b128_pattern[i], b128_pattern[j], in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BINSL_D(b128_random[i], b128_random[j], in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BINSL_D__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 193 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 194 do_msa_BINSL_D__DSD(b128_random[i], b128_random[j], in main() [all …]
|
H A D | test_msa_binsl_h.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BINSL_H(b128_pattern[i], b128_pattern[j], in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BINSL_H(b128_random[i], b128_random[j], in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BINSL_H__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 193 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 194 do_msa_BINSL_H__DSD(b128_random[i], b128_random[j], in main() [all …]
|
H A D | test_msa_binsr_d.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BINSR_D(b128_pattern[i], b128_pattern[j], in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BINSR_D(b128_random[i], b128_random[j], in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BINSR_D__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 193 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 194 do_msa_BINSR_D__DSD(b128_random[i], b128_random[j], in main() [all …]
|
H A D | test_msa_binsr_w.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BINSR_W(b128_pattern[i], b128_pattern[j], in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BINSR_W(b128_random[i], b128_random[j], in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BINSR_W__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 193 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 194 do_msa_BINSR_W__DSD(b128_random[i], b128_random[j], in main() [all …]
|
H A D | test_msa_bmnz_v.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BMNZ_V(b128_pattern[i], b128_pattern[j], in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BMNZ_V(b128_random[i], b128_random[j], in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BMNZ_V__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 193 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 194 do_msa_BMNZ_V__DSD(b128_random[i], b128_random[j], in main() [all …]
|
H A D | test_msa_binsl_b.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BINSL_B(b128_pattern[i], b128_pattern[j], in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BINSL_B(b128_random[i], b128_random[j], in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BINSL_B__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 193 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 194 do_msa_BINSL_B__DSD(b128_random[i], b128_random[j], in main() [all …]
|
H A D | test_msa_binsl_w.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BINSL_W(b128_pattern[i], b128_pattern[j], in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BINSL_W(b128_random[i], b128_random[j], in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BINSL_W__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 193 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 194 do_msa_BINSL_W__DSD(b128_random[i], b128_random[j], in main() [all …]
|
H A D | test_msa_binsr_b.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BINSR_B(b128_pattern[i], b128_pattern[j], in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BINSR_B(b128_random[i], b128_random[j], in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BINSR_B__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 193 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 194 do_msa_BINSR_B__DSD(b128_random[i], b128_random[j], in main() [all …]
|
H A D | test_msa_binsr_h.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BINSR_H(b128_pattern[i], b128_pattern[j], in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BINSR_H(b128_random[i], b128_random[j], in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BINSR_H__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 193 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 194 do_msa_BINSR_H__DSD(b128_random[i], b128_random[j], in main() [all …]
|
H A D | test_msa_bmz_v.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_BMZ_V(b128_pattern[i], b128_pattern[j], in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_BMZ_V(b128_random[i], b128_random[j], in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_BMZ_V__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 193 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 194 do_msa_BMZ_V__DSD(b128_random[i], b128_random[j], in main() [all …]
|
/openbmc/qemu/tests/tcg/mips/user/ase/msa/pack/ |
H A D | test_msa_pckev_w.c | 40 uint32_t i, j; in main() local 165 for (j = 0; j < PATTERN_INPUTS_SHORT_COUNT; j++) { in main() 166 do_msa_PCKEV_W(b128_pattern[i], b128_pattern[j], in main() 172 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 173 do_msa_PCKEV_W(b128_random[i], b128_random[j], in main() 181 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 182 do_msa_PCKEV_W__DDT(b128_random[i], b128_random[j], in main() 188 RANDOM_INPUTS_SHORT_COUNT * i + j]); in main() 193 for (j = 0; j < RANDOM_INPUTS_SHORT_COUNT; j++) { in main() 194 do_msa_PCKEV_W__DSD(b128_random[i], b128_random[j], in main() [all …]
|