Home
last modified time | relevance | path

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

12

/third_party/ltp/testcases/kernel/syscalls/add_key/
Dadd_key05.c59 …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
73 if (max_bytes) in parse_proc_key_users()
74 *max_bytes = val[3]; in parse_proc_key_users()
81 int used_bytes, max_bytes, tmp_used_bytes; in verify_max_bytes() local
91 parse_proc_key_users(NULL, NULL, &used_bytes, &max_bytes); in verify_max_bytes()
99 invalid_plen = max_bytes - used_bytes - delta - strlen("test_xxx"); in verify_max_bytes()
123 parse_proc_key_users(NULL, NULL, &used_bytes, &max_bytes); in verify_max_bytes()
124 plen = max_bytes - used_bytes - delta - strlen("test_xxx") - 1; in verify_max_bytes()
132 parse_proc_key_users(NULL, NULL, &tmp_used_bytes, &max_bytes); in verify_max_bytes()
133 if (tmp_used_bytes == max_bytes) in verify_max_bytes()
[all …]
/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/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/gstreamer/gstplugins_base/tests/check/elements/
Durisourcebin.c31 guint min_bytes, max_bytes, avg_bytes; in GST_START_TEST() local
48 "maximum-byte-level", &max_bytes)); in GST_START_TEST()
49 fail_unless_equals_int (0, max_bytes); in GST_START_TEST()
/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/alsa-lib/include/
Dcontrol_external.h208 size_t max_bytes);
229 size_t max_bytes);
/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/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/gstreamer/gstreamer/plugins/elements/
Dgstelements_private.c71 int i, max_bytes; in gst_buffer_get_flags_string() local
75 max_bytes = sizeof (flag_strings); in gst_buffer_get_flags_string()
76 flag_str = g_malloc (max_bytes); in gst_buffer_get_flags_string()
/third_party/openssl/include/openssl/
Drand.h98 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/gstreamer/gstplugins_base/gst-libs/gst/app/
Dgstappsrc.c168 guint64 max_bytes, max_buffers, max_time; member
763 priv->max_bytes = DEFAULT_PROP_MAX_BYTES; in gst_app_src_init()
1774 if ((priv->max_bytes in gst_app_src_create()
1775 && priv->queued_bytes * 100 / priv->max_bytes <= in gst_app_src_create()
2102 if (max != priv->max_bytes) { in gst_app_src_set_max_bytes()
2104 priv->max_bytes = max; in gst_app_src_set_max_bytes()
2130 result = priv->max_bytes; in gst_app_src_get_max_bytes()
2574 if ((priv->max_bytes && priv->queued_bytes >= priv->max_bytes) || in gst_app_src_push_internal()
2582 priv->queued_bytes, priv->max_bytes, priv->queued_buffers, in gst_app_src_push_internal()
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
Dinternal.h493 size_t max_bytes);
507 size_t max_bytes);
/third_party/skia/third_party/externals/freetype/include/freetype/
Dftcache.h317 FT_ULong 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/src/psaux/
Dpsobjs.h114 FT_Offset max_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/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/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/curl/lib/
Dsmb.c203 unsigned short max_bytes; member
771 msg.max_bytes = smb_swap16(MAX_PAYLOAD_SIZE); in smb_send_read()
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstdecodebin2.c4149 guint max_bytes, max_buffers; in decodebin_set_queue_size_full() local
4157 if (preroll || (max_bytes = dbin->max_size_bytes) == 0) in decodebin_set_queue_size_full()
4158 max_bytes = AUTO_PREROLL_SIZE_BYTES; in decodebin_set_queue_size_full()
4172 max_bytes = 0; in decodebin_set_queue_size_full()
4173 else if ((max_bytes = dbin->max_size_bytes) == 0) in decodebin_set_queue_size_full()
4174 max_bytes = AUTO_PLAY_SIZE_BYTES; in decodebin_set_queue_size_full()
4185 "%" G_GUINT64_FORMAT " time", max_bytes, max_buffers, max_time); in decodebin_set_queue_size_full()
4187 "max-size-bytes", max_bytes, "max-size-time", max_time, in decodebin_set_queue_size_full()

12