/external/openssh/openbsd-compat/ |
D | pwcache.c | 55 static char nbuf[15]; /* 32 bits == 10 digits */ in user_from_uid() local 70 (void)snprintf(nbuf, sizeof(nbuf), "%lu", (u_long)uid); in user_from_uid() 75 cp->name = strdup(pw ? pw->pw_name : nbuf); in user_from_uid() 90 static char nbuf[15]; /* 32 bits == 10 digits */ in group_from_gid() local 105 (void)snprintf(nbuf, sizeof(nbuf), "%lu", (u_long)gid); in group_from_gid() 110 cp->name = strdup(gr ? gr->gr_name : nbuf); in group_from_gid()
|
D | bsd-getline.c | 79 char *nbuf; in getdelim() local 82 if ((nbuf = realloc(*buf, nbufsiz)) == NULL) in getdelim() 84 *buf = nbuf; in getdelim() 86 eptr = nbuf + nbufsiz; in getdelim() 87 ptr = nbuf + d; in getdelim()
|
/external/wpa_supplicant_8/src/utils/ |
D | wpabuf.c | 70 unsigned char *nbuf; in wpabuf_resize() local 72 nbuf = os_realloc(buf->buf, buf->used + add_len); in wpabuf_resize() 73 if (nbuf == NULL) in wpabuf_resize() 75 os_memset(nbuf + buf->used, 0, add_len); in wpabuf_resize() 76 buf->buf = nbuf; in wpabuf_resize() 79 nbuf = os_realloc(trace, sizeof(struct wpabuf_trace) + in wpabuf_resize() 82 if (nbuf == NULL) in wpabuf_resize() 84 trace = (struct wpabuf_trace *) nbuf; in wpabuf_resize() 86 os_memset(nbuf + sizeof(struct wpabuf_trace) + in wpabuf_resize() 90 nbuf = os_realloc(buf, sizeof(struct wpabuf) + in wpabuf_resize() [all …]
|
/external/libwebsockets/lib/core/ |
D | buflist.c | 37 struct lws_buflist *nbuf; in lws_buflist_append_segment() local 62 nbuf = (struct lws_buflist *)lws_malloc(sizeof(struct lws_buflist) + in lws_buflist_append_segment() 64 if (!nbuf) { in lws_buflist_append_segment() 69 nbuf->len = len; in lws_buflist_append_segment() 70 nbuf->pos = 0; in lws_buflist_append_segment() 71 nbuf->next = NULL; in lws_buflist_append_segment() 74 p = (uint8_t *)nbuf + sizeof(*nbuf) + LWS_PRE; in lws_buflist_append_segment() 77 *head = nbuf; in lws_buflist_append_segment()
|
/external/ltp/testcases/network/tcp_cmds/sendfile/ |
D | testsf_s.c | 43 char nbuf[PATH_MAX]; in main() local 131 number = &nbuf[0]; in main() 133 nbuf[count] = *lp; in main() 137 nbuf[count] = '\0'; in main()
|
/external/iperf3/src/ |
D | iperf_util.c | 548 char *nbuf; in getdelim() local 551 if ((nbuf = realloc(*buf, nbufsiz)) == NULL) in getdelim() 553 *buf = nbuf; in getdelim() 555 eptr = nbuf + nbufsiz; in getdelim() 556 ptr = nbuf + d; in getdelim()
|
D | iperf_api.c | 3061 char nbuf[UNIT_LEN]; in iperf_print_intermediate() local 3115 unit_snprintf(nbuf, UNIT_LEN, bandwidth, test->settings->unit_format); in iperf_print_intermediate() 3127 …ntf(test, report_sum_bw_retrans_format, mbuf, start_time, end_time, ubuf, nbuf, retransmits, irp->… in iperf_print_intermediate() 3133 …perf_printf(test, report_sum_bw_format, mbuf, start_time, end_time, ubuf, nbuf, test->omitting?rep… in iperf_print_intermediate() 3141 …(test, report_sum_bw_udp_sender_format, mbuf, start_time, end_time, ubuf, nbuf, zbuf, total_packet… in iperf_print_intermediate() 3153 …_printf(test, report_sum_bw_udp_format, mbuf, start_time, end_time, ubuf, nbuf, avg_jitter * 1000.… in iperf_print_intermediate() 3237 char nbuf[UNIT_LEN]; in iperf_print_results() local 3346 unit_snprintf(nbuf, UNIT_LEN, bandwidth, test->settings->unit_format); in iperf_print_results() 3358 …eport_bw_retrans_format, sp->socket, mbuf, start_time, sender_time, ubuf, nbuf, sp->result->stream… in iperf_print_results() 3370 …intf(test, report_bw_format, sp->socket, mbuf, start_time, sender_time, ubuf, nbuf, report_sender); in iperf_print_results() [all …]
|
/external/iproute2/lib/ |
D | ll_map.c | 159 static char nbuf[IFNAMSIZ]; in ll_index_to_name() local 161 return ll_idx_n2a(idx, nbuf); in ll_index_to_name()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_flow_dissector.c | 122 char nbuf[INET6_ADDRSTRLEN]; in util_printaddr() local 136 if (!inet_ntop(addr->sa_family, ((void *) addr) + off, nbuf, in util_printaddr() 137 sizeof(nbuf))) in util_printaddr() 140 fprintf(stderr, "%s: %s\n", msg, nbuf); in util_printaddr()
|
/external/freetype/src/bdf/ |
D | bdflib.c | 1777 char nbuf[128]; in _bdf_parse_properties() local 1798 ft_sprintf( nbuf, "%hd", p->font->bbx.ascent ); in _bdf_parse_properties() 1800 nbuf, lineno ); in _bdf_parse_properties() 1810 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_properties() 1812 nbuf, lineno ); in _bdf_parse_properties() 2124 char nbuf[128]; in _bdf_parse_start() local 2138 ft_sprintf( nbuf, "%hd", p->font->bbx.ascent ); in _bdf_parse_start() 2140 nbuf, lineno ); in _bdf_parse_start() 2146 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_start() 2148 nbuf, lineno ); in _bdf_parse_start()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_fast_pac.c | 494 char *nbuf = os_realloc(*buf, *buf_len + need); in eap_fast_write() local 495 if (nbuf == NULL) { in eap_fast_write() 500 *pos = nbuf + (*pos - *buf); in eap_fast_write() 501 *buf = nbuf; in eap_fast_write()
|
D | eap_teap_pac.c | 494 char *nbuf = os_realloc(*buf, *buf_len + need); in eap_teap_write() local 496 if (!nbuf) { in eap_teap_write() 501 *pos = nbuf + (*pos - *buf); in eap_teap_write() 502 *buf = nbuf; in eap_teap_write()
|
/external/mksh/src/ |
D | shf.c | 346 unsigned char *nbuf; in shf_emptybuf() local 357 nbuf = aresize2(shf->buf, 2, shf->wbsize, shf->areap); in shf_emptybuf() 358 shf->rp = nbuf + (shf->rp - shf->buf); in shf_emptybuf() 359 shf->wp = nbuf + (shf->wp - shf->buf); in shf_emptybuf() 363 shf->buf = nbuf; in shf_emptybuf()
|
D | edit.c | 4174 char *p, *nbuf; in vi_cmd() local 4194 nbuf = alloc(nlen + 1 + olen, AEDIT); in vi_cmd() 4195 memcpy(nbuf, ap->val.s, nlen); in vi_cmd() 4196 nbuf[nlen++] = cmd[1]; in vi_cmd() 4198 memcpy(nbuf + nlen, macro.p, olen); in vi_cmd() 4202 nbuf[nlen++] = '\0'; in vi_cmd() 4203 nbuf[nlen++] = '\0'; in vi_cmd() 4205 macro.p = macro.buf = (unsigned char *)nbuf; in vi_cmd()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_ttls.c | 1053 char *nbuf; in eap_ttls_process_phase2() local 1054 nbuf = os_malloc(parse.user_name_len * 4 + 1); in eap_ttls_process_phase2() 1055 if (nbuf) { in eap_ttls_process_phase2() 1056 printf_encode(nbuf, parse.user_name_len * 4 + 1, in eap_ttls_process_phase2() 1059 eap_log_msg(sm, "TTLS-User-Name '%s'", nbuf); in eap_ttls_process_phase2() 1060 os_free(nbuf); in eap_ttls_process_phase2()
|
D | eap_server_peap.c | 1126 struct wpabuf *nbuf = in eap_peap_process_phase2() local 1129 if (nbuf == NULL) { in eap_peap_process_phase2() 1135 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); in eap_peap_process_phase2() 1140 wpabuf_put_buf(nbuf, in_decrypted); in eap_peap_process_phase2() 1143 in_decrypted = nbuf; in eap_peap_process_phase2()
|
/external/tcpdump/ |
D | smbutil.c | 697 char nbuf[255]; in smb_fdata1() local 704 maxbuf, nbuf); in smb_fdata1() 711 ND_PRINT((ndo, "%-15.15s NameType=0x%02X (%s)", nbuf, name_type, in smb_fdata1()
|
/external/wpa_supplicant_8/src/ap/ |
D | sta_info.c | 1174 u8 *trans_id, *nbuf; in ap_sa_query_timer() local 1186 nbuf = os_realloc_array(sta->sa_query_trans_id, in ap_sa_query_timer() 1189 if (nbuf == NULL) in ap_sa_query_timer() 1195 trans_id = nbuf + sta->sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; in ap_sa_query_timer() 1196 sta->sa_query_trans_id = nbuf; in ap_sa_query_timer()
|
D | wpa_auth_ft.c | 2612 u8 *nbuf; in wpa_sm_write_assoc_resp_ies() local 2620 nbuf = os_realloc(subelem, subelem_len + igtk_len); in wpa_sm_write_assoc_resp_ies() 2621 if (nbuf == NULL) { in wpa_sm_write_assoc_resp_ies() 2626 subelem = nbuf; in wpa_sm_write_assoc_resp_ies() 2634 u8 *nbuf; in wpa_sm_write_assoc_resp_ies() local 2643 nbuf = os_realloc(subelem, subelem_len + bigtk_len); in wpa_sm_write_assoc_resp_ies() 2644 if (!nbuf) { in wpa_sm_write_assoc_resp_ies() 2649 subelem = nbuf; in wpa_sm_write_assoc_resp_ies() 2657 u8 *nbuf, *ocipos; in wpa_sm_write_assoc_resp_ies() local 2676 nbuf = os_realloc(subelem, subelem_len); in wpa_sm_write_assoc_resp_ies() [all …]
|
/external/llvm-project/openmp/runtime/src/ |
D | kmp_alloc.cpp | 668 void *nbuf; in bgetr() local 672 nbuf = bget(th, size); in bgetr() 673 if (nbuf == NULL) { /* Acquire new buffer */ in bgetr() 677 return nbuf; in bgetr() 693 (void)KMP_MEMCPY((char *)nbuf, (char *)buf, /* Copy the data */ in bgetr() 697 return nbuf; in bgetr()
|
/external/libxml2/ |
D | HTMLparser.c | 2222 char nbuf[16]; in UTF8ToHtml() local 2230 snprintf(nbuf, sizeof(nbuf), "#%u", c); in UTF8ToHtml() 2231 cp = nbuf; in UTF8ToHtml() 2321 char nbuf[16]; in htmlEncodeEntities() local 2329 snprintf(nbuf, sizeof(nbuf), "#%u", c); in htmlEncodeEntities() 2330 cp = nbuf; in htmlEncodeEntities()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | sme.c | 2692 u8 *trans_id, *nbuf; in sme_sa_query_timer() local 2698 nbuf = os_realloc_array(wpa_s->sme.sa_query_trans_id, in sme_sa_query_timer() 2701 if (nbuf == NULL) { in sme_sa_query_timer() 2709 trans_id = nbuf + wpa_s->sme.sa_query_count * WLAN_SA_QUERY_TR_ID_LEN; in sme_sa_query_timer() 2710 wpa_s->sme.sa_query_trans_id = nbuf; in sme_sa_query_timer()
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLEngineVersionCompatibilityTest.java | 812 int nbuf = ((sourceData.length - 1) / size) + 1; in splitDataIntoBuffers() local 813 ByteBuffer[] buffers = new ByteBuffer[nbuf]; in splitDataIntoBuffers()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLEngineVersionCompatibilityTest.java | 814 int nbuf = ((sourceData.length - 1) / size) + 1; in splitDataIntoBuffers() local 815 ByteBuffer[] buffers = new ByteBuffer[nbuf]; in splitDataIntoBuffers()
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/ |
D | re2.cc | 1085 static const char* TerminateNumber(char* buf, size_t nbuf, const char* str, in GlobalReplace() argument 1128 if (n > nbuf-1) return ""; in GlobalReplace()
|