/third_party/libunwind/libunwind/src/arm/ |
H A D | Gex_tables.c | 292 int nbuf = 0; in arm_exidx_extract() local 312 nbuf = -UNW_ESTOPUNWIND; in arm_exidx_extract() 318 buf[nbuf++] = data >> 16; in arm_exidx_extract() 319 buf[nbuf++] = data >> 8; in arm_exidx_extract() 320 buf[nbuf++] = data; in arm_exidx_extract() 343 buf[nbuf++] = data >> 16; in arm_exidx_extract() 344 buf[nbuf++] = data >> 8; in arm_exidx_extract() 345 buf[nbuf++] = data; in arm_exidx_extract() 358 buf[nbuf++] = data >> 16; in arm_exidx_extract() 359 buf[nbuf in arm_exidx_extract() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A 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 in wpabuf_resize() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A 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 in wpabuf_resize() [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | sort.c | 99 assert (nbuf >= nr); \ 101 nbuf -= nr; \ 102 memmove (buffer, buffer + nr, nbuf * sizeof (void *)); \ 107 assert (nbuf <= (b)->nr); \ 108 memcpy ((b)->list, buffer, nbuf * sizeof (void *)); \ 123 int nbuf = 0; in merge_block_seqs() local 163 buffer[nbuf++] = d1; in merge_block_seqs() 177 assert (nbuf == i2); in merge_block_seqs() 187 buffer[nbuf++] = d2; in merge_block_seqs() 213 assert (nbuf in merge_block_seqs() [all...] |
/third_party/libwebsockets/lib/core/ |
H A 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()
|
/third_party/lame/mpglib/ |
H A D | interface.c | 112 struct buf *nbuf; in addbuf() local 114 nbuf = (struct buf *) malloc(sizeof(struct buf)); in addbuf() 115 if (!nbuf) { in addbuf() 119 nbuf->pnt = (unsigned char *) malloc((size_t) size); in addbuf() 120 if (!nbuf->pnt) { in addbuf() 121 free(nbuf); in addbuf() 124 nbuf->size = size; in addbuf() 125 memcpy(nbuf->pnt, buf, (size_t) size); in addbuf() 126 nbuf->next = NULL; in addbuf() 127 nbuf in addbuf() [all...] |
/third_party/FreeBSD/contrib/libexecinfo/ |
H A D | backtrace.c | 53 char *nbuf;
in rasprintf() local 69 nbuf = realloc(*buf, nbufsiz);
in rasprintf() 70 if (nbuf == NULL)
in rasprintf() 72 *buf = nbuf;
in rasprintf()
|
/third_party/ltp/testcases/network/tcp_cmds/sendfile/ |
H A 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()
|
/third_party/musl/third_party/openbsd/gnu/lib/libexecinfo/ |
H A D | backtrace.c | 53 char *nbuf; in rasprintf() local 69 nbuf = realloc(*buf, nbufsiz); in rasprintf() 70 if (nbuf == NULL) in rasprintf() 72 *buf = nbuf; in rasprintf()
|
/third_party/pulseaudio/speex/tmv/ |
H A D | _kiss_fft_guts_tm.h | 100 #define CHECKBUF(buf,nbuf,n) \ 102 if ( nbuf < (size_t)(n) ) { \ 105 nbuf = (size_t)(n); \
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_stereotools.c | 160 int nbuf = inlink->sample_rate * (fabs(delay) / 1000.); in filter_frame() local 163 nbuf -= nbuf % 2; in filter_frame() 282 R = buffer[(s->pos - (int)nbuf + 1 + length) % length]; in filter_frame() 284 L = buffer[(s->pos - (int)nbuf + length) % length]; in filter_frame()
|
/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | tinjpage.c | 414 char nbuf[100]; in do_file_dirty() local 422 testmem(ndesc(nbuf, name, "initial"), page, MREAD); in do_file_dirty() 431 recover(ndesc(nbuf, name, "populated"), page, MREAD_OK); in do_file_dirty() 438 recover(ndesc(nbuf, name, "fault"), page, MREAD_OK); in do_file_dirty()
|
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/ |
H A D | page-poisoning.c | 457 char nbuf[100]; in do_file_dirty() local 465 testmem(ndesc(nbuf, name, "initial"), page, MREAD); in do_file_dirty() 475 recover(ndesc(nbuf, name, "populated"), page, MREAD_OK); in do_file_dirty() 483 recover(ndesc(nbuf, name, "fault"), page, MREAD_OK); in do_file_dirty()
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | tinjpage.c | 414 char nbuf[100]; in do_file_dirty() local 422 testmem(ndesc(nbuf, name, "initial"), page, MREAD); in do_file_dirty() 431 recover(ndesc(nbuf, name, "populated"), page, MREAD_OK); in do_file_dirty() 438 recover(ndesc(nbuf, name, "fault"), page, MREAD_OK); in do_file_dirty()
|
/third_party/skia/third_party/externals/freetype/src/bdf/ |
H A D | bdflib.c | 1782 char nbuf[128]; in _bdf_parse_properties() local 1803 ft_sprintf( nbuf, "%hd", p->font->bbx.ascent ); in _bdf_parse_properties() 1805 nbuf, lineno ); in _bdf_parse_properties() 1815 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_properties() 1817 nbuf, lineno ); in _bdf_parse_properties() 2123 char nbuf[128]; in _bdf_parse_start() local 2137 ft_sprintf( nbuf, "%hd", p->font->bbx.ascent ); in _bdf_parse_start() 2139 nbuf, lineno ); in _bdf_parse_start() 2145 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_start() 2147 nbuf, linen in _bdf_parse_start() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_ttls.c | 1045 char *nbuf; in eap_ttls_process_phase2() local 1046 nbuf = os_malloc(parse.user_name_len * 4 + 1); in eap_ttls_process_phase2() 1047 if (nbuf) { in eap_ttls_process_phase2() 1048 printf_encode(nbuf, parse.user_name_len * 4 + 1, in eap_ttls_process_phase2() 1051 eap_log_msg(sm, "TTLS-User-Name '%s'", nbuf); in eap_ttls_process_phase2() 1052 os_free(nbuf); in eap_ttls_process_phase2()
|
H A D | eap_server_peap.c | 1095 struct wpabuf *nbuf = in eap_peap_process_phase2() local 1098 if (nbuf == NULL) { in eap_peap_process_phase2() 1104 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); in eap_peap_process_phase2() 1109 wpabuf_put_buf(nbuf, in_decrypted); in eap_peap_process_phase2() 1112 in_decrypted = nbuf; in eap_peap_process_phase2()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A 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()
|
H A 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()
|
/third_party/libbpf/src/ |
H A D | netlink.c | 121 void *nbuf; in alloc_iov() local 123 nbuf = realloc(iov->iov_base, len); in alloc_iov() 124 if (!nbuf) in alloc_iov() 127 iov->iov_base = nbuf; in alloc_iov()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A 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()
|
H A 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A 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()
|
H A 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()
|
/third_party/mksh/ |
H A 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()
|