Home
last modified time | relevance | path

Searched refs:clen (Results 1 – 25 of 86) sorted by relevance

1234

/external/curl/lib/
Ddotdot.c57 size_t clen = inlen; /* the length of the cloned input */ in Curl_dedotdotify() local
98 clen -= 2; in Curl_dedotdotify()
102 clen -= 3; in Curl_dedotdotify()
110 clen -= 2; in Curl_dedotdotify()
115 clen -= 1; in Curl_dedotdotify()
125 clen -= 3; in Curl_dedotdotify()
137 clen -= 2; in Curl_dedotdotify()
163 clen--; in Curl_dedotdotify()
/external/curl/lib/vauth/
Dcleartext.c73 size_t clen; in Curl_auth_create_plain_message() local
80 clen = strlen(authcid); in Curl_auth_create_plain_message()
84 if((zlen > SIZE_T_MAX/4) || (clen > SIZE_T_MAX/4) || in Curl_auth_create_plain_message()
87 plainlen = zlen + clen + plen + 2; in Curl_auth_create_plain_message()
97 memcpy(plainauth + zlen + 1, authcid, clen); in Curl_auth_create_plain_message()
98 plainauth[zlen + clen + 1] = '\0'; in Curl_auth_create_plain_message()
99 memcpy(plainauth + zlen + clen + 2, passwd, plen); in Curl_auth_create_plain_message()
/external/wpa_supplicant_8/src/crypto/
Dsha256-tlsprf.c32 size_t clen; in tls_prf_sha256() local
63 clen = outlen - pos; in tls_prf_sha256()
64 if (clen > SHA256_MAC_LEN) in tls_prf_sha256()
65 clen = SHA256_MAC_LEN; in tls_prf_sha256()
66 os_memcpy(out + pos, P, clen); in tls_prf_sha256()
67 pos += clen; in tls_prf_sha256()
Dsha384-tlsprf.c32 size_t clen; in tls_prf_sha384() local
63 clen = outlen - pos; in tls_prf_sha384()
64 if (clen > SHA384_MAC_LEN) in tls_prf_sha384()
65 clen = SHA384_MAC_LEN; in tls_prf_sha384()
66 os_memcpy(out + pos, P, clen); in tls_prf_sha384()
67 pos += clen; in tls_prf_sha384()
Dsha512-kdf.c40 size_t pos, clen; in hmac_sha512_kdf() local
61 clen = outlen - pos; in hmac_sha512_kdf()
62 if (clen > SHA512_MAC_LEN) in hmac_sha512_kdf()
63 clen = SHA512_MAC_LEN; in hmac_sha512_kdf()
64 os_memcpy(out + pos, T, clen); in hmac_sha512_kdf()
65 pos += clen; in hmac_sha512_kdf()
Dsha256-kdf.c40 size_t pos, clen; in hmac_sha256_kdf() local
61 clen = outlen - pos; in hmac_sha256_kdf()
62 if (clen > SHA256_MAC_LEN) in hmac_sha256_kdf()
63 clen = SHA256_MAC_LEN; in hmac_sha256_kdf()
64 os_memcpy(out + pos, T, clen); in hmac_sha256_kdf()
65 pos += clen; in hmac_sha256_kdf()
Dsha384-kdf.c40 size_t pos, clen; in hmac_sha384_kdf() local
61 clen = outlen - pos; in hmac_sha384_kdf()
62 if (clen > SHA384_MAC_LEN) in hmac_sha384_kdf()
63 clen = SHA384_MAC_LEN; in hmac_sha384_kdf()
64 os_memcpy(out + pos, T, clen); in hmac_sha384_kdf()
65 pos += clen; in hmac_sha384_kdf()
/external/ppp/pppd/
Dchap-new.c284 int clen = 1, nlen, len; in chap_generate_challenge() local
291 clen = *p; in chap_generate_challenge()
293 memcpy(p + 1 + clen, ss->name, nlen); in chap_generate_challenge()
295 len = CHAP_HDRLEN + 1 + clen + nlen; in chap_generate_challenge()
441 int clen, nlen; in chap_respond() local
452 clen = pkt[0]; in chap_respond()
453 nlen = len - (clen + 1); in chap_respond()
456 slprintf(rname, sizeof(rname), "%.*v", nlen, pkt + clen + 1); in chap_respond()
476 clen = *p; in chap_respond()
478 memcpy(p + clen + 1, cs->name, nlen); in chap_respond()
[all …]
Dchap-md5.c48 int clen; in chap_md5_generate_challenge() local
50 clen = (int)(drand48() * (MD5_MAX_CHALLENGE - MD5_MIN_CHALLENGE)) in chap_md5_generate_challenge()
52 *cp++ = clen; in chap_md5_generate_challenge()
53 random_bytes(cp, clen); in chap_md5_generate_challenge()
/external/flac/src/share/grabbag/
Dpicture.c144 …const FLAC__uint32 clen = (FLAC__uint32)data[0] << 24 | (FLAC__uint32)data[1] << 16 | (FLAC__uint3… in local__extract_resolution_color_info_() local
145 if(0 == memcmp(data+4, "IHDR", 4) && clen == 13) { in local__extract_resolution_color_info_()
156 data += 12 + clen; in local__extract_resolution_color_info_()
157 len -= 12 + clen; in local__extract_resolution_color_info_()
173 picture->colors = clen / 3u; in local__extract_resolution_color_info_()
176 else if(clen + 12 > len) in local__extract_resolution_color_info_()
179 data += 12 + clen; in local__extract_resolution_color_info_()
180 len -= 12 + clen; in local__extract_resolution_color_info_()
214 const FLAC__uint32 clen = (FLAC__uint32)data[0] << 8 | (FLAC__uint32)data[1]; in local__extract_resolution_color_info_() local
215 if(clen < 8 || len < clen) in local__extract_resolution_color_info_()
[all …]
/external/f2fs-tools/fsck/
Dcompress.c67 (lzo_uintp)(&cc->clen), cc->private); in lzo_compress()
68 cc->cbuf->clen = cpu_to_le32(cc->clen); in lzo_compress()
87 cc->clen = LZ4_compress_fast_extState(cc->private, cc->rbuf, in lz4_compress()
92 if (!cc->clen) in lz4_compress()
95 cc->cbuf->clen = cpu_to_le32(cc->clen); in lz4_compress()
/external/toybox/toys/posix/
Dwc.c61 int len = 0, clen = 1, space = 0; in do_wc() local
87 if (--clen<1) { in do_wc()
91 clen = utf8towc(&wchar, toybuf+pos, len-pos); in do_wc()
92 if (clen == -1) continue; in do_wc()
93 if (clen == -2 && !done) break; in do_wc()
/external/pcre/dist2/src/
Dpcre2_dfa_match.c694 int clen, dlen; in internal_dfa_match() local
726 clen = 1; /* Number of data items in the character */ in internal_dfa_match()
728 GETCHARLENTEST(c, ptr, clen); in internal_dfa_match()
735 clen = 0; /* This indicates the end of the subject */ in internal_dfa_match()
793 if (clen == 0 && poptable[codevalue] != 0) in internal_dfa_match()
994 if (clen > 0 && !IS_NEWLINE(ptr)) in internal_dfa_match()
1013 if (clen > 0) in internal_dfa_match()
1019 if (clen == 0 || (IS_NEWLINE(ptr) && ptr == end_subject - mb->nllen)) in internal_dfa_match()
1031 if (clen == 0 && (mb->moptions & PCRE2_PARTIAL_HARD) != 0) in internal_dfa_match()
1033 else if (clen == 0 || in internal_dfa_match()
[all …]
/external/toybox/scripts/
Dconfig2help.c355 int clen, tlen; in main() local
378 cdashlines = grab_dashlines(&catch->help, &cfrom, &clen); in main()
383 char **new = xmalloc(sizeof(char *)*(clen+tlen)); in main()
385 memcpy(new, cdashlines, sizeof(char *)*clen); in main()
386 memcpy(new+clen, tdashlines, sizeof(char *)*tlen); in main()
389 qsort(new, clen+tlen, sizeof(char *), (void *)dashlinesort); in main()
415 tlen += clen; in main()
417 for (clen = 0; clen < tlen; clen++) in main()
418 dlist_add(&cfrom, cdashlines[clen]); in main()
/external/icu/icu4c/source/i18n/
Duni2name.cpp100 int32_t clen = U16_LENGTH(c); in handleTransliterate() local
105 text.handleReplaceBetween(cursor, cursor+clen, str); in handleTransliterate()
108 limit += len-clen; // change in length in handleTransliterate()
110 cursor += clen; in handleTransliterate()
/external/llvm-project/clang/test/OpenMP/
Dtarget_teams_distribute_simd_ast_print.cpp121 const T clen = 5; in tmain() local
154 #pragma omp target teams distribute simd simdlen(clen-1) in tmain()
160 #pragma omp target teams distribute simd safelen(clen-1) aligned(arr:alen) in tmain()
173 const int clen = 5; in main() local
205 #pragma omp target teams distribute simd simdlen(clen-1) in main()
212 #pragma omp target teams distribute simd safelen(clen-1) aligned(arr:N+6) if(simd:argc) nontemporal… in main()
214 #pragma omp target teams distribute simd safelen(clen-1) aligned(arr:N+6) in main()
Dteams_distribute_simd_ast_print.cpp132 const T clen = 5; in tmain() local
174 #pragma omp teams distribute simd simdlen(clen-1) in tmain()
182 #pragma omp teams distribute simd safelen(clen-1) aligned(arr:alen) in tmain()
196 const int clen = 5; in main() local
237 #pragma omp teams distribute simd simdlen(clen-1) in main()
246 #pragma omp teams distribute simd safelen(clen-1) aligned(arr:N+6) if(simd:b) nontemporal(argc, c, … in main()
248 #pragma omp teams distribute simd safelen(clen-1) aligned(arr:N+6) in main()
Dfor_simd_ast_print.cpp111 const T clen = 3; in result() local
113 #pragma omp for simd safelen(clen-1) simdlen(clen-1) in result()
115 for(T i = clen+2; i < 20; ++i) { in result()
117 v[i] = v[v-clen] + 1; in result()
Dsimd_ast_print.cpp110 const T clen = 3; in result() local
112 #pragma omp simd safelen(clen-1) simdlen(clen-1) in result()
114 for(T i = clen+2; i < 20; ++i) { in result()
116 v[i] = v[v-clen] + 1; in result()
Dparallel_for_simd_ast_print.cpp107 const T clen = 3; in result() local
109 #pragma omp parallel for simd safelen(clen-1) simdlen(clen-1) ordered in result()
111 for(T i = clen+2; i < 20; ++i) { in result()
113 v[i] = v[v-clen] + 1; in result()
/external/wpa_supplicant_8/src/eap_common/
Deap_gpsk_common.c43 size_t i, n, hashlen, left, clen; in eap_gpsk_gkdf_cmac() local
62 clen = left > hashlen ? hashlen : left; in eap_gpsk_gkdf_cmac()
63 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_cmac()
64 opos += clen; in eap_gpsk_gkdf_cmac()
65 left -= clen; in eap_gpsk_gkdf_cmac()
78 size_t i, n, hashlen, left, clen; in eap_gpsk_gkdf_sha256() local
97 clen = left > hashlen ? hashlen : left; in eap_gpsk_gkdf_sha256()
98 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_sha256()
99 opos += clen; in eap_gpsk_gkdf_sha256()
100 left -= clen; in eap_gpsk_gkdf_sha256()
Deap_pax_common.c59 size_t clen = left > EAP_PAX_MAC_LEN ? EAP_PAX_MAC_LEN : left; in eap_pax_kdf() local
62 os_memcpy(pos, mac, clen); in eap_pax_kdf()
63 pos += clen; in eap_pax_kdf()
64 left -= clen; in eap_pax_kdf()
/external/clang/test/OpenMP/
Dparallel_for_simd_ast_print.cpp97 const T clen = 3; in result() local
99 #pragma omp parallel for simd safelen(clen-1) simdlen(clen-1) ordered in result()
101 for(T i = clen+2; i < 20; ++i) { in result()
103 v[i] = v[v-clen] + 1; in result()
Dfor_simd_ast_print.cpp96 const T clen = 3; in result() local
98 #pragma omp for simd safelen(clen-1) simdlen(clen-1) in result()
100 for(T i = clen+2; i < 20; ++i) { in result()
102 v[i] = v[v-clen] + 1; in result()
Dsimd_ast_print.cpp100 const T clen = 3; in result() local
102 #pragma omp simd safelen(clen-1) simdlen(clen-1) in result()
104 for(T i = clen+2; i < 20; ++i) { in result()
106 v[i] = v[v-clen] + 1; in result()

1234