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

1234567

/external/e2fsprogs/lib/e2p/
H A Diod.c33 int max_len = -1, len, ret = 0; local
36 max_len = pathconf(dir_name, _PC_NAME_MAX);
38 if (max_len == -1) {
40 max_len = _POSIX_NAME_MAX;
43 max_len = NAME_MAX;
45 max_len = 256;
49 max_len += sizeof(struct dirent);
51 de = malloc(max_len+1);
54 memset(de, 0, max_len+1);
64 if (len > max_len)
[all...]
/external/syslinux/gpxe/src/include/gpxe/
H A Dfakedhcp.h17 void *data, size_t max_len );
19 void *data, size_t max_len );
21 void *data, size_t max_len );
H A Ddhcpopts.h21 size_t max_len; member in struct:dhcp_options
32 void *data, size_t max_len );
H A Ddhcppkt.h26 size_t max_len; member in struct:dhcp_packet
/external/wpa_supplicant_8/hostapd/src/utils/
H A Duuid.h15 int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
H A Dip_addr.h19 u8 max_len[16]; member in union:hostapd_ip_addr::__anon31497
H A Duuid.c50 int uuid_bin2str(const u8 *bin, char *str, size_t max_len) argument
53 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
59 if (os_snprintf_error(max_len, len))
/external/wpa_supplicant_8/src/utils/
H A Duuid.h15 int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
H A Dip_addr.h19 u8 max_len[16]; member in union:hostapd_ip_addr::__anon31766
H A Duuid.c50 int uuid_bin2str(const u8 *bin, char *str, size_t max_len) argument
53 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
59 if (os_snprintf_error(max_len, len))
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Duuid.h15 int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
H A Dip_addr.h19 u8 max_len[16]; member in union:hostapd_ip_addr::__anon32047
H A Duuid.c50 int uuid_bin2str(const u8 *bin, char *str, size_t max_len) argument
53 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
59 if (os_snprintf_error(max_len, len))
/external/brotli/c/fuzz/
H A Drun_decode_fuzzer.cc28 size_t max_len = 1 << 20; local
29 unsigned char* tmp = (unsigned char*)malloc(max_len);
30 size_t len = fread(tmp, 1, max_len, f);
/external/mesa3d/src/gallium/drivers/ilo/
H A Dilo_gpgpu.c42 int max_len, before_space; local
46 max_len = ilo_render_get_launch_grid_len(ilo->render, &ilo->state_vector);
47 max_len += ilo_render_get_flush_len(ilo->render) * 2;
49 if (max_len > ilo_cp_space(ilo->cp)) {
51 assert(max_len <= ilo_cp_space(ilo->cp));
78 assert(before_space - ilo_cp_space(ilo->cp) <= max_len);
/external/syslinux/gpxe/src/net/
H A Dfakedhcp.c105 * @v max_len Size of DHCP packet buffer
111 void *data, size_t max_len ) {
117 ciaddr, data, max_len ) ) != 0 ) {
131 * @v max_len Size of DHCP packet buffer
137 void *data, size_t max_len ) {
143 data, max_len ) ) != 0 ) {
172 * @v max_len Size of DHCP packet buffer
178 void *data, size_t max_len ) {
189 return create_fakedhcpack ( netdev, data, max_len );
194 data, max_len ) ) !
[all...]
H A Ddhcpopts.c203 if ( new_options_len > options->max_len ) {
214 options->max_len = new_options_len;
236 end = ( options->data + options->max_len );
408 ssize_t remaining = options->max_len;
430 * @v max_len Length of memory for DHCP option data
436 size_t max_len ) {
440 options->max_len = max_len;
445 DBGC ( options, "DHCPOPT %p created (data %p len %#zx max_len %#zx)\n",
446 options, options->data, options->len, options->max_len );
[all...]
/external/pdfium/third_party/agg23/
H A Dagg_scanline_u.h57 unsigned max_len = max_x - min_x + 2; local
58 if(max_len > m_max_len) {
61 m_covers = FX_Alloc( cover_type , max_len);
62 m_spans = FX_Alloc( span , max_len);
63 m_max_len = max_len;
/external/speex/include/speex/
H A Dspeex_bits.h94 * @param max_len Maximum number of bytes to write (i.e. size of the "bytes" buffer)
97 int speex_bits_write(SpeexBits *bits, char *bytes, int max_len);
100 int speex_bits_write_whole_bytes(SpeexBits *bits, char *bytes, int max_len);
/external/syslinux/gpxe/src/util/
H A Dzbin.c19 size_t max_len; member in struct:output_file
128 static int alloc_output_file ( size_t max_len, struct output_file *output ) { argument
130 output->max_len = ( max_len );
131 output->buf = malloc ( max_len );
134 max_len );
154 if ( ( output->len + len ) > output->max_len ) {
185 if ( output->len > output->max_len ) {
204 if ( output->len > output->max_len ) {
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_fast_pac.h44 size_t max_len);
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_fast_pac.h44 size_t max_len);
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_fast_pac.h44 size_t max_len);
/external/adhd/cras/src/server/
H A Dcras_main_message.c63 static int read_main_message(int msg_fd, uint8_t *buf, size_t max_len) { argument
70 if (msg->length > max_len)
/external/tensorflow/tensorflow/contrib/eager/python/examples/spinn/
H A Ddata.py99 max_len = max(len(sent) for sent in sentences)
101 if len(sent) < max_len:
102 sent.extend([PAD_CODE] * (max_len - len(sent)))
112 max_len = max(len(transitions) for transitions in sentences_transitions)
114 if len(transitions) < max_len:
115 transitions.extend([PAD_CODE] * (max_len - len(transitions)))

Completed in 6088 milliseconds

1234567