Searched refs:s1 (Results 1 - 10 of 10) sorted by relevance

/system/keymaster/
H A Dgoogle_keymaster_utils.cpp29 const uint8_t* s1 = static_cast<const uint8_t*>(p1); local
33 result |= *s1++ ^ *s2++;
/system/extras/tests/bionic/libstdc++/
H A Dtest_climits.cpp56 volatile short s1 = SHRT_MAX; local
/system/core/toolbox/upstream-netbsd/lib/libc/gen/
H A Dhumanize_number.c51 int b, r, s1, s2, sign; local
150 s1 = b / 10;
153 sign * s1, localeconv()->decimal_point, s2,
/system/core/include/utils/
H A DUnicode.h33 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n);
46 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2);
/system/core/libutils/
H A DUnicode.cpp212 int strcmp16(const char16_t *s1, const char16_t *s2) argument
218 d = (int)(ch = *s1++) - (int)*s2++;
226 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n) argument
232 d = (int)(ch = *s1++) - (int)*s2++;
293 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2) argument
295 const char16_t* e1 = s1+n1;
298 while (s1 < e1 && s2 < e2) {
299 const int d = (int)*s1++ - (int)*s2++;
308 ? ((int)*s1 - 0)
/system/core/libmincrypt/
H A Dsha256.c73 uint32_t s1 = ror(W[t-2], 17) ^ ror(W[t-2], 19) ^ shr(W[t-2], 10); local
74 W[t] = W[t-16] + s0 + W[t-7] + s1;
90 uint32_t s1 = ror(E, 6) ^ ror(E, 11) ^ ror(E, 25); local
92 uint32_t t1 = H + s1 + ch + K[t] + W[t];
H A Dp256_ec.c882 felem z1z1, z1z1z1, z2z2, z2z2z2, s1, s2, u1, u2, h, i, j, r, rr, v, tmp; local
894 felem_mul(s1, y1, z2z2z2);
903 felem_diff(r, s2, s1);
915 felem_mul(tmp, s1, j);
929 felem z1z1, z1z1z1, z2z2, z2z2z2, s1, s2, u1, u2, h, i, j, r, rr, v, tmp; local
942 felem_mul(s1, y1, z2z2z2);
952 felem_diff(r, s2, s1);
969 felem_mul(tmp, s1, j);
/system/core/fastbootd/commands/
H A Dpartitions.c359 int strncmp_UTF16_char(const uint16_t *s1, const char *s2, size_t n) argument
364 if (((*s1) & 127) != *s2++)
365 return (((unsigned char) ((*s1) & 127)) - *(unsigned char *)--s2);
366 if (*s1++ == 0)
372 int strncmp_UTF16(const uint16_t *s1, const uint16_t *s2, size_t n) argument
377 if ((*s1) != *s2++)
378 return (*s1 - *--s2);
379 if (*s1++ == 0)
/system/core/libpixelflinger/codeflinger/
H A Dload_store.cpp88 int s1 = scratches.obtain(); local
89 LDRB(AL, s1, addr.reg, immed12_pre(0)); // R
91 ORR(AL, 0, s1, s1, reg_imm(s0, LSL, 8));
93 ORR(AL, 0, s.reg, s1, reg_imm(s0, LSL, 16));
/system/core/toolbox/
H A Dnewfs_msdos.c757 const char *s1, *s2;
764 s1 = fname;
765 if (!strncmp(s1, _PATH_DEV, len))
766 s1 += len;
767 r = S_ISCHR(mode) && s1 != fname && *s1 == 'r';
772 if ((r && s2 != mp->f_mntfromname && !strcmp(s1 + 1, s2)) || !strcmp(s1, s2))

Completed in 339 milliseconds