/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
rsa_pss.c | 74 const EVP_MD *Hash, const unsigned char *EM, int sLen) 76 return RSA_verify_PKCS1_PSS_mgf1(rsa, mHash, Hash, NULL, EM, sLen); 81 const unsigned char *EM, int sLen) 99 * Negative sLen has special meanings: 100 * -1 sLen == hLen 104 if (sLen == -1) sLen = hLen; 105 else if (sLen == -2) sLen = -2; 106 else if (sLen < -2 [all...] |
/external/openssl/crypto/rsa/ |
rsa_pss.c | 74 const EVP_MD *Hash, const unsigned char *EM, int sLen) 76 return RSA_verify_PKCS1_PSS_mgf1(rsa, mHash, Hash, NULL, EM, sLen); 81 const unsigned char *EM, int sLen) 99 * Negative sLen has special meanings: 100 * -1 sLen == hLen 104 if (sLen == -1) sLen = hLen; 105 else if (sLen == -2) sLen = -2; 106 else if (sLen < -2 [all...] |
/external/harfbuzz/src/ |
harfbuzz-hebrew.c | 78 int slen = 1; local 137 shapedChars[slen] = 0x25cc; 138 attributes[slen].clusterStart = TRUE; 139 attributes[slen].mark = FALSE; 140 attributes[slen].combiningClass = 0; 141 cluster_start = slen; 142 ++slen; 153 shapedChars[slen] = uc[i]; 156 attributes[slen].clusterStart = TRUE; 157 attributes[slen].mark = FALSE [all...] |
harfbuzz-greek.c | 364 int slen = 1; local 376 hb_uint16 base = shapedChars[slen-1]; 399 shapedChars[slen-1] = shaped; 408 shapedChars[slen] = uc[i]; 411 attributes[slen].clusterStart = TRUE; 412 attributes[slen].mark = FALSE; 413 attributes[slen].combiningClass = 0; 414 attributes[slen].dontPrint = HB_IsControlChar(uc[i]); 415 cluster_start = slen; 417 attributes[slen].clusterStart = FALSE [all...] |
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-hebrew.c | 78 int slen = 1; local 137 shapedChars[slen] = 0x25cc; 138 attributes[slen].clusterStart = TRUE; 139 attributes[slen].mark = FALSE; 140 attributes[slen].combiningClass = 0; 141 cluster_start = slen; 142 ++slen; 153 shapedChars[slen] = uc[i]; 156 attributes[slen].clusterStart = TRUE; 157 attributes[slen].mark = FALSE [all...] |
harfbuzz-greek.c | 364 int slen = 1; local 376 hb_uint16 base = shapedChars[slen-1]; 399 shapedChars[slen-1] = shaped; 408 shapedChars[slen] = uc[i]; 411 attributes[slen].clusterStart = TRUE; 412 attributes[slen].mark = FALSE; 413 attributes[slen].combiningClass = 0; 414 attributes[slen].dontPrint = HB_IsControlChar(uc[i]); 415 cluster_start = slen; 417 attributes[slen].clusterStart = FALSE [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
hs20_supplicant.c | 139 const u8 *sa, const u8 *data, size_t slen) 146 if (slen < 2) 153 slen--; 156 slen--; 162 wpa_hexdump_ascii(MSG_DEBUG, "HS Capability List", pos, slen); 167 wpa_hexdump_ascii(MSG_DEBUG, "oper friendly name", pos, slen); 171 wpabuf_alloc_copy(pos, slen); 175 wpa_hexdump(MSG_DEBUG, "WAN Metrics", pos, slen); 176 if (slen < 13) { 187 anqp->hs20_wan_metrics = wpabuf_alloc_copy(pos, slen); [all...] |
hs20_supplicant.h | 18 const u8 *sa, const u8 *data, size_t slen);
|
/bionic/libc/wchar/ |
wcsxfrm.c | 38 size_t slen; local 47 slen = wcslen(src); 49 if (slen < len) 56 return (slen);
|
/system/core/toolbox/ |
dynarray.c | 69 void strlist_append_b( strlist_t *list, const void* str, size_t slen ) 71 char *copy = malloc(slen+1); 72 memcpy(copy, str, slen); 73 copy[slen] = '\0';
|
/bionic/libc/bionic/ |
strndup.c | 33 size_t slen = (size_t)strlen(s); local 36 if (slen < n) 37 n = slen;
|
/external/javassist/src/main/javassist/bytecode/ |
ByteStream.java | 98 int sLen = s.length(); 100 enlarge(sLen + 2); 103 buffer[pos++] = (byte)(sLen >>> 8); 104 buffer[pos++] = (byte)sLen; 105 for (int i = 0; i < sLen; ++i) { 110 writeUTF2(s, sLen, i); 118 private void writeUTF2(String s, int sLen, int offset) { 119 int size = sLen; 120 for (int i = offset; i < sLen; i++) { 130 "encoded string too long: " + sLen + size + " bytes") [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
asn1_mac.h | 111 c.slen = length; 125 (((c.inf&1) == 0)?(c.slen <= 0): \ 126 (c.eos=ASN1_const_check_infinite_end(&c.p,c.slen))) 131 if (func(&(b),&c.p,c.slen) == NULL) \ 133 c.slen-=(c.p-c.q); 138 if (((D2I_OF(type))func)(&(b),&c.p,c.slen) == NULL) \ 140 c.slen-=(c.p-c.q); 145 if (func(&(b),&c.p,c.slen) < 0) \ 147 c.slen-=(c.p-c.q); 150 if ((c.slen != 0) && ((M_ASN1_next & (~V_ASN1_CONSTRUCTED)) [all...] |
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
asn1_mac.h | 111 c.slen = length; 125 (((c.inf&1) == 0)?(c.slen <= 0): \ 126 (c.eos=ASN1_const_check_infinite_end(&c.p,c.slen))) 131 if (func(&(b),&c.p,c.slen) == NULL) \ 133 c.slen-=(c.p-c.q); 138 if (((D2I_OF(type))func)(&(b),&c.p,c.slen) == NULL) \ 140 c.slen-=(c.p-c.q); 145 if (func(&(b),&c.p,c.slen) < 0) \ 147 c.slen-=(c.p-c.q); 150 if ((c.slen != 0) && ((M_ASN1_next & (~V_ASN1_CONSTRUCTED)) [all...] |
/external/openssl/crypto/asn1/ |
asn1_mac.h | 111 c.slen = length; 125 (((c.inf&1) == 0)?(c.slen <= 0): \ 126 (c.eos=ASN1_const_check_infinite_end(&c.p,c.slen))) 131 if (func(&(b),&c.p,c.slen) == NULL) \ 133 c.slen-=(c.p-c.q); 138 if (((D2I_OF(type))func)(&(b),&c.p,c.slen) == NULL) \ 140 c.slen-=(c.p-c.q); 145 if (func(&(b),&c.p,c.slen) < 0) \ 147 c.slen-=(c.p-c.q); 150 if ((c.slen != 0) && ((M_ASN1_next & (~V_ASN1_CONSTRUCTED)) [all...] |
/external/openssl/include/openssl/ |
asn1_mac.h | 111 c.slen = length; 125 (((c.inf&1) == 0)?(c.slen <= 0): \ 126 (c.eos=ASN1_const_check_infinite_end(&c.p,c.slen))) 131 if (func(&(b),&c.p,c.slen) == NULL) \ 133 c.slen-=(c.p-c.q); 138 if (((D2I_OF(type))func)(&(b),&c.p,c.slen) == NULL) \ 140 c.slen-=(c.p-c.q); 145 if (func(&(b),&c.p,c.slen) < 0) \ 147 c.slen-=(c.p-c.q); 150 if ((c.slen != 0) && ((M_ASN1_next & (~V_ASN1_CONSTRUCTED)) [all...] |
/external/openssh/ |
ssh-rsa.c | 46 u_int slen, dlen, len; local 64 slen = RSA_size(key->rsa); 65 sig = xmalloc(slen); 78 if (len < slen) { 79 u_int diff = slen - len; 80 debug("slen %u > len %u", slen, len); 83 } else if (len > slen) { 84 error("ssh_rsa_sign: slen %u slen2 %u", slen, len) [all...] |
/external/wpa_supplicant_8/src/p2p/ |
p2p_sd.c | 278 u16 slen; local 308 slen = *pos++; 309 next = pos + slen; 310 if (next > end || slen < 2) { 326 slen = WPA_GET_LE16(pos); 328 if (pos + slen > end) 330 end = pos + slen; 341 slen = WPA_GET_LE16(pos); 343 if (pos + slen > end || slen < 3 + 1) 430 u16 slen; local [all...] |
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
realpath.c | 57 int m, slen; local 195 slen = readlink(resolved, symlink, sizeof(symlink) - 1); 196 if (slen < 0) { 201 symlink[slen] = '\0'; 219 if (symlink[slen - 1] != '/') { 220 if (slen + 1 >= sizeof(symlink)) { 226 symlink[slen] = '/'; 227 symlink[slen + 1] = 0;
|
/external/openssh/openbsd-compat/ |
realpath.c | 58 int serrno, slen; local 150 slen = readlink(resolved, symlink, sizeof(symlink) - 1); 151 if (slen < 0) 153 symlink[slen] = '\0'; 171 if (symlink[slen - 1] != '/') { 172 if (slen + 1 >= sizeof(symlink)) { 176 symlink[slen] = '/'; 177 symlink[slen + 1] = 0;
|
/bionic/libc/include/ |
string.h | 220 size_t slen = __builtin_strlen(s); local 221 if (__builtin_constant_p(slen)) { 222 return slen; 241 size_t slen = __builtin_strlen(s); local 242 if (__builtin_constant_p(slen) && (slen < bos)) { 262 size_t slen = __builtin_strlen(s); local 263 if (__builtin_constant_p(slen) && (slen < bos)) {
|
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs7/ |
example.c | 138 if ((os1=d2i_ASN1_OCTET_STRING(NULL,&c.p,c.slen)) == NULL) 140 c.slen-=(c.p-c.q); 143 if ((os2=d2i_ASN1_OCTET_STRING(NULL,&c.p,c.slen)) == NULL) 145 c.slen-=(c.p-c.q); 305 if ((os1=d2i_ASN1_OCTET_STRING(NULL,&c.p,c.slen)) == NULL) 307 c.slen-=(c.p-c.q); 310 if ((os2=d2i_ASN1_OCTET_STRING(NULL,&c.p,c.slen)) == NULL) 312 c.slen-=(c.p-c.q);
|
/external/icu4c/samples/legacy/ |
newcol.cpp | 27 int32_t getSortKey_current(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, int32_t bLen) { 33 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen);
|
/external/openssl/crypto/pkcs7/ |
example.c | 138 if ((os1=d2i_ASN1_OCTET_STRING(NULL,&c.p,c.slen)) == NULL) 140 c.slen-=(c.p-c.q); 143 if ((os2=d2i_ASN1_OCTET_STRING(NULL,&c.p,c.slen)) == NULL) 145 c.slen-=(c.p-c.q); 305 if ((os1=d2i_ASN1_OCTET_STRING(NULL,&c.p,c.slen)) == NULL) 307 c.slen-=(c.p-c.q); 310 if ((os2=d2i_ASN1_OCTET_STRING(NULL,&c.p,c.slen)) == NULL) 312 c.slen-=(c.p-c.q);
|
/external/chromium_org/crypto/third_party/nss/ |
rsawrapr.c | 76 unsigned int sLen) 89 if ((emLen < (hash->length + sLen + 2)) || 114 for (i = 0; i < (dbMaskLen - sLen - 1); i++) { 121 if (db[dbMaskLen - sLen - 1] != 0x01) { 144 (*hash->update)(hash_context, &db[dbMaskLen - sLen], sLen);
|