Home
last modified time | relevance | path

Searched refs:max_bytes (Results 1 – 25 of 26) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/add_key/
Dadd_key05.c64 …atic inline void parse_proc_key_users(int *used_key, int *max_key, int *used_bytes, int *max_bytes) in parse_proc_key_users() argument
78 if (max_bytes) in parse_proc_key_users()
79 *max_bytes = val[3]; in parse_proc_key_users()
86 int used_bytes, max_bytes, tmp_used_bytes; in verify_max_bytes() local
96 parse_proc_key_users(NULL, NULL, &used_bytes, &max_bytes); in verify_max_bytes()
104 invalid_plen = max_bytes - used_bytes - delta - strlen("test_xxx"); in verify_max_bytes()
128 parse_proc_key_users(NULL, NULL, &used_bytes, &max_bytes); in verify_max_bytes()
129 plen = max_bytes - used_bytes - delta - strlen("test_xxx") - 1; in verify_max_bytes()
137 parse_proc_key_users(NULL, NULL, &tmp_used_bytes, &max_bytes); in verify_max_bytes()
138 if (tmp_used_bytes == max_bytes) in verify_max_bytes()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dhttpread.c56 int max_bytes; /* maximum file size else abort it */ member
169 if (h->content_length < 0 || h->content_length > h->max_bytes) { in httpread_hdr_option_analyze()
329 h->max_bytes = 0; in httpread_hdr_analyze()
337 h->max_bytes = 0; in httpread_hdr_analyze()
450 if (h->max_bytes == 0) { in httpread_read_handler()
491 if (h->body_nbytes >= h->max_bytes) { in httpread_read_handler()
494 h->body_nbytes, h->max_bytes); in httpread_read_handler()
507 new_alloc_nbytes > h->max_bytes + in httpread_read_handler()
513 h->max_bytes); in httpread_read_handler()
548 h->chunk_size > h->max_bytes) { in httpread_read_handler()
[all …]
Dhttpread.h74 int max_bytes, /* maximum file size else abort it */
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dhttpread.c56 int max_bytes; /* maximum file size else abort it */ member
169 if (h->content_length < 0 || h->content_length > h->max_bytes) { in httpread_hdr_option_analyze()
329 h->max_bytes = 0; in httpread_hdr_analyze()
337 h->max_bytes = 0; in httpread_hdr_analyze()
450 if (h->max_bytes == 0) { in httpread_read_handler()
491 if (h->body_nbytes >= h->max_bytes) { in httpread_read_handler()
494 h->body_nbytes, h->max_bytes); in httpread_read_handler()
507 new_alloc_nbytes > h->max_bytes + in httpread_read_handler()
513 h->max_bytes); in httpread_read_handler()
548 h->chunk_size > h->max_bytes) { in httpread_read_handler()
[all …]
Dhttpread.h74 int max_bytes, /* maximum file size else abort it */
/third_party/openssl/doc/man3/
DRAND_load_file.pod11 int RAND_load_file(const char *filename, long max_bytes);
20 adds them to the PRNG. If B<max_bytes> is nonnegative,
21 up to B<max_bytes> are read;
22 if B<max_bytes> is -1, the complete file is read.
/third_party/skia/third_party/externals/libwebp/src/utils/
Dbit_writer_utils.c209 const size_t max_bytes = bw->end_ - bw->buf_; in VP8LBitWriterResize() local
217 if (max_bytes > 0 && size_required <= max_bytes) return 1; in VP8LBitWriterResize()
218 allocated_size = (3 * max_bytes) >> 1; in VP8LBitWriterResize()
/third_party/skia/third_party/externals/freetype/src/cache/
Dftcmanag.c353 FT_ULong max_bytes, in FTC_Manager_New() argument
380 if ( max_bytes == 0 ) in FTC_Manager_New()
381 max_bytes = FTC_MAX_BYTES_DEFAULT; in FTC_Manager_New()
385 manager->max_weight = max_bytes; in FTC_Manager_New()
/third_party/alsa-lib/include/
Dcontrol_external.h208 size_t max_bytes);
229 size_t max_bytes);
/third_party/ntfs-3g/libntfs-3g/
Dioctl.c107 static int read_line(const char *path, char *line, size_t max_bytes) in read_line() argument
114 if (fgets(line, max_bytes, fp) == NULL) { in read_line()
/third_party/openssl/ohos_lite/include/openssl/
Drand.h53 int RAND_load_file(const char *file, long max_bytes);
/third_party/node/deps/openssl/openssl/include/openssl/
Drand.h98 int RAND_load_file(const char *file, long max_bytes);
/third_party/openssl/include/openssl/
Drand.h98 int RAND_load_file(const char *file, long max_bytes);
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
Dinternal.h493 size_t max_bytes);
507 size_t max_bytes);
/third_party/toybox/toys/posix/
Dfind.c75 long max_bytes;
588 if ((aa->plus += sizeof(char *)+strlen(name)+1) > TT.max_bytes) { in do_find()
698 TT.max_bytes = sysconf(_SC_ARG_MAX) - environ_bytes(); in find_main()
/third_party/skia/third_party/externals/freetype/include/freetype/
Dftcache.h317 FT_ULong max_bytes,
/third_party/skia/third_party/externals/freetype/src/psaux/
Dpsobjs.h114 FT_Offset max_bytes,
Dpsobjs.c1418 FT_Offset max_bytes, in ps_parser_to_bytes() argument
1447 max_bytes ); in ps_parser_to_bytes()
/third_party/mbedtls/programs/test/
Dbenchmark.c179 size_t max_used, max_blocks, max_bytes; \
195 max_bytes = max_used + MEM_BLOCK_OVERHEAD * max_blocks; \
197 (unsigned) max_bytes, \
/third_party/node/deps/uv/src/win/
Dpipe.c1847 DWORD max_bytes) { in uv__pipe_read_data() argument
1863 if (max_bytes > buf.len) in uv__pipe_read_data()
1864 max_bytes = buf.len; in uv__pipe_read_data()
1867 if (!ReadFile(handle->handle, buf.base, max_bytes, &bytes_read, NULL)) { in uv__pipe_read_data()
/third_party/libuv/src/win/
Dpipe.c1847 DWORD max_bytes) { in uv__pipe_read_data() argument
1863 if (max_bytes > buf.len) in uv__pipe_read_data()
1864 max_bytes = buf.len; in uv__pipe_read_data()
1867 if (!ReadFile(handle->handle, buf.base, max_bytes, &bytes_read, NULL)) { in uv__pipe_read_data()
/third_party/curl/lib/
Dsmb.c203 unsigned short max_bytes; member
771 msg.max_bytes = smb_swap16(MAX_PAYLOAD_SIZE); in smb_send_read()
/third_party/libbpf/include/uapi/linux/
Dpkt_sched.h627 __s32 max_bytes; member
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
Dpsaux.h397 FT_Offset max_bytes,
/third_party/toybox/generated/
Dglobals.h1169 long max_bytes; member

12