Home
last modified time | relevance | path

Searched refs:newstr (Results 1 - 13 of 13) sorted by relevance

/third_party/elfutils/libdwelf/
H A Ddwelf_strtab.c166 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()
187 searchstring(Dwelf_Strent **sep, Dwelf_Strent *newstr) searchstring() argument
[all...]
/third_party/curl/src/
H A Dtool_strdup.c30 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/
H A Dstrdup.c43 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()
H A Dbase64.c86 unsigned char *newstr; in Curl_base64_decode() local
114 newstr = malloc(rawlen + 1); in Curl_base64_decode()
115 if(!newstr) in Curl_base64_decode()
118 pos = newstr; in Curl_base64_decode()
179 *outptr = newstr; in Curl_base64_decode()
184 free(newstr); in Curl_base64_decode()
H A Dcookie.c111 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_memdup0(newstr, len); in strstore()
/third_party/icu/icu4c/source/samples/uresb/
H A Duresb.c195 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/
H A Duresb.c195 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/node/deps/icu-small/source/tools/genrb/
H A Dderb.cpp326 char16_t *newstr, *np;
337 newstr = (char16_t *) uprv_malloc((1 + alen) * U_SIZEOF_UCHAR);
338 for (sp = string, np = newstr; *sp; ++sp) {
355 return newstr;
/third_party/icu/icu4c/source/tools/genrb/
H A Dderb.cpp326 UChar *newstr, *np;
337 newstr = (UChar *) uprv_malloc((1 + alen) * U_SIZEOF_UCHAR);
338 for (sp = string, np = newstr; *sp; ++sp) {
355 return newstr;
/third_party/skia/third_party/externals/icu/source/tools/genrb/
H A Dderb.cpp326 UChar *newstr, *np;
337 newstr = (UChar *) uprv_malloc((1 + alen) * U_SIZEOF_UCHAR);
338 for (sp = string, np = newstr; *sp; ++sp) {
355 return newstr;
/third_party/skia/third_party/externals/libwebp/swig/
H A Dlibwebp_python_wrap.c787 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/
H A Dphp-upb.c3425 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/
H A Dupb.c2980 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()

Completed in 48 milliseconds