HomeSort by relevance Sort by last modified time
    Searched refs:max_len (Results 1 - 25 of 163) sorted by null

1 2 3 4 5 6 7

  /external/e2fsprogs/lib/e2p/
iod.c 33 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/
fakedhcp.h 17 void *data, size_t max_len );
19 void *data, size_t max_len );
21 void *data, size_t max_len );
dhcpopts.h 21 size_t max_len; member in struct:dhcp_options
32 void *data, size_t max_len );
dhcppkt.h 26 size_t max_len; member in struct:dhcp_packet
  /external/wpa_supplicant_8/src/utils/
uuid.h 15 int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
ip_addr.h 19 u8 max_len[16]; member in union:hostapd_ip_addr::__anon44820
uuid.c 50 int uuid_bin2str(const u8 *bin, char *str, size_t max_len)
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/
run_decode_fuzzer.cc 28 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);
  /bionic/libc/bionic/
wcstod.cpp 47 size_t max_len = wcsspn(str, L"-+0123456789.xXeEpP()nNaAiIfFtTyY"); local
50 char* ascii_str = new char[max_len + 1];
52 for (size_t i = 0; i < max_len; ++i) {
55 ascii_str[max_len] = 0;
63 f._bf._size = f._r = max_len;
75 size_t actual_len = parsefloat(&f, ascii_str, ascii_str + max_len);
  /external/mesa3d/src/gallium/drivers/ilo/
ilo_gpgpu.c 42 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);
ilo_draw.c 299 int max_len, before_space; local
326 max_len = ilo_render_get_draw_len(ilo->render, vec);
328 max_len += ilo_render_get_flush_len(ilo->render);
330 if (max_len > ilo_cp_space(ilo->cp)) {
333 assert(max_len <= ilo_cp_space(ilo->cp));
365 assert(before_space - ilo_cp_space(ilo->cp) <= max_len);
373 int max_len, before_space; local
380 max_len = ilo_render_get_rectlist_len(ilo->render, ilo->blitter);
381 max_len += ilo_render_get_flush_len(ilo->render) * 2;
383 if (max_len > ilo_cp_space(ilo->cp))
    [all...]
  /system/nfc/src/nfa/dm/
nfa_dm_main.cc 214 uint8_t type, len, *p_value, *p_stored, max_len; local
244 max_len = NCI_PARAM_LEN_PF_RC;
248 max_len = NCI_PARAM_LEN_TOTAL_DURATION;
256 max_len = NCI_PARAM_LEN_LA_BIT_FRAME_SDD;
261 max_len = NCI_PARAM_LEN_LA_PLATFORM_CONFIG;
266 max_len = NCI_PARAM_LEN_LA_SEL_INFO;
271 max_len = NCI_NFCID1_MAX_LEN;
276 max_len = NCI_MAX_HIS_BYTES_LEN;
285 max_len = NCI_PARAM_LEN_LB_SENSB_INFO;
290 max_len = NCI_PARAM_LEN_LB_NFCID0
    [all...]
  /external/syslinux/gpxe/src/net/
fakedhcp.c 105 * @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 ) ) != 0 )
    [all...]
dhcpopts.c 203 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/
agg_scanline_u.h 57 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/
speex_bits.h 94 * @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);
  /system/core/libsparse/
backed_block.c 366 unsigned int max_len)
370 max_len = ALIGN_DOWN(max_len, bbl->block_size);
372 if (bb->len <= max_len) {
383 new_bb->len = bb->len - max_len;
384 new_bb->block = bb->block + max_len / bbl->block_size;
387 bb->len = max_len;
391 new_bb->data.data = (char *)bb->data.data + max_len;
394 new_bb->file.offset += max_len;
397 new_bb->fd.offset += max_len;
    [all...]
  /external/syslinux/gpxe/src/util/
zbin.c 19 size_t max_len; member in struct:output_file
128 static int alloc_output_file ( size_t max_len, struct output_file *output ) {
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/webrtc/webrtc/modules/audio_coding/test/
PCMFile.h 54 static int16_t ChooseFile(std::string* file_name, int16_t max_len,
  /external/wpa_supplicant_8/src/eap_peer/
eap_fast_pac.h 44 size_t max_len);
  /system/bt/stack/rfcomm/
port_api.cc     [all...]
  /external/adhd/cras/src/server/
cras_main_message.c 63 static int read_main_message(int msg_fd, uint8_t *buf, size_t max_len) {
70 if (msg->length > max_len)
  /external/webrtc/talk/session/media/
srtpfilter.h 122 bool ProtectRtp(void* data, int in_len, int max_len, int* out_len);
126 int max_len,
129 bool ProtectRtcp(void* data, int in_len, int max_len, int* out_len);
210 bool ProtectRtp(void* data, int in_len, int max_len, int* out_len);
214 int max_len,
217 bool ProtectRtcp(void* data, int in_len, int max_len, int* out_len);
  /external/boringssl/src/crypto/bio/
bio.c 419 // |max_len|.
422 size_t max_len) {
426 if (len > max_len) {
427 len = max_len;
456 if (len < max_len && len - done < kChunkSize / 2) {
458 if (len < kChunkSize || len > max_len) {
459 len = max_len;
471 int BIO_read_asn1(BIO *bio, uint8_t **out, size_t *out_len, size_t max_len) {
498 max_len);
532 len + header_len > max_len ||
    [all...]
  /external/tensorflow/tensorflow/contrib/eager/python/examples/spinn/
data.py 99 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 866 milliseconds

1 2 3 4 5 6 7