/third_party/elfutils/libdwelf/ |
D | dwelf_strtab.c | 166 Dwelf_Strent *newstr = (Dwelf_Strent *) (st->backp + align); in newstring() local 167 newstr->string = str; in newstring() 168 newstr->len = len; in newstring() 169 newstr->next = NULL; in newstring() 170 newstr->left = NULL; in newstring() 171 newstr->right = NULL; in newstring() 172 newstr->offset = 0; in newstring() 174 newstr->reverse[i] = str[len - 2 - i]; in newstring() 175 newstr->reverse[len - 1] = '\0'; in newstring() 179 return newstr; in newstring() [all …]
|
/third_party/curl/src/ |
D | tool_strdup.c | 30 char *newstr; in strdup() local 37 newstr = malloc(len); in strdup() 38 if(!newstr) in strdup() 41 memcpy(newstr, str, len); in strdup() 42 return newstr; in strdup()
|
/third_party/curl/lib/ |
D | strdup.c | 43 char *newstr; in Curl_strdup() local 50 newstr = malloc(len); in Curl_strdup() 51 if(!newstr) in Curl_strdup() 54 memcpy(newstr, str, len); in Curl_strdup() 55 return newstr; in Curl_strdup()
|
D | base64.c | 85 unsigned char *newstr; in Curl_base64_decode() local 113 newstr = malloc(rawlen + 1); in Curl_base64_decode() 114 if(!newstr) in Curl_base64_decode() 117 pos = newstr; in Curl_base64_decode() 178 *outptr = newstr; in Curl_base64_decode() 183 free(newstr); in Curl_base64_decode()
|
D | cookie.c | 111 static void strstore(char **str, const char *newstr, size_t len); 363 static void strstore(char **str, const char *newstr, size_t len) in strstore() argument 365 DEBUGASSERT(newstr); in strstore() 368 *str = Curl_memdup(newstr, len + 1); in strstore()
|
/third_party/icu/icu4c/source/samples/uresb/ |
D | uresb.c | 195 UChar *newstr, *np; in quotedString() local 206 newstr = (UChar *) malloc((1 + alen) * sizeof(*newstr)); in quotedString() 207 for (sp = string, np = newstr; *sp; ++sp) { in quotedString() 224 return newstr; in quotedString()
|
/third_party/skia/third_party/externals/icu/source/samples/uresb/ |
D | uresb.c | 195 UChar *newstr, *np; in quotedString() local 206 newstr = (UChar *) malloc((1 + alen) * sizeof(*newstr)); in quotedString() 207 for (sp = string, np = newstr; *sp; ++sp) { in quotedString() 224 return newstr; in quotedString()
|
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
D | derb.cpp | 326 UChar *newstr, *np; in quotedString() local 337 newstr = (UChar *) uprv_malloc((1 + alen) * U_SIZEOF_UCHAR); in quotedString() 338 for (sp = string, np = newstr; *sp; ++sp) { in quotedString() 355 return newstr; in quotedString()
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
D | derb.cpp | 326 char16_t *newstr, *np; in quotedString() local 337 newstr = (char16_t *) uprv_malloc((1 + alen) * U_SIZEOF_UCHAR); in quotedString() 338 for (sp = string, np = newstr; *sp; ++sp) { in quotedString() 355 return newstr; in quotedString()
|
/third_party/icu/icu4c/source/tools/genrb/ |
D | derb.cpp | 326 UChar *newstr, *np; in quotedString() local 337 newstr = (UChar *) uprv_malloc((1 + alen) * U_SIZEOF_UCHAR); in quotedString() 338 for (sp = string, np = newstr; *sp; ++sp) { in quotedString() 355 return newstr; in quotedString()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gststructure.h | 156 GstStructure * newstr);
|
D | gststructure.c | 596 gst_structure_take (GstStructure ** oldstr_ptr, GstStructure * newstr) in gst_structure_take() argument 604 if (G_UNLIKELY (oldstr == newstr)) { in gst_structure_take() 605 g_return_val_if_fail (newstr == NULL, FALSE); in gst_structure_take() 609 oldstr_ptr, (gpointer) oldstr, newstr))); in gst_structure_take()
|
/third_party/skia/third_party/externals/libwebp/swig/ |
D | libwebp_python_wrap.c | 787 char *newstr; in SWIG_Python_str_AsChar() local 791 newstr = (char *) malloc(len+1); in SWIG_Python_str_AsChar() 792 memcpy(newstr, cstr, len+1); in SWIG_Python_str_AsChar() 794 return newstr; in SWIG_Python_str_AsChar()
|
/third_party/protobuf/php/ext/google/protobuf/ |
D | php-upb.c | 3425 static str_t *newstr(upb_alloc *alloc, const char *data, size_t len) { in newstr() function 4775 f->defaultval.str = newstr(ctx->alloc, str, len); in parse_default() 4779 f->defaultval.str = newstr(ctx->alloc, str, len); in parse_default() 4805 f->defaultval.str = newstr(ctx->alloc, NULL, 0); in set_default_default()
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 2980 static str_t *newstr(upb_alloc *alloc, const char *data, size_t len) { in newstr() function 4312 f->defaultval.str = newstr(ctx->alloc, str, len); in parse_default() 4316 f->defaultval.str = newstr(ctx->alloc, str, len); in parse_default() 4342 f->defaultval.str = newstr(ctx->alloc, NULL, 0); in set_default_default()
|
/third_party/gstreamer/gstreamer/ |
D | ChangeLog | 5826 1. First "oldstr == newstr" check (before the loop) fails. 5829 3. Second "oldstr == newstr" check (in the loop) succeeds, loop breaks.
|