Home
last modified time | relevance | path

Searched refs:newptr (Results 1 – 11 of 11) sorted by relevance

/external/selinux/policycoreutils/restorecond/
Dstringslist.c37 struct stringsList *newptr = NULL; in strings_list_add() local
47 newptr = calloc(1, sizeof(struct stringsList)); in strings_list_add()
48 if (!newptr) in strings_list_add()
50 newptr->string = strdup(string); in strings_list_add()
51 newptr->next = ptr; in strings_list_add()
53 prev->next = newptr; in strings_list_add()
55 *list = newptr; in strings_list_add()
/external/curl/tests/server/
Dgetpart.c91 char *newptr; in readline() local
113 newptr = realloc(*buffer, *bufsize * 2); in readline()
114 if(!newptr) in readline()
116 *buffer = newptr; in readline()
174 char *newptr = realloc(*dst_buf, newsize); in appenddata() local
175 if(!newptr) { in appenddata()
179 *dst_buf = newptr; in appenddata()
/external/llvm/test/Transforms/SimplifyCFG/
Dunreachable-blocks.ll13 %newptr = getelementptr i8, i8* %newptr, i64 1
18 %char = load i8, i8* %newptr
/external/flac/include/share/
Dalloc.h159 void *newptr = realloc(ptr, size); in safe_realloc_() local
160 if(size > 0 && newptr == 0) in safe_realloc_()
162 return newptr; in safe_realloc_()
/external/curl/lib/
Dsendf.c395 char *newptr; in Curl_client_chop_write() local
405 newptr = realloc(data->state.tempwrite, newlen); in Curl_client_chop_write()
406 if(!newptr) in Curl_client_chop_write()
409 memcpy(newptr + data->state.tempwritesize, ptr, len); in Curl_client_chop_write()
411 data->state.tempwrite = newptr; in Curl_client_chop_write()
Dmprintf.c1014 char *newptr; in alloc_addbyter() local
1016 newptr = realloc(infop->buffer, infop->alloc*2); in alloc_addbyter()
1018 if(!newptr) { in alloc_addbyter()
1022 infop->buffer = newptr; in alloc_addbyter()
Drtsp.c598 char *newptr = realloc(rtspc->rtp_buf, rtspc->rtp_bufsize + *nread); in rtsp_rtp_readwrite() local
599 if(!newptr) { in rtsp_rtp_readwrite()
605 rtspc->rtp_buf = newptr; in rtsp_rtp_readwrite()
/external/e2fsprogs/e2fsck/
Dprofile.c987 char *newptr; in add_data_to_buffer() local
990 newptr = realloc(b->base, newsize); in add_data_to_buffer()
991 if (newptr == NULL) { in add_data_to_buffer()
995 b->base = newptr; in add_data_to_buffer()
1019 char *newptr = realloc(prof_buf.base, prof_buf.cur); in profile_write_tree_to_buffer() local
1020 if (newptr) in profile_write_tree_to_buffer()
1021 prof_buf.base = newptr; in profile_write_tree_to_buffer()
/external/eigen/Eigen/src/Core/util/
DMemory.h163 void* newptr = aligned_malloc(size); in generic_aligned_realloc() local
164 if (newptr == 0) in generic_aligned_realloc()
174 std::memcpy(newptr, ptr, (std::min)(size,old_size)); in generic_aligned_realloc()
178 return newptr; in generic_aligned_realloc()
/external/mdnsresponder/mDNSCore/
DmDNS.c1705 mDNSu8 *newptr; in SendDelayedUnicastResponse() local
1714 newptr = PutResourceRecord(&m->omsg, responseptr, &m->omsg.h.numAnswers, &rr->resrec); in SendDelayedUnicastResponse()
1716 if (!newptr && m->omsg.h.numAnswers) break; // If packet full, send it now in SendDelayedUnicastResponse()
1717 if (newptr) responseptr = newptr; in SendDelayedUnicastResponse()
1731 newptr = PutResourceRecord(&m->omsg, responseptr, &m->omsg.h.numAdditionals, &rr->resrec); in SendDelayedUnicastResponse()
1734 if (newptr) responseptr = newptr; in SendDelayedUnicastResponse()
1735 if (newptr && m->omsg.h.numAnswers) rr->RequireGoodbye = mDNStrue; in SendDelayedUnicastResponse()
2239 mDNSu8 *newptr; in SendResponses() local
2264 newptr = mDNSNULL; in SendResponses()
2270 newptr = PutRR_OS_TTL(responseptr, &m->omsg.h.numAnswers, &rr->resrec, 0); in SendResponses()
[all …]
DDNSCommon.c1984 mDNSu8 *newptr; in putHINFO() local
1994 newptr = PutResourceRecordTTLWithLimit(msg, end, &msg->h.numAdditionals, &hinfo.resrec, 0, limit); in putHINFO()
1995 return newptr; in putHINFO()