| /openbmc/qemu/tests/tcg/i386/ |
| H A D | test-i386-shift.h | 11 #define EXECSHIFT(size, rsize, res, s1, s2, flags) \ argument 20 #define EXECSHIFT(size, rsize, res, s1, s2, flags) \ argument 31 void exec_opq(long s2, long s0, long s1, long iflags) in exec_opq() argument 36 EXECSHIFT("q", "", res, s1, s2, flags); in exec_opq() 45 void exec_opl(long s2, long s0, long s1, long iflags) in exec_opl() argument 50 EXECSHIFT("l", "k", res, s1, s2, flags); in exec_opl() 58 void exec_opw(long s2, long s0, long s1, long iflags) in exec_opw() argument 63 EXECSHIFT("w", "w", res, s1, s2, flags); in exec_opw() 72 #define EXECSHIFT(size, rsize, res, s1, s2, flags) \ argument 79 : "c" (s1), "0" (res), "1" (flags), "r" (s2)); [all …]
|
| H A D | test-i386-pcmpistri.c | 13 union u s2 = { .uc = "bcdefghijklmnopa" }; variable 24 if (_mm_cmpistri(s1.x, s2.x, 0x4c) != 15) { in main()
|
| /openbmc/qemu/tests/tcg/s390x/ |
| H A D | clst.c | 5 static int clst(char sep, const char **s1, const char **s2) in clst() argument 8 const char *r2 = *s2; in clst() 21 *s2 = r2; in clst() 31 const char *s2; member 39 .s2 = "aa", 47 .s2 = "aa\x01", 55 .s2 = "abb\x02", 64 const char *s1, *s2; in main() local 71 s2 = t->s2; in main() 72 cc = clst(t->sep, &s1, &s2); in main() [all …]
|
| /openbmc/u-boot/arch/mips/mach-mt7620/ |
| H A D | lowlevel_init.S | 68 li s2, CKSEG1ADDR(MT76XX_RGCTRL_BASE) 129 lw t4, 0x100(s2) 132 sw t4, 0x100(s2) 133 lw t4, 0x10c(s2) 139 sw t4, 0x10c(s2) 145 sw t4, 0x10c(s2) 148 lw t2, 0x10c(s2) 151 sw t2, 0x10c(s2) 158 lw t2, 0x10c(s2) 161 sw t2, 0x10c(s2) [all …]
|
| /openbmc/qemu/target/sparc/ |
| H A D | vis_helper.c | 103 VIS32 s1, s2; in helper_fpmerge() local 107 s2.l = src2; in helper_fpmerge() 111 d.VIS_B64(6) = s2.VIS_B32(3); in helper_fpmerge() 113 d.VIS_B64(4) = s2.VIS_B32(2); in helper_fpmerge() 115 d.VIS_B64(2) = s2.VIS_B32(1); in helper_fpmerge() 117 d.VIS_B64(0) = s2.VIS_B32(0); in helper_fpmerge() 227 VIS64 s1, s2; in helper_fcmple8() local 231 s2.ll = src2; in helper_fcmple8() 234 r |= (s1.VIS_SB64(i) <= s2.VIS_SB64(i)) << i; in helper_fcmple8() 246 VIS64 s1, s2; in helper_fcmpule8() local [all …]
|
| /openbmc/qemu/crypto/ |
| H A D | aes.c | 1451 u32 s0, s1, s2, s3, t0, t1, t2, t3; in AES_encrypt() local 1465 s2 = GETU32(in + 8) ^ rk[2]; in AES_encrypt() 1469 …t0 = AES_Te0[s0 >> 24] ^ AES_Te1[(s1 >> 16) & 0xff] ^ AES_Te2[(s2 >> 8) & 0xff] ^ AES_Te3[s3 & 0x… in AES_encrypt() 1470 …t1 = AES_Te0[s1 >> 24] ^ AES_Te1[(s2 >> 16) & 0xff] ^ AES_Te2[(s3 >> 8) & 0xff] ^ AES_Te3[s0 & 0x… in AES_encrypt() 1471 …t2 = AES_Te0[s2 >> 24] ^ AES_Te1[(s3 >> 16) & 0xff] ^ AES_Te2[(s0 >> 8) & 0xff] ^ AES_Te3[s1 & 0x… in AES_encrypt() 1472 …[s3 >> 24] ^ AES_Te1[(s0 >> 16) & 0xff] ^ AES_Te2[(s1 >> 8) & 0xff] ^ AES_Te3[s2 & 0xff] ^ rk[ 7]; in AES_encrypt() 1476 …s2 = AES_Te0[t2 >> 24] ^ AES_Te1[(t3 >> 16) & 0xff] ^ AES_Te2[(t0 >> 8) & 0xff] ^ AES_Te3[t1 & 0x… in AES_encrypt() 1479 …t0 = AES_Te0[s0 >> 24] ^ AES_Te1[(s1 >> 16) & 0xff] ^ AES_Te2[(s2 >> 8) & 0xff] ^ AES_Te3[s3 & 0x… in AES_encrypt() 1480 …t1 = AES_Te0[s1 >> 24] ^ AES_Te1[(s2 >> 16) & 0xff] ^ AES_Te2[(s3 >> 8) & 0xff] ^ AES_Te3[s0 & 0x… in AES_encrypt() 1481 …t2 = AES_Te0[s2 >> 24] ^ AES_Te1[(s3 >> 16) & 0xff] ^ AES_Te2[(s0 >> 8) & 0xff] ^ AES_Te3[s1 & 0x… in AES_encrypt() [all …]
|
| /openbmc/u-boot/drivers/mtd/nand/raw/ |
| H A D | nand_ecc.c | 136 uint8_t s0, s1, s2; in nand_correct_data() local 140 s2 = calc_ecc[2] ^ read_ecc[2]; in nand_correct_data() 141 if ((s0 | s1 | s2) == 0) in nand_correct_data() 147 ((s2 ^ (s2 >> 1)) & 0x54) == 0x54) { in nand_correct_data() 161 bitnum = (s2 >> 5) & 0x04; in nand_correct_data() 162 bitnum |= (s2 >> 4) & 0x02; in nand_correct_data() 163 bitnum |= (s2 >> 3) & 0x01; in nand_correct_data() 170 if(countbits(s0 | ((uint32_t)s1 << 8) | ((uint32_t)s2 <<16)) == 1) in nand_correct_data()
|
| /openbmc/u-boot/include/dm/ |
| H A D | of.h | 120 #define of_compat_cmp(s1, s2, l) strcasecmp((s1), (s2)) argument 121 #define of_prop_cmp(s1, s2) strcmp((s1), (s2)) argument 122 #define of_node_cmp(s1, s2) strcasecmp((s1), (s2)) argument
|
| /openbmc/qemu/pc-bios/vof/ |
| H A D | libc.c | 15 int strcmp(const char *s1, const char *s2) in strcmp() argument 17 while (*s1 != 0 && *s2 != 0) { in strcmp() 18 if (*s1 != *s2) { in strcmp() 22 s2 += 1; in strcmp() 25 return *s1 - *s2; in strcmp()
|
| /openbmc/u-boot/lib/lzo/ |
| H A D | lzodefs.h | 41 #define DX2(p, s1, s2) (((((size_t)((p)[2]) << (s2)) ^ (p)[1]) \ argument 43 #define DX3(p, s1, s2, s3) ((DX2((p)+1, s2, s3) << (s1)) ^ (p)[0]) argument
|
| /openbmc/phosphor-user-manager/test/ |
| H A D | json_serializer_test.cpp | 63 JsonSerializer s2(test_file); in TEST_F() local 64 s2.load(); in TEST_F() 66 s2.deserialize("foo/bar/baz", value); in TEST_F() 82 JsonSerializer s2(test_file); in TEST_F() local 83 s2.load(); in TEST_F() 85 s2.deserialize("foo/bar/baz", value); in TEST_F()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/eject/eject/ |
| H A D | eject-2.1.5-spaces.patch | 46 if (((strcmp(s1, name) == 0) || (strcmp(s2, name) == 0)) || 50 - *mountName = strdup(s2); 52 + *mountName = DeMangleMount(strdup(s2)); 57 rc = sscanf(line, "%1023s %1023s", s1, s2); 58 if (rc >= 2 && s1[0] != '#' && strcmp(s2, name) == 0) { 61 - *mountName = strdup(s2); 63 + *mountName = DeMangleMount(strdup(s2));
|
| /openbmc/phosphor-inventory-manager/test/ |
| H A D | utils_test.cpp | 46 auto s2 = "prefixbar"s; in TEST() local 49 EXPECT_TRUE(comp(s2, s1)); in TEST() 50 EXPECT_FALSE(comp(s1, s2)); in TEST() 74 auto s2 = "prefixbar"s; in TEST() local 77 EXPECT_TRUE(comp(s2, s1)); in TEST() 78 EXPECT_FALSE(comp(s1, s2)); in TEST()
|
| /openbmc/sdbusplus/test/message/ |
| H A D | native_types.cpp | 27 std::string s2 = sdbusplus::message::signature("iii"); in TEST() local 28 sdbusplus::message::signature sig = s2; in TEST() 30 ASSERT_EQ(sig, s2); in TEST() 31 ASSERT_EQ(s2, sig); in TEST()
|
| /openbmc/qemu/tests/qtest/ |
| H A D | ivshmem-test.c | 199 IVState state1, state2, *s1, *s2; in test_ivshmem_pair() local 206 s2 = &state2; in test_ivshmem_pair() 216 read_mem(s2, 0, data, TMPSHMSIZE); in test_ivshmem_pair() 225 read_mem(s2, 0, data, TMPSHMSIZE); in test_ivshmem_pair() 232 write_mem(s2, 0, data, TMPSHMSIZE); in test_ivshmem_pair() 240 cleanup_vm(s2); in test_ivshmem_pair() 308 IVState state1, state2, *s1, *s2; in test_ivshmem_server() local 332 s2 = &state2; in test_ivshmem_server() 336 vm2 = in_reg(s2, IVPOSITION); in test_ivshmem_server() 350 out_reg(s2, DOORBELL, vm1 << 16); in test_ivshmem_server() [all …]
|
| /openbmc/u-boot/lib/efi_loader/ |
| H A D | efi_unicode_collation.c | 54 struct efi_unicode_collation_protocol *this, u16 *s1, u16 *s2) in efi_stri_coll() argument 59 EFI_ENTRY("%p, %ls, %ls", this, s1, s2); in efi_stri_coll() 60 for (; *s1 | *s2; ++s1, ++s2) { in efi_stri_coll() 62 c2 = utf_to_upper(*s2); in efi_stri_coll()
|
| H A D | efi_freestanding.c | 23 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() argument 26 const u8 *pos2 = s2; in memcmp()
|
| /openbmc/phosphor-pid-control/test/ |
| H A D | pid_fancontroller_unittest.cpp | 174 std::unique_ptr<Sensor> s2 = std::make_unique<SensorMock>("fan1", timeout); in TEST() local 177 SensorMock* sm2 = reinterpret_cast<SensorMock*>(s2.get()); in TEST() 184 EXPECT_CALL(z, getSensor(StrEq("fan1"))).WillOnce(Return(s2.get())); in TEST() 213 std::unique_ptr<Sensor> s2 = std::make_unique<SensorMock>("fan1", timeout); in TEST() local 216 SensorMock* sm2 = reinterpret_cast<SensorMock*>(s2.get()); in TEST() 223 EXPECT_CALL(z, getSensor(StrEq("fan1"))).WillOnce(Return(s2.get())); in TEST() 293 std::unique_ptr<Sensor> s2 = std::make_unique<SensorMock>("fan1", timeout); in TEST() local 296 SensorMock* sm2 = reinterpret_cast<SensorMock*>(s2.get()); in TEST() 303 EXPECT_CALL(z, getSensor(StrEq("fan1"))).WillOnce(Return(s2.get())); in TEST()
|
| /openbmc/u-boot/lib/bzip2/ |
| H A D | bzlib_blocksort.c | 396 UInt16 s1, s2; in mainGtU() local 454 s1 = quadrant[i1]; s2 = quadrant[i2]; in mainGtU() 455 if (s1 != s2) return (s1 > s2); in mainGtU() 460 s1 = quadrant[i1]; s2 = quadrant[i2]; in mainGtU() 461 if (s1 != s2) return (s1 > s2); in mainGtU() 466 s1 = quadrant[i1]; s2 = quadrant[i2]; in mainGtU() 467 if (s1 != s2) return (s1 > s2); in mainGtU() 472 s1 = quadrant[i1]; s2 = quadrant[i2]; in mainGtU() 473 if (s1 != s2) return (s1 > s2); in mainGtU() 478 s1 = quadrant[i1]; s2 = quadrant[i2]; in mainGtU() [all …]
|
| /openbmc/u-boot/lib/ |
| H A D | string.c | 31 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument 39 c1 = *s1; c2 = *s2; in strncasecmp() 40 s1++; s2++; in strncasecmp() 61 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument 63 return strncasecmp(s1, s2, -1U); in strcasecmp() 626 char * strstr(const char * s1,const char * s2) in strstr() argument 630 l2 = strlen(s2); in strstr() 636 if (!memcmp(s1,s2,l2)) in strstr()
|
| /openbmc/qemu/target/riscv/ |
| H A D | vector_internals.h | 146 TX2 s2 = *((T2 *)vs2 + HS2(i)); \ 147 *((TD *)vd + HD(i)) = OP(s2); \ 186 TX2 s2 = *((T2 *)vs2 + HS2(i)); \ 187 *((TD *)vd + HD(i)) = OP(s2, s1); \ 213 TX2 s2 = *((T2 *)vs2 + HS2(i)); \ 214 *((TD *)vd + HD(i)) = OP(s2, (TX1)(T1)s1); \
|
| /openbmc/openbmc/poky/bitbake/lib/bb/parse/parse_py/ |
| H A D | ConfHandler.py | 141 s2 = line.rstrip() 143 if (not s2 or s2 and s2[0] != "#") and s[0] == "#" : 146 s = s[:-1] + s2
|
| /openbmc/u-boot/lib/libavb/ |
| H A D | avb_sysdeps_posix.c | 23 int avb_strcmp(const char* s1, const char* s2) { in avb_strcmp() argument 24 return strcmp(s1, s2); in avb_strcmp()
|
| /openbmc/u-boot/arch/mips/include/asm/ |
| H A D | regdef.h | 41 #define s2 $18 macro 84 #define s2 $18 macro
|
| /openbmc/u-boot/include/linux/ |
| H A D | string.h | 45 int strcasecmp(const char *s1, const char *s2); 48 extern int strncasecmp(const char *s1, const char *s2, __kernel_size_t len);
|