/external/wpa_supplicant_8/src/p2p/ |
D | p2p_sd.c | 335 u16 slen; in p2p_rx_gas_initial_req() local 365 slen = *pos++; in p2p_rx_gas_initial_req() 366 if (slen > end - pos || slen < 2) { in p2p_rx_gas_initial_req() 370 next = pos + slen; in p2p_rx_gas_initial_req() 383 slen = WPA_GET_LE16(pos); in p2p_rx_gas_initial_req() 385 if (slen > end - pos) in p2p_rx_gas_initial_req() 387 end = pos + slen; in p2p_rx_gas_initial_req() 398 slen = WPA_GET_LE16(pos); in p2p_rx_gas_initial_req() 400 if (slen > end - pos || slen < 3 + 1) { in p2p_rx_gas_initial_req() 489 u16 slen; in p2p_rx_gas_initial_resp() local [all …]
|
/external/jemalloc/src/ |
D | util.c | 329 #define APPEND_S(s, slen) do { \ in malloc_vsnprintf() argument 331 size_t cpylen = (slen <= size - i) ? slen : size - i; \ in malloc_vsnprintf() 334 i += slen; \ in malloc_vsnprintf() 336 #define APPEND_PADDED_S(s, slen, width, left_justify) do { \ in malloc_vsnprintf() argument 338 size_t pad_len = (width == -1) ? 0 : ((slen < (size_t)width) ? \ in malloc_vsnprintf() 339 (size_t)width - slen : 0); \ in malloc_vsnprintf() 346 APPEND_S(s, slen); \ in malloc_vsnprintf() 502 size_t slen; in malloc_vsnprintf() local 514 ' ' : '-')), buf, &slen); in malloc_vsnprintf() 515 APPEND_PADDED_S(s, slen, width, left_justify); in malloc_vsnprintf() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | hs20_supplicant.c | 381 size_t slen, u8 dialog_token) in hs20_process_icon_binary_file() argument 392 icon->image = os_malloc(slen); in hs20_process_icon_binary_file() 395 os_memcpy(icon->image, pos, slen); in hs20_process_icon_binary_file() 396 icon->image_len = slen; in hs20_process_icon_binary_file() 409 if (slen < 4) { in hs20_process_icon_binary_file() 419 slen--; in hs20_process_icon_binary_file() 421 if ((size_t) 1 + pos[0] > slen) { in hs20_process_icon_binary_file() 428 slen -= 1 + pos[0]; in hs20_process_icon_binary_file() 431 if (slen < 2) { in hs20_process_icon_binary_file() 438 slen -= 2; in hs20_process_icon_binary_file() [all …]
|
/external/iputils/ninfod/ |
D | ninfod_name.c | 209 static int compare_dnsname(const char *s, size_t slen, in compare_dnsname() argument 214 if (slen < 1 || nlen < 1) in compare_dnsname() 217 if (slen == nlen && memcmp(s, n, slen) == 0) in compare_dnsname() 219 if (*(s0 + slen - 1) || *(n0 + nlen - 1)) in compare_dnsname() 221 while (s < s0 + slen && n < n0 + nlen) { in compare_dnsname() 224 if (s + *s + 1 > s0 + slen || n + *n + 1 > n0 + nlen) in compare_dnsname() 227 if (s == s0 + slen - 1) in compare_dnsname() 229 else if (s + 1 == s0 + slen - 1) in compare_dnsname()
|
/external/guava/guava/src/com/google/common/escape/ |
D | CharEscaper.java | 82 int slen = s.length(); in escapeSlow() local 92 for (; index < slen; index++) { in escapeSlow() 108 destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index); in escapeSlow() 127 int charsLeft = slen - lastEscape; in escapeSlow() 135 s.getChars(lastEscape, slen, dest, destIndex); in escapeSlow()
|
/external/iptables/extensions/ |
D | libxt_string.c | 94 int i=0, slen, sindex=0, schar; in parse_hex_string() local 98 slen = strlen(s); in parse_hex_string() 100 if (slen == 0) { in parse_hex_string() 105 while (i < slen) { in parse_hex_string() 120 if (i+1 >= slen) in parse_hex_string() 127 if (i+1 >= slen) { in parse_hex_string() 135 if (i+1 >= slen) { in parse_hex_string() 139 if (i+2 >= slen) { in parse_hex_string()
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/ANY/ |
D | NSEC3PARAM.py | 70 (algorithm, flags, iterations, slen) = struct.unpack('!BBHB', 74 salt = wire[current : current + slen] 75 current += slen 76 rdlen -= slen
|
D | NSEC3.py | 144 (algorithm, flags, iterations, slen) = struct.unpack('!BBHB', 148 salt = wire[current : current + slen] 149 current += slen 150 rdlen -= slen
|
/external/autotest/site_utils/ |
D | log_socket_server.py | 42 slen = struct.unpack('>L', chunk)[0] 43 chunk = self.connection.recv(slen) 44 while len(chunk) < slen: 45 chunk = chunk + self.connection.recv(slen - len(chunk))
|
/external/boringssl/src/crypto/asn1/ |
D | a_d2i_fp.c | 193 c.inf=ASN1_get_object(&(c.p),&(c.slen),&(c.tag),&(c.xclass), in asn1_d2i_read_bio() 219 else if (eos && (c.slen == 0) && (c.tag == V_ASN1_EOC)) in asn1_d2i_read_bio() 231 want=c.slen; in asn1_d2i_read_bio() 260 if (off + c.slen < off) in asn1_d2i_read_bio() 265 off+=c.slen; in asn1_d2i_read_bio()
|
D | f_int.c | 108 int num=0,slen=0,first=1; in a2i_ASN1_INTEGER() local 156 if (num+i > slen) in a2i_ASN1_INTEGER() 162 sp=OPENSSL_realloc_clean(s,slen,num+i*2); in a2i_ASN1_INTEGER() 169 slen=num+i*2; in a2i_ASN1_INTEGER()
|
D | f_string.c | 103 int num=0,slen=0,first=1; in a2i_ASN1_STRING() local 149 if (num+i > slen) in a2i_ASN1_STRING() 163 slen=num+i*2; in a2i_ASN1_STRING()
|
D | f_enum.c | 103 int num=0,slen=0,first=1; in a2i_ASN1_ENUMERATED() local 151 if (num+i > slen) in a2i_ASN1_ENUMERATED() 165 slen=num+i*2; in a2i_ASN1_ENUMERATED()
|
/external/boringssl/src/crypto/pem/ |
D | pem_pkey.c | 83 int slen; in PEM_read_bio_PrivateKey() local 125 } else if ((slen = pem_check_suffix(nm, "PRIVATE KEY")) > 0) in PEM_read_bio_PrivateKey() 128 ameth = EVP_PKEY_asn1_find_str(NULL, nm, slen); in PEM_read_bio_PrivateKey() 184 int slen; in PEM_read_bio_Parameters() local 192 if ((slen = pem_check_suffix(nm, "PARAMETERS")) > 0) in PEM_read_bio_Parameters() 197 if (!set_pkey_type_from_str(ret, nm, slen) in PEM_read_bio_Parameters()
|
/external/icu/icu4c/source/test/intltest/ |
D | mnkytst.cpp | 82 int32_t slen = checkValue((rand() - source.length()) % source.length()); in TestCollationKey() local 86 source.extract(MIN(s, slen), MAX(s, slen), subs); in TestCollationKey() 157 int32_t slen = checkValue((rand() - source.length()) % source.length()); in TestCompare() local 161 source.extract(MIN(s, slen), MAX(s, slen), subs); in TestCompare()
|
/external/selinux/libselinux/src/ |
D | label.c | 51 if (strncmp(src, ptr->src, ptr->slen) == 0 ) { in selabel_sub() 52 if (src[ptr->slen] == '/' || in selabel_sub() 53 src[ptr->slen] == 0) { in selabel_sub() 54 if ((src[ptr->slen] == '/') && in selabel_sub() 56 len = ptr->slen + 1; in selabel_sub() 58 len = ptr->slen; in selabel_sub() 121 sub->slen = strlen(src); in selabel_subs_init()
|
/external/ppp/pppd/ |
D | cbcp.c | 371 int slen; local 383 slen = strlen(us->us_number); 384 if (slen > 250) { 386 slen = 250; 389 len = 3 + 1 + slen + 1; 393 BCOPY(us->us_number, bufp, slen + 1);
|
/external/mksh/src/ |
D | eval.c | 368 int slen = 0; in expand() local 372 type = varsub(&x, varname, sp, &stype, &slen); in expand() 419 sp += slen; in expand() 1063 int slen; in varsub() local 1145 c = word[slen = 0] == CHAR ? word[1] : 0; in varsub() 1147 slen += 2; in varsub() 1149 c = word[slen + 0] == CHAR ? word[slen + 1] : 0; in varsub() 1152 slen += 2; in varsub() 1154 if (word[slen] == ADELIM) { in varsub() 1155 slen += 2; in varsub() [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_common.c | 421 u16 slen; in tls_verify_signature() local 428 slen = WPA_GET_BE16(pos); in tls_verify_signature() 430 if (end - pos < slen) { in tls_verify_signature() 434 if (end - pos > slen) { in tls_verify_signature() 436 pos + slen, end - pos - slen); in tls_verify_signature() 437 end = pos + slen; in tls_verify_signature()
|
/external/iproute2/ip/ |
D | tcp_metrics.c | 100 int family, i, atype, stype, dlen = 0, slen = 0; in process_msg() local 146 slen = RTA_PAYLOAD(a); in process_msg() 155 slen = RTA_PAYLOAD(a); in process_msg() 165 if (slen && f.saddr.family && f.saddr.bitlen >= 0 && in process_msg() 175 if (slen) in process_msg() 298 if (slen) { in process_msg() 300 format_host(family, slen, &saddr.data, abuf, in process_msg()
|
D | ipl2tp.c | 579 int slen; in parse_args() local 581 slen = strlen(*argv); in parse_args() 582 if ((slen != 8) && (slen != 16)) in parse_args() 585 p->cookie_len = slen / 2; in parse_args() 589 int slen; in parse_args() local 591 slen = strlen(*argv); in parse_args() 592 if ((slen != 8) && (slen != 16)) in parse_args() 595 p->peer_cookie_len = slen / 2; in parse_args()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationMonkeyTest.java | 54 … int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCollationKey() local 56 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length())); in TestCollationKey() 131 … int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCompare() local 133 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length())); in TestCompare()
|
D | CollationFrozenMonkeyTest.java | 69 … int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCollationKey() local 71 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length())); in TestCollationKey() 159 … int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCompare() local 161 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length())); in TestCompare()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationFrozenMonkeyTest.java | 73 … int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCollationKey() local 75 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length())); in TestCollationKey() 163 … int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCompare() local 165 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length())); in TestCompare()
|
D | CollationMonkeyTest.java | 58 … int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCollationKey() local 60 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length())); in TestCollationKey() 135 … int slen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCompare() local 137 String subs = source.substring(Math.min(s, slen), Math.min(s + slen, source.length())); in TestCompare()
|