/external/e2fsprogs/lib/e2p/ |
D | iod.c | 33 int max_len = -1, len, ret = 0; in iterate_on_dir() local 36 max_len = pathconf(dir_name, _PC_NAME_MAX); in iterate_on_dir() 38 if (max_len == -1) { in iterate_on_dir() 40 max_len = _POSIX_NAME_MAX; in iterate_on_dir() 43 max_len = NAME_MAX; in iterate_on_dir() 45 max_len = 256; in iterate_on_dir() 49 max_len += sizeof(struct dirent); in iterate_on_dir() 51 de = malloc(max_len+1); in iterate_on_dir() 54 memset(de, 0, max_len+1); in iterate_on_dir() 64 if (len > max_len) in iterate_on_dir() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/templates/ |
D | gen_knobs.h | 128 max_len = 0 130 global max_len 131 max_len = 0 133 if len(knob[0]) > max_len: max_len = len(knob[0]) 134 max_len += len('KNOB_ ') 135 if max_len % 4: max_len += 4 - (max_len % 4) 139 return ' '*(max_len - knob_len) 149 def space_name(name, max_len): 151 return ' '*(max_len - name_len)
|
D | gen_knobs.cpp | 135 max_len = 0 137 global max_len 138 max_len = 0 140 if len(knob[0]) > max_len: max_len = len(knob[0]) 141 max_len += len('KNOB_ ') 142 if max_len % 4: max_len += 4 - (max_len % 4) 146 return ' '*(max_len - knob_len) 156 def space_name(name, max_len): 158 return ' '*(max_len - name_len)
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_get_stack_rawtp.c | 60 int max_len, max_buildid_len, usize, ksize, total_size; in bpf_prog1() local 69 max_len = MAX_STACK_RAWTP * sizeof(__u64); in bpf_prog1() 73 max_len, 0); in bpf_prog1() 74 data->user_stack_size = bpf_get_stack(ctx, data->user_stack, max_len, in bpf_prog1() 86 usize = bpf_get_stack(ctx, raw_data, max_len, BPF_F_USER_STACK); in bpf_prog1() 90 ksize = bpf_get_stack(ctx, raw_data + usize, max_len - usize, 0); in bpf_prog1() 95 if (total_size > 0 && total_size <= max_len) in bpf_prog1()
|
D | test_stacktrace_map.c | 54 __u32 max_len = PERF_MAX_STACK_DEPTH * sizeof(__u64); in oncpu() local 68 bpf_get_stack(ctx, stack_p, max_len, 0); in oncpu()
|
D | test_stacktrace_build_id.c | 53 __u32 max_len = sizeof(struct bpf_stack_build_id) in oncpu() local 68 bpf_get_stack(args, stack_p, max_len, in oncpu()
|
/external/webrtc/talk/session/media/ |
D | srtpfilter.cc | 214 bool SrtpFilter::ProtectRtp(void* p, int in_len, int max_len, int* out_len) { in ProtectRtp() argument 220 return send_session_->ProtectRtp(p, in_len, max_len, out_len); in ProtectRtp() 225 int max_len, in ProtectRtp() argument 233 return send_session_->ProtectRtp(p, in_len, max_len, out_len, index); in ProtectRtp() 236 bool SrtpFilter::ProtectRtcp(void* p, int in_len, int max_len, int* out_len) { in ProtectRtcp() argument 242 return send_rtcp_session_->ProtectRtcp(p, in_len, max_len, out_len); in ProtectRtcp() 245 return send_session_->ProtectRtcp(p, in_len, max_len, out_len); in ProtectRtcp() 524 bool SrtpSession::ProtectRtp(void* p, int in_len, int max_len, int* out_len) { in ProtectRtp() argument 531 if (max_len < need_len) { in ProtectRtp() 533 << max_len << " is less than the needed " << need_len; in ProtectRtp() [all …]
|
D | 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/pdfium/third_party/agg23/ |
D | agg_scanline_u.h | 57 unsigned max_len = max_x - min_x + 2; in reset() local 58 if(max_len > m_max_len) { in reset() 61 m_covers = FX_Alloc( cover_type , max_len); in reset() 62 m_spans = FX_Alloc( span , max_len); in reset() 63 m_max_len = max_len; in reset()
|
/external/u-boot/fs/btrfs/ |
D | subvolume.c | 11 static int get_subvol_name(u64 subvolid, char *name, int max_len) in get_subvol_name() argument 20 ptr = name + max_len - 1; in get_subvol_name() 56 if (ptr == name + max_len - 1) { in get_subvol_name() 60 memmove(name, ptr, name + max_len - ptr); in get_subvol_name()
|
D | dir-item.c | 12 u16 max_len = BTRFS_NAME_LEN; in verify_dir_item() local 21 max_len = 255; /* XATTR_NAME_MAX */ in verify_dir_item() 24 if (item->name_len > max_len || end > total) { in verify_dir_item()
|
/external/brotli/c/fuzz/ |
D | run_decode_fuzzer.c | 28 size_t max_len = 1 << 20; in main() local 29 unsigned char* tmp = (unsigned char*)malloc(max_len); in main() 30 size_t len = fread(tmp, 1, max_len, f); in main()
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/spinn/ |
D | 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)))
|
/external/wpa_supplicant_8/src/utils/ |
D | uuid.c | 50 int uuid_bin2str(const u8 *bin, char *str, size_t max_len) in uuid_bin2str() argument 53 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-" in uuid_bin2str() 59 if (os_snprintf_error(max_len, len)) in uuid_bin2str()
|
D | json.c | 68 size_t max_len, buf_len; in json_parse_string() local 73 max_len = end - pos + 1; in json_parse_string() 74 buf_len = max_len > 10 ? 10 : max_len; in json_parse_string() 82 if (buf_len < max_len && s_end - spos < 3) { in json_parse_string() 88 if (buf_len > max_len) in json_parse_string() 89 buf_len = max_len; in json_parse_string()
|
/external/boringssl/src/crypto/bio/ |
D | bio.c | 436 size_t max_len) { in bio_read_all() argument 440 if (len > max_len) { in bio_read_all() 441 len = max_len; in bio_read_all() 470 if (len < max_len && len - done < kChunkSize / 2) { in bio_read_all() 472 if (len < kChunkSize || len > max_len) { in bio_read_all() 473 len = max_len; in bio_read_all() 517 int BIO_read_asn1(BIO *bio, uint8_t **out, size_t *out_len, size_t max_len) { in OPENSSL_DECLARE_ERROR_REASON() 554 max_len)) { in OPENSSL_DECLARE_ERROR_REASON() 594 len + header_len > max_len || in OPENSSL_DECLARE_ERROR_REASON()
|
/external/python/cpython3/Objects/ |
D | structseq.c | 93 Py_ssize_t len, min_len, max_len, i, n_unnamed_fields; in structseq_new_impl() local 111 max_len = REAL_SIZE_TP(type); in structseq_new_impl() 114 if (min_len != max_len) { in structseq_new_impl() 123 if (len > max_len) { in structseq_new_impl() 126 type->tp_name, max_len, len); in structseq_new_impl() 151 for (; i < max_len; ++i) { in structseq_new_impl()
|
/external/e2fsprogs/misc/ |
D | blkid.c | 128 static int pretty_print_word(const char *str, int max_len, in pretty_print_word() argument 135 if (overflow_nl && len > max_len) { in pretty_print_word() 138 } else if (len > max_len) in pretty_print_word() 139 ret = len - max_len; in pretty_print_word() 142 } while (len++ < max_len); in pretty_print_word()
|
/external/capstone/suite/arm/ |
D | test_arm_regression.c | 346 size_t max_len = 0; in test_valids() local 359 max_len = strlen(tmp_buf); in test_valids() 361 if (tmp_len > max_len) { in test_valids() 362 max_len = tmp_len; in test_valids() 365 if (memcmp(tmp_buf, valid_code->expected_out, max_len)) { in test_valids()
|
/external/llvm/lib/Fuzzer/test/ |
D | fuzzer-flags.test | 5 RUN: LLVMFuzzer-SimpleTest -runs=10 --max_len=100 2>&1 | FileCheck %s --check-prefix=DASH_DASH 6 DASH_DASH: WARNING: did you mean '-max_len=100' (single dash)?
|
D | fuzzer-traces.test | 8 RUN: not LLVMFuzzer-SimpleHashTest -use_traces=1 -seed=8 -runs=1000000 -max_len=16 2>&1 | FileChec… 9 RUN: LLVMFuzzer-SimpleHashTest -seed=9 -runs=1000000 -max_len=16 2>&1 | FileCheck…
|
D | fuzzer.test | 26 RUN: not LLVMFuzzer-CounterTest -use_counters=1 -max_len=6 -seed=1 -timeout=15 2>&1 | FileCheck %s 28 RUN: not LLVMFuzzer-CallerCalleeTest -cross_over=0 -max_len=6 -seed=1 -timeout=… 30 # LLVMFuzzer-CallerCalleeTest -use_indir_calls=0 -cross_over=0 -max_len=6 -seed=1 -runs=1000000 2>…
|
/external/flatbuffers/tests/fuzzer/ |
D | readme.md | 36 `./scalar_fuzzer -reduce_depth=1 -use_value_profile=1 -shrink=1 -max_len=3000 ../.corpus_parser/ ..… 39 `./scalar_fuzzer -only_ascii=1 -reduce_depth=1 -use_value_profile=1 -shrink=1 -max_len=3000 -timeou… 42 ….CP1251" ./scalar_fuzzer -reduce_depth=1 -use_value_profile=1 -shrink=1 -max_len=3000 -timeout=10 … 55 Example: `./scalar_fuzzer -max_len=3000`
|
/external/libprotobuf-mutator/examples/ |
D | fuzzer_test.h | 40 int RunFuzzer(const std::string& name, int max_len, int runs) { in RunFuzzer() argument 44 cmd += " -max_len=" + std::to_string(max_len); in RunFuzzer()
|
/external/python/cpython2/Objects/ |
D | structseq.c | 149 Py_ssize_t len, min_len, max_len, i, n_unnamed_fields; in structseq_new() local 172 max_len = REAL_SIZE_TP(type); in structseq_new() 175 if (min_len != max_len) { in structseq_new() 184 if (len > max_len) { in structseq_new() 187 type->tp_name, max_len, len); in structseq_new() 212 for (; i < max_len; ++i) { in structseq_new()
|