| /openbmc/u-boot/lib/efi_selftest/ |
| H A D | efi_selftest_util.c | 105 int efi_st_memcmp(const void *buf1, const void *buf2, size_t length) in efi_st_memcmp() argument 108 const u8 *pos2 = buf2; in efi_st_memcmp() 119 int efi_st_strcmp_16_8(const u16 *buf1, const char *buf2) in efi_st_strcmp_16_8() argument 121 for (; *buf1 || *buf2; ++buf1, ++buf2) { in efi_st_strcmp_16_8() 122 if (*buf1 != *buf2) in efi_st_strcmp_16_8() 123 return *buf1 - *buf2; in efi_st_strcmp_16_8()
|
| /openbmc/u-boot/arch/m68k/cpu/mcf5445x/ |
| H A D | cpu.c | 81 char buf1[32], buf2[32], buf3[32]; in print_cpuinfo() local 87 strmhz(buf2, gd->bus_clk), in print_cpuinfo() 92 strmhz(buf2, gd->arch.inp_clk), in print_cpuinfo() 97 strmhz(buf2, gd->arch.vco_clk)); in print_cpuinfo()
|
| /openbmc/u-boot/test/lib/ |
| H A D | string.c | 134 u8 buf2[BUFLEN]; in lib_memcpy() local 143 init_buffer(buf2, 0); in lib_memcpy() 144 ptr = memcpy(buf2 + offset2, buf1 + offset1, in lib_memcpy() 146 ut_asserteq_ptr(buf2 + offset2, (u8 *)ptr); in lib_memcpy() 147 if (test_memmove(uts, buf2, MASK, offset1, in lib_memcpy()
|
| /openbmc/u-boot/arch/m68k/cpu/mcf5227x/ |
| H A D | cpu.c | 48 char buf1[32], buf2[32], buf3[32]; in print_cpuinfo() local 54 strmhz(buf2, gd->bus_clk), in print_cpuinfo() 58 strmhz(buf2, gd->arch.vco_clk)); in print_cpuinfo()
|
| /openbmc/phosphor-networkd/test/ |
| H A D | test_util.cpp | 31 auto buf2 = stdplus::raw::asView<char>(ip2); in TEST() local 32 auto res2 = addrFromBuf(AF_INET6, buf2); in TEST() 36 EXPECT_THROW(addrFromBuf(AF_UNSPEC, buf2), std::invalid_argument); in TEST()
|
| /openbmc/u-boot/include/ |
| H A D | efi_selftest.h | 104 int efi_st_memcmp(const void *buf1, const void *buf2, size_t length); 113 int efi_st_strcmp_16_8(const u16 *buf1, const char *buf2);
|
| H A D | environment.h | 279 const char *buf2, int buf2_status);
|
| /openbmc/u-boot/tools/gdb/ |
| H A D | remote.c | 636 char *buf2 = alloca (PBUFSIZ); local 649 p = buf2; 671 fputstrn_unfiltered (buf2, p - buf2, 0, gdb_stdlog); 675 if (SERIAL_WRITE (remote_desc, buf2, p - buf2))
|
| /openbmc/u-boot/arch/m68k/cpu/mcf523x/ |
| H A D | cpu.c | 48 char buf1[32], buf2[32]; in print_cpuinfo() local 54 strmhz(buf2, gd->bus_clk)); in print_cpuinfo()
|
| /openbmc/u-boot/arch/m68k/cpu/mcf547x_8x/ |
| H A D | cpu.c | 84 char buf1[32], buf2[32]; in print_cpuinfo() local 89 strmhz(buf2, gd->bus_clk)); in print_cpuinfo()
|
| /openbmc/u-boot/arch/m68k/cpu/mcf532x/ |
| H A D | cpu.c | 87 char buf1[32], buf2[32]; in print_cpuinfo() local 93 strmhz(buf2, gd->bus_clk)); in print_cpuinfo()
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
| H A D | cpu.c | 46 char buf1[32], buf2[32]; in checkcpu() local 192 strmhz(buf2, sysinfo.freq_ddrbus)); in checkcpu() 197 strmhz(buf2, sysinfo.freq_ddrbus)); in checkcpu() 204 strmhz(buf2, sysinfo.freq_ddrbus)); in checkcpu() 210 strmhz(buf2, sysinfo.freq_ddrbus)); in checkcpu() 216 strmhz(buf2, sysinfo.freq_ddrbus)); in checkcpu()
|
| /openbmc/u-boot/cmd/ |
| H A D | mem.c | 229 const void *buf1, *buf2, *base; in do_mem_cmp() local 257 buf2 = map_sysmem(addr2, bytes); in do_mem_cmp() 261 word2 = *(u32 *)buf2; in do_mem_cmp() 265 word2 = *(u64 *)buf2; in do_mem_cmp() 269 word2 = *(u16 *)buf2; in do_mem_cmp() 272 word2 = *(u8 *)buf2; in do_mem_cmp() 290 buf2 += size; in do_mem_cmp() 297 unmap_sysmem(buf2); in do_mem_cmp()
|
| /openbmc/u-boot/drivers/mtd/ubi/ |
| H A D | crc32.c | 485 unsigned char buf2[SIZE + 4]; in main() local 494 random_garbage(buf2, i); in main() 496 buf3[j] = buf1[j] ^ buf2[j]; in main() 499 crc2 = test_step(INIT2, buf2, i); in main()
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc86xx/ |
| H A D | cpu.c | 36 char buf1[32], buf2[32]; in checkcpu() local 79 strmhz(buf2, sysinfo.freq_systembus)); in checkcpu()
|
| /openbmc/u-boot/env/ |
| H A D | common.c | 139 const char *buf2, int buf2_read_fail) in env_import_redund() argument 145 tmp_env2 = (env_t *)buf2; in env_import_redund()
|
| /openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/ |
| H A D | cpu.c | 231 char buf1[32], buf2[32]; in print_cpuinfo() local 270 strmhz(buf1, gd->mem_clk/2), strmhz(buf2, gd->mem_clk)); in print_cpuinfo()
|
| /openbmc/u-boot/arch/m68k/cpu/mcf52x2/ |
| H A D | cpu.c | 42 char buf1[32], buf2[32]; in print_cpuinfo() local 47 strmhz(buf2, gd->bus_clk)); in print_cpuinfo()
|
| /openbmc/qemu/tests/tcg/multiarch/linux/ |
| H A D | linux-test.c | 79 uint8_t buf2[FILE_BUF_SIZE]; in test_file() local 119 len = chk_error(read(fd, buf2, FILE_BUF_SIZE)); in test_file() 122 if (memcmp(buf, buf2, FILE_BUF_SIZE) != 0) in test_file()
|
| /openbmc/qemu/tests/qtest/ |
| H A D | virtio-scsi-test.c | 174 uint8_t buf2[512] = { 1 }; in test_unaligned_write_same() local 193 virtio_scsi_do_command(vs, write_same_cdb_2, NULL, 0, buf2, 512, in test_unaligned_write_same()
|
| /openbmc/u-boot/fs/ubifs/ |
| H A D | recovery.c | 230 void *buf1 = NULL, *buf2 = NULL, *cor1 = NULL, *cor2 = NULL; in ubifs_recover_master_node() local 241 err = get_master_node(c, UBIFS_MST_LNUM + 1, &buf2, &mst2, &cor2); in ubifs_recover_master_node() 256 offs2 = (void *)mst2 - buf2; in ubifs_recover_master_node() 294 offs2 = (void *)mst2 - buf2; in ubifs_recover_master_node() 349 vfree(buf2); in ubifs_recover_master_node() 366 vfree(buf2); in ubifs_recover_master_node()
|
| /openbmc/qemu/hw/net/ |
| H A D | rtl8139.c | 1774 uint8_t *buf2; in rtl8139_transfer_frame() local 1778 buf2 = g_malloc(buf2_size); in rtl8139_transfer_frame() 1779 iov_to_buf(iov, 3, 0, buf2, buf2_size); in rtl8139_transfer_frame() 1780 buf = buf2; in rtl8139_transfer_frame() 1787 g_free(buf2); in rtl8139_transfer_frame()
|
| H A D | trace-events | 413 …t32_t len2, uint32_t buf1, uint32_t buf2) "%s 0x%08x: status 0x%08x control 0x%03x len1 %4d len2 %…
|
| /openbmc/qemu/ |
| H A D | qemu-img.c | 1263 static int compare_buffers(const uint8_t *buf1, const uint8_t *buf2, in compare_buffers() argument 1276 res = !!memcmp(buf1, buf2, i); in compare_buffers() 1280 if (!!memcmp(buf1 + i, buf2 + i, len) != res) { in compare_buffers() 1343 uint8_t *buf1 = NULL, *buf2 = NULL; in img_compare() local 1480 buf2 = blk_blockalign(blk2, IO_BUF_SIZE); in img_compare() 1555 ret = blk_pread(blk2, offset, chunk, buf2, 0); in img_compare() 1563 ret = compare_buffers(buf1, buf2, chunk, 0, &pnum); in img_compare() 1630 qemu_vfree(buf2); in img_compare()
|
| /openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/ |
| H A D | 0013-eglibc-Forward-port-cross-locale-generation-support.patch | 356 - wchar_t *buf2 = NULL; 357 + uint32_t *buf2 = NULL;
|