Home
last modified time | relevance | path

Searched refs:siz (Results 1 - 25 of 96) sorted by relevance

1234

/third_party/mksh/
H A Dstrlcpy.c24 * Copy src to string dst of size siz. At most siz-1 characters
25 * will be copied. Always NUL terminates (unless siz == 0).
26 * Returns strlen(src); if retval >= siz, truncation occurred.
30 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() argument
34 if (siz == 0) in strlcpy()
38 while (--siz && (*dst++ = *s++)) in strlcpy()
42 if (siz == 0) { in strlcpy()
43 /* safe to NUL-terminate dst since we copied <= siz-1 chars */ in strlcpy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A Dregstrlcpy.c24 * Copy src to string dst of size siz. At most siz-1 characters
25 * will be copied. Always NUL terminates (unless siz == 0).
26 * Returns strlen(src); if retval >= siz, truncation occurred.
29 llvm_strlcpy(char *dst, const char *src, size_t siz) in llvm_strlcpy() argument
33 size_t n = siz; in llvm_strlcpy()
45 if (siz != 0) in llvm_strlcpy()
H A Dregex_impl.h102 size_t llvm_strlcpy(char *dst, const char *src, size_t siz);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A Dregstrlcpy.c24 * Copy src to string dst of size siz. At most siz-1 characters
25 * will be copied. Always NUL terminates (unless siz == 0).
26 * Returns strlen(src); if retval >= siz, truncation occurred.
29 llvm_strlcpy(char *dst, const char *src, size_t siz) in llvm_strlcpy() argument
33 size_t n = siz; in llvm_strlcpy()
45 if (siz != 0) in llvm_strlcpy()
H A Dregex_impl.h102 size_t llvm_strlcpy(char *dst, const char *src, size_t siz);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Drandom.c183 size_t siz, i; in random_get_bytes()
188 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left; in random_get_bytes()
189 for (i = 0; i < siz; i++) in random_get_bytes()
191 left -= siz; in random_get_bytes()
199 size_t siz, i; in random_get_bytes()
208 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left; in random_get_bytes()
209 for (i = 0; i < siz; i++) in random_get_bytes()
211 left -= siz; in random_get_bytes()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Drandom.c183 size_t siz, i; in random_get_bytes()
188 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left; in random_get_bytes()
189 for (i = 0; i < siz; i++) in random_get_bytes()
191 left -= siz; in random_get_bytes()
199 size_t siz, i; in random_get_bytes()
208 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left; in random_get_bytes()
209 for (i = 0; i < siz; i++) in random_get_bytes()
211 left -= siz; in random_get_bytes()
/third_party/node/deps/openssl/openssl/crypto/
H A Do_str.c51 void *CRYPTO_memdup(const void *data, size_t siz, const char* file, int line) in CRYPTO_memdup() argument
55 if (data == NULL || siz >= INT_MAX) in CRYPTO_memdup()
58 ret = CRYPTO_malloc(siz, file, line); in CRYPTO_memdup()
63 return memcpy(ret, data, siz); in CRYPTO_memdup()
/third_party/python/Lib/dbm/
H A Ddumb.py54 # "%r, (%d, %d)\n" % (key, pos, siz)
56 # file of the associated value's first byte, and siz is the number
68 self._index = None # maps keys to (pos, siz) pairs
148 pos, siz = self._index[key] # may raise KeyError
151 dat = f.read(siz)
179 # at offset pos and with length siz. Add an index record to
205 pos, siz = self._index[key]
206 oldblocks = (siz + _BLOCKSIZE - 1) // _BLOCKSIZE
/third_party/openssl/crypto/
H A Do_str.c51 void *CRYPTO_memdup(const void *data, size_t siz, const char* file, int line) in CRYPTO_memdup() argument
55 if (data == NULL || siz >= INT_MAX) in CRYPTO_memdup()
58 ret = CRYPTO_malloc(siz, file, line); in CRYPTO_memdup()
63 return memcpy(ret, data, siz); in CRYPTO_memdup()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dos_win32.c243 size_t os_strlcpy(char *dest, const char *src, size_t siz) in os_strlcpy() argument
246 size_t left = siz; in os_strlcpy()
258 if (siz != 0) in os_strlcpy()
H A Dos_internal.c441 size_t os_strlcpy(char *dest, const char *src, size_t siz) in os_strlcpy() argument
444 size_t left = siz; in os_strlcpy()
456 if (siz != 0) in os_strlcpy()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dos_win32.c243 size_t os_strlcpy(char *dest, const char *src, size_t siz) in os_strlcpy() argument
246 size_t left = siz; in os_strlcpy()
258 if (siz != 0) in os_strlcpy()
H A Dos_internal.c447 size_t os_strlcpy(char *dest, const char *src, size_t siz) in os_strlcpy() argument
450 size_t left = siz; in os_strlcpy()
462 if (siz != 0) in os_strlcpy()
/third_party/optimized-routines/math/
H A Dv_powf.c164 uint32_t si, siz; in powf() local
173 siz = v_get_u32 (iz, lane); in powf()
179 z = (double) as_f32_u32 (siz); in powf()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant_lib/
H A Dwpa_magiclink.c193 unsigned int siz = DEFAULT_SCAN_RES_SIZE; local
213 n = os_realloc_array(wpa_s->last_scan_res, siz, sizeof(struct wpa_bss *));
219 wpa_s->last_scan_res_size = siz;
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/
H A Dwpa_magiclink.c196 unsigned int siz = DEFAULT_SCAN_RES_SIZE; local
216 n = os_realloc_array(wpa_s->last_scan_res, siz, sizeof(struct wpa_bss *));
222 wpa_s->last_scan_res_size = siz;
/third_party/libuv/src/unix/
H A Daix.c463 size_t siz = sizeof(struct vmount)*size_multiplier; in uv__is_ahafs_mounted() local
468 p = uv__malloc(siz); in uv__is_ahafs_mounted()
473 rv = mntctl(MCTL_QUERY, siz, (char*)p); in uv__is_ahafs_mounted()
478 siz = *(int*)p; in uv__is_ahafs_mounted()
480 p = uv__malloc(siz); in uv__is_ahafs_mounted()
483 rv = mntctl(MCTL_QUERY, siz, (char*)p); in uv__is_ahafs_mounted()
/third_party/node/deps/uv/src/unix/
H A Daix.c447 size_t siz = sizeof(struct vmount)*size_multiplier; in uv__is_ahafs_mounted() local
452 p = uv__malloc(siz); in uv__is_ahafs_mounted()
457 rv = mntctl(MCTL_QUERY, siz, (char*)p); in uv__is_ahafs_mounted()
462 siz = *(int*)p; in uv__is_ahafs_mounted()
464 p = uv__malloc(siz); in uv__is_ahafs_mounted()
467 rv = mntctl(MCTL_QUERY, siz, (char*)p); in uv__is_ahafs_mounted()
/third_party/node/deps/openssl/openssl/include/openssl/
H A Dbuffer.h56 void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz);
/third_party/openssl/include/openssl/
H A Dbuffer.h56 void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz);
/third_party/openssl/ohos_lite/include/openssl/
H A Dbuffer.h52 void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz);
H A Dcrypto.h146 size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
147 size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
268 void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
/third_party/node/deps/openssl/openssl/apps/
H A Denc.c529 int siz = EVP_CIPHER_get_iv_length(cipher); in enc_main() local
530 if (siz == 0) { in enc_main()
532 } else if (!set_hex(hiv, iv, siz)) { in enc_main()
/third_party/openssl/apps/
H A Denc.c529 int siz = EVP_CIPHER_get_iv_length(cipher); in enc_main() local
530 if (siz == 0) { in enc_main()
532 } else if (!set_hex(hiv, iv, siz)) { in enc_main()

Completed in 14 milliseconds

1234