Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/add_key/
H A Dadd_key05.c64 static 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/
H A 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()
493 "httpread: body_nbytes=%d >= max_bytes=%d", 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()
510 "httpread: Unacceptable body length %d (body_alloc_nbytes=%u max_bytes in httpread_read_handler()
729 httpread_create( int sd, void (*cb)(struct httpread *handle, void *cookie, enum httpread_event e), void *cookie, int max_bytes, int timeout_seconds ) httpread_create() argument
[all...]
H A Dhttpread.h66 * Pass max_bytes == 0 to not read body at all (required for e.g.
74 int max_bytes, /* maximum file size else abort it */
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A 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()
493 "httpread: body_nbytes=%d >= max_bytes=%d", 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()
510 "httpread: Unacceptable body length %d (body_alloc_nbytes=%u max_bytes in httpread_read_handler()
729 httpread_create( int sd, void (*cb)(struct httpread *handle, void *cookie, enum httpread_event e), void *cookie, int max_bytes, int timeout_seconds ) httpread_create() argument
[all...]
H A Dhttpread.h66 * Pass max_bytes == 0 to not read body at all (required for e.g.
74 int max_bytes, /* maximum file size else abort it */
/third_party/alsa-lib/include/
H A Dcontrol_external.h208 size_t max_bytes);
229 size_t max_bytes);
/third_party/skia/third_party/externals/libwebp/src/utils/
H A 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/
H A Dftcmanag.c353 FT_ULong max_bytes, in FT_EXPORT_DEF()
380 if ( max_bytes == 0 ) in FT_EXPORT_DEF()
381 max_bytes = FTC_MAX_BYTES_DEFAULT; in FT_EXPORT_DEF()
385 manager->max_weight = max_bytes; in FT_EXPORT_DEF()
/third_party/openssl/ohos_lite/include/openssl/
H A Drand.h53 int RAND_load_file(const char *file, long max_bytes);
/third_party/backends/backend/genesys/
H A Dlow.cpp385 auto max_bytes = image.get_row_bytes() * height; in read_unshuffled_image_from_scanner() local
386 if (total_bytes > max_bytes) { in read_unshuffled_image_from_scanner()
387 throw SaneException("Trying to read too much data %zu (max %zu)", total_bytes, max_bytes); in read_unshuffled_image_from_scanner()
389 if (total_bytes != max_bytes) { in read_unshuffled_image_from_scanner()
391 total_bytes, max_bytes); in read_unshuffled_image_from_scanner()
487 auto max_bytes = image.get_row_bytes() * height; in read_shuffled_image_from_scanner() local
488 if (total_bytes > max_bytes) { in read_shuffled_image_from_scanner()
489 throw SaneException("Trying to read too much data %zu (max %zu)", total_bytes, max_bytes); in read_shuffled_image_from_scanner()
491 if (total_bytes != max_bytes) { in read_shuffled_image_from_scanner()
493 total_bytes, max_bytes); in read_shuffled_image_from_scanner()
[all...]
/third_party/node/deps/openssl/openssl/include/openssl/
H A Drand.h98 int RAND_load_file(const char *file, long max_bytes);
/third_party/openssl/include/openssl/
H A Drand.h98 int RAND_load_file(const char *file, long max_bytes);
/third_party/ntfs-3g/libntfs-3g/
H A 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/skia/third_party/externals/microhttpd/src/microhttpd/
H A Dinternal.h487 * @param max_bytes maximum number of bytes to receive
493 size_t max_bytes);
501 * @param max_bytes maximum number of bytes to transmit
507 size_t max_bytes);
/third_party/skia/third_party/externals/freetype/include/freetype/
H A Dftcache.h293 * max_bytes ::
317 FT_ULong max_bytes,
/third_party/mbedtls/programs/test/
H A Dbenchmark.c174 size_t max_used, max_blocks, max_bytes; \
190 max_bytes = max_used + MEM_BLOCK_OVERHEAD * max_blocks; \
192 (unsigned) max_bytes, \
/third_party/toybox/toys/posix/
H A 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/src/psaux/
H A Dpsobjs.h114 FT_Offset max_bytes,
H A Dpsobjs.c1418 FT_Offset max_bytes, in FT_LOCAL_DEF()
1447 max_bytes ); in FT_LOCAL_DEF()
/third_party/node/deps/uv/src/win/
H A Dpipe.c1847 DWORD max_bytes) { in uv__pipe_read_data()
1861 * (b) the maximum data length as specified by the `max_bytes` argument. in uv__pipe_read_data()
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()
1844 uv__pipe_read_data(uv_loop_t* loop, uv_pipe_t* handle, DWORD suggested_bytes, DWORD max_bytes) uv__pipe_read_data() argument
/third_party/libuv/src/win/
H A Dpipe.c1946 DWORD max_bytes) { in uv__pipe_read_data()
1960 * (b) the maximum data length as specified by the `max_bytes` argument. in uv__pipe_read_data()
1962 if (max_bytes > buf.len) in uv__pipe_read_data()
1963 max_bytes = buf.len; in uv__pipe_read_data()
1966 if (!ReadFile(handle->handle, buf.base, max_bytes, &bytes_read, NULL)) { in uv__pipe_read_data()
1943 uv__pipe_read_data(uv_loop_t* loop, uv_pipe_t* handle, DWORD suggested_bytes, DWORD max_bytes) uv__pipe_read_data() argument
/third_party/curl/lib/
H A 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/
H A Dpkt_sched.h627 __s32 max_bytes; member
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
H A Dpsaux.h397 FT_Offset max_bytes,
/third_party/toybox/generated/
H A Dglobals.h1301 long max_bytes; member

Completed in 44 milliseconds