/external/linux-tools-perf/src/tools/perf/ui/tui/ |
D | util.c | 76 int max_len = 60, nr_lines = 0; in ui_browser__input_window() local 87 if (max_len < len) in ui_browser__input_window() 88 max_len = len; in ui_browser__input_window() 95 max_len += 2; in ui_browser__input_window() 98 x = SLtt_Screen_Cols / 2 - max_len / 2; in ui_browser__input_window() 101 SLsmg_draw_box(y, x++, nr_lines, max_len); in ui_browser__input_window() 108 max_len -= 2; in ui_browser__input_window() 110 nr_lines, max_len, 1); in ui_browser__input_window() 115 SLsmg_write_nstring((char *)" ", max_len); in ui_browser__input_window() 117 SLsmg_draw_box(y++, x + 1, 3, max_len - 2); in ui_browser__input_window() [all …]
|
/external/e2fsprogs/lib/e2p/ |
D | iod.c | 32 int max_len = -1, len, ret = 0; in iterate_on_dir() local 35 max_len = pathconf(dir_name, _PC_NAME_MAX); in iterate_on_dir() 37 if (max_len == -1) { in iterate_on_dir() 39 max_len = _POSIX_NAME_MAX; in iterate_on_dir() 42 max_len = NAME_MAX; in iterate_on_dir() 44 max_len = 256; in iterate_on_dir() 48 max_len += sizeof(struct dirent); in iterate_on_dir() 50 de = malloc(max_len+1); in iterate_on_dir() 53 memset(de, 0, max_len+1); in iterate_on_dir() 63 if (len > max_len) in iterate_on_dir() [all …]
|
/external/libnfc-nci/src/nfa/dm/ |
D | nfa_dm_main.c | 228 UINT8 type, len, *p_value, *p_stored, max_len; in nfa_dm_check_set_config() local 255 max_len = NCI_PARAM_LEN_TOTAL_DURATION; in nfa_dm_check_set_config() 263 max_len = NCI_PARAM_LEN_LA_BIT_FRAME_SDD; in nfa_dm_check_set_config() 268 max_len = NCI_PARAM_LEN_LA_PLATFORM_CONFIG; in nfa_dm_check_set_config() 273 max_len = NCI_PARAM_LEN_LA_SEL_INFO; in nfa_dm_check_set_config() 278 max_len = NCI_NFCID1_MAX_LEN; in nfa_dm_check_set_config() 283 max_len = NCI_MAX_HIS_BYTES_LEN; in nfa_dm_check_set_config() 292 max_len = NCI_PARAM_LEN_LB_SENSB_INFO; in nfa_dm_check_set_config() 297 max_len = NCI_PARAM_LEN_LB_NFCID0; in nfa_dm_check_set_config() 302 max_len = NCI_PARAM_LEN_LB_APPDATA; in nfa_dm_check_set_config() [all …]
|
/external/lldb/source/Commands/ |
D | CommandObjectApropos.cpp | 86 size_t max_len = 0; in DoExecute() local 91 if (len > max_len) in DoExecute() 92 max_len = len; in DoExecute() 100 max_len); in DoExecute() 108 size_t max_len = 0; in DoExecute() local 113 if (len > max_len) in DoExecute() 114 max_len = len; in DoExecute() 122 max_len); in DoExecute()
|
D | CommandObjectMultiword.cpp | 192 uint32_t max_len = m_interpreter.FindLongestCommandWord (m_subcommand_dict); in GenerateHelpText() local 194 if (max_len) in GenerateHelpText() 195 max_len += 4; // Indent the output by 4 spaces. in GenerateHelpText() 209 max_len); in GenerateHelpText() 216 max_len); in GenerateHelpText()
|
/external/pdfium/core/src/fxge/agg/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/wpa_supplicant_8/src/utils/ |
D | uuid.c | 49 int uuid_bin2str(const u8 *bin, char *str, size_t max_len) in uuid_bin2str() argument 52 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-" in uuid_bin2str() 58 if (os_snprintf_error(max_len, len)) in uuid_bin2str()
|
D | uuid.h | 15 int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
|
D | ip_addr.h | 19 u8 max_len[16]; member
|
/external/boringssl/src/crypto/bio/ |
D | bio.c | 475 size_t max_len) { in bio_read_all() argument 479 if (len > max_len) { in bio_read_all() 480 len = max_len; in bio_read_all() 509 if (len < max_len && len - done < kChunkSize / 2) { in bio_read_all() 511 if (len < kChunkSize || len > max_len) { in bio_read_all() 512 len = max_len; in bio_read_all() 524 int BIO_read_asn1(BIO *bio, uint8_t **out, size_t *out_len, size_t max_len) { in BIO_read_asn1() argument 551 max_len); in BIO_read_asn1() 584 len + header_len > max_len) { in BIO_read_asn1()
|
/external/webp/src/enc/ |
D | backward_references.c | 246 const uint32_t* const argb, int max_len, in HashChainFindCopy() argument 259 if (max_len > MAX_LENGTH) { in HashChainFindCopy() 260 max_len = MAX_LENGTH; in HashChainFindCopy() 282 curr_length = FindMatchLength(argb + pos, argb_start, max_len); in HashChainFindCopy() 303 if (curr_length >= (uint32_t)max_len) { in HashChainFindCopy() 378 int max_len = pix_count - i; in BackwardReferencesHashChain() local 379 HashChainFindCopy(hash_chain, i, xsize, argb, max_len, in BackwardReferencesHashChain() 391 int max_len = pix_count - (i + 1); in BackwardReferencesHashChain() local 392 HashChainFindCopy(hash_chain, i + 1, xsize, argb, max_len, in BackwardReferencesHashChain() 610 int max_len = shortmax ? 2 : pix_count - i; in BackwardReferencesHashChainDistanceOnly() local [all …]
|
/external/e2fsprogs/misc/ |
D | blkid.c | 117 static int pretty_print_word(const char *str, int max_len, in pretty_print_word() argument 124 if (overflow_nl && len > max_len) { in pretty_print_word() 127 } else if (len > max_len) in pretty_print_word() 128 ret = len - max_len; in pretty_print_word() 131 while (len++ < max_len); in pretty_print_word()
|
/external/speex/include/speex/ |
D | speex_bits.h | 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/boringssl/src/crypto/ec/ |
D | wnaf.c | 306 size_t max_len = 0; in ec_wNAF_mul() local 413 if (wNAF_len[i] > max_len) { in ec_wNAF_mul() 414 max_len = wNAF_len[i]; in ec_wNAF_mul() 443 if (tmp_len <= max_len) { in ec_wNAF_mul() 498 if (wNAF_len[i] > max_len) { in ec_wNAF_mul() 499 max_len = wNAF_len[i]; in ec_wNAF_mul() 583 for (k = max_len - 1; k >= 0; k--) { in ec_wNAF_mul()
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
D | nfc_hal_nci.c | 727 UINT16 max_len; in nfc_hal_nci_send_cmd() local 750 max_len = nci_ctrl_size + NCI_MSG_HDR_SIZE; in nfc_hal_nci_send_cmd() 754 if (buf_len > max_len) in nfc_hal_nci_send_cmd() 762 while (buf_len > max_len) in nfc_hal_nci_send_cmd() 764 HAL_TRACE_DEBUG2 ("buf_len (%d) > max_len (%d)", buf_len, max_len); in nfc_hal_nci_send_cmd() 768 p_buf->len = max_len; in nfc_hal_nci_send_cmd() 783 delta = p_buf->len - max_len; in nfc_hal_nci_send_cmd()
|
/external/protobuf/gtest/scripts/ |
D | pump.py | 719 max_len = 80 - len(prefix) 724 if len((cur_line + seg).rstrip()) < max_len: 737 max_len = 80 - indent - len(line_concat) # Maximum length of the current line 739 new_max_len = max_len - 4 # Maximum length of a continuation line 745 while cur_line == '' and len(seg.strip()) > max_len: 747 split_at = seg.rfind(' ', 0, max_len) 751 max_len = new_max_len 753 if len((cur_line + seg).rstrip()) < max_len: 758 max_len = new_max_len
|
/external/google-breakpad/src/testing/gtest/scripts/ |
D | pump.py | 726 max_len = 80 - len(prefix) 731 if len((cur_line + seg).rstrip()) < max_len: 744 max_len = 80 - indent - len(line_concat) # Maximum length of the current line 746 new_max_len = max_len - 4 # Maximum length of a continuation line 752 while cur_line == '' and len(seg.strip()) > max_len: 754 split_at = seg.rfind(' ', 0, max_len) 758 max_len = new_max_len 760 if len((cur_line + seg).rstrip()) < max_len: 765 max_len = new_max_len
|
/external/libdrm/intel/ |
D | intel_decode.c | 238 unsigned int max_len; in decode_mi() member 272 if (opcodes_mi[opcode].max_len > 1) { in decode_mi() 276 || len > opcodes_mi[opcode].max_len) { in decode_mi() 281 opcodes_mi[opcode].max_len); in decode_mi() 430 unsigned int max_len; in decode_2d() member 570 if (opcodes_2d[opcode].max_len > 1) { in decode_2d() 573 len > opcodes_2d[opcode].max_len) { in decode_2d() 1282 unsigned int max_len; in decode_3d_1d() member 2261 if (opcode_3d_1d->max_len > 1) { in decode_3d_1d() 2264 len > opcode_3d_1d->max_len) { in decode_3d_1d() [all …]
|
/external/lldb/examples/summaries/cocoa/ |
D | CFString.py | 68 def read_unicode(self, pointer,max_len=2048): argument 75 while max_len > 0: 93 max_len = max_len - 1
|
/external/mesa3d/src/mesa/main/ |
D | shaderapi.c | 513 GLint max_len = 0; in get_programiv() local 520 if (len > max_len) in get_programiv() 521 max_len = len; in get_programiv() 524 *params = max_len; in get_programiv() 535 GLint max_len = 0; in get_programiv() local 544 if (len > max_len) in get_programiv() 545 max_len = len; in get_programiv() 548 *params = max_len; in get_programiv() 576 GLint max_len = 0; in get_programiv() local 586 if (len > max_len) in get_programiv() [all …]
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_utils.c | 494 unsigned int max_len) in p2p_channels_to_freqs() argument 498 if (!channels || max_len == 0) in p2p_channels_to_freqs() 505 if (idx + 1 == max_len) in p2p_channels_to_freqs() 509 if (idx + 1 == max_len) in p2p_channels_to_freqs()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_suppressions.cc | 65 const uptr max_len = 1 << 26; in ParseFromFile() local 67 ReadFileToBuffer(filename, &file_contents, &buffer_size, max_len); in ParseFromFile()
|
/external/wpa_supplicant_8/src/crypto/ |
D | ms_funcs.c | 113 size_t len, max_len; in nt_password_hash() local 115 max_len = sizeof(buf); in nt_password_hash() 116 if (utf8_to_ucs2(password, password_len, buf, max_len, &len) < 0) in nt_password_hash()
|
/external/boringssl/src/crypto/buf/ |
D | buf.c | 158 size_t BUF_strnlen(const char *str, size_t max_len) { in BUF_strnlen() argument 161 for (i = 0; i < max_len; i++) { in BUF_strnlen()
|
/external/libnfc-nci/src/nfc/nfc/ |
D | nfc_ncif.c | 1029 UINT8 max_len; in nfc_ncif_proc_ee_action() local 1066 max_len = ulen; in nfc_ncif_proc_ee_action() 1070 if (max_len > NFC_MAX_AID_LEN) in nfc_ncif_proc_ee_action() 1071 max_len = NFC_MAX_AID_LEN; in nfc_ncif_proc_ee_action() 1072 evt_data.act_data.param.app_init.len_aid = max_len; in nfc_ncif_proc_ee_action() 1076 if (max_len > NFC_MAX_APP_DATA_LEN) in nfc_ncif_proc_ee_action() 1077 max_len = NFC_MAX_APP_DATA_LEN; in nfc_ncif_proc_ee_action() 1078 evt_data.act_data.param.app_init.len_data = max_len; in nfc_ncif_proc_ee_action() 1084 STREAM_TO_ARRAY (p_data, p, max_len); in nfc_ncif_proc_ee_action()
|