/external/curl/src/ |
tool_strdup.c | 28 char *newstr; local 38 newstr = malloc((len+1)*sizeof(char)); 39 if(!newstr) 42 memcpy(newstr, str, (len+1)*sizeof(char)); 44 return newstr;
|
tool_urlglob.c | 674 char *newstr; local 678 newstr = realloc(target, allocsize + 1); 679 if(!newstr) { 683 target = newstr;
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
XMLStringFactory.java | 37 public abstract XMLString newstr(String string); method in class:XMLStringFactory 49 public abstract XMLString newstr(FastStringBuffer string, int start, method in class:XMLStringFactory 62 public abstract XMLString newstr(char[] string, int start, method in class:XMLStringFactory
|
/external/curl/lib/ |
strdup.c | 37 char *newstr; local 47 newstr = malloc((len+1)*sizeof(char)); 48 if(!newstr) 51 memcpy(newstr, str, (len+1)*sizeof(char)); 53 return newstr;
|
base64.c | 110 unsigned char *newstr; local 142 newstr = malloc(rawlen + 1); 143 if(!newstr) 146 pos = newstr; 152 free(newstr); 165 *outptr = newstr;
|
imap.c | 1806 char *newstr = NULL; local [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XMLStringFactoryImpl.java | 56 public XMLString newstr(String string) method in class:XMLStringFactoryImpl 71 public XMLString newstr(FastStringBuffer fsb, int start, int length) method in class:XMLStringFactoryImpl 86 public XMLString newstr(char[] string, int start, int length) method in class:XMLStringFactoryImpl
|
/external/openssh/openbsd-compat/ |
bsd-asprintf.c | 35 char *string, *newstr; local 50 if ((newstr = realloc(string, len)) == NULL) { 56 ret = vsnprintf(newstr, len, fmt, ap2); 58 *str = newstr; 60 free(newstr);
|
/toolchain/binutils/binutils-2.25/libiberty/ |
concat.c | 142 char *newstr; local 147 newstr = XNEWVEC (char, vconcat_length (first, args) + 1); 152 vconcat_copy (newstr, first, args); 155 return newstr; 179 char *newstr; local 184 newstr = XNEWVEC (char, vconcat_length (first, args) + 1); 189 vconcat_copy (newstr, first, args); 194 return newstr;
|
/external/vboot_reference/futility/ |
dump_kernel_config_lib.c | 136 char *newstr = NULL; local 165 newstr = FindKernelConfigFromStream(ctx, read_fn, 175 return newstr;
|
/external/elfutils/libebl/ |
eblwstrtab.c | 153 struct Ebl_WStrent *newstr; local 174 newstr = (struct Ebl_WStrent *) (st->backp + align); 175 newstr->string = str; 176 newstr->len = len; 177 newstr->next = NULL; 178 newstr->left = NULL; 179 newstr->right = NULL; 180 newstr->offset = 0; 182 newstr->reverse[i] = str[len - 2 - i]; 183 newstr->reverse[len - 1] = L'\0' 223 struct Ebl_WStrent *newstr; local [all...] |
eblgstrtab.c | 171 struct Ebl_GStrent *newstr = (struct Ebl_GStrent *) (st->backp + align); local 172 newstr->string = str; 173 newstr->len = len; 174 newstr->width = st->width; 175 newstr->next = NULL; 176 newstr->left = NULL; 177 newstr->right = NULL; 178 newstr->offset = 0; 181 newstr->reverse[i * st->width + j] = str[(len - 2 - i) * st->width + j]; 183 newstr->reverse[(len - 1) * st->width + j] = '\0' 223 struct Ebl_GStrent *newstr; local [all...] |
eblstrtab.c | 173 struct Ebl_Strent *newstr = (struct Ebl_Strent *) (st->backp + align); local 174 newstr->string = str; 175 newstr->len = len; 176 newstr->next = NULL; 177 newstr->left = NULL; 178 newstr->right = NULL; 179 newstr->offset = 0; 181 newstr->reverse[i] = str[len - 2 - i]; 182 newstr->reverse[len - 1] = '\0'; 186 return newstr; 230 struct Ebl_Strent *newstr = newstring (st, str, len); local [all...] |
/external/icu/icu4c/source/samples/uresb/ |
uresb.c | 195 UChar *newstr, *np; local 206 newstr = (UChar *) malloc((1 + alen) * sizeof(*newstr)); 207 for (sp = string, np = newstr; *sp; ++sp) { 224 return newstr;
|
/libcore/ojluni/src/main/java/sun/security/util/ |
DerInputStream.java | 424 DerInputStream newstr; local 457 newstr = this; 459 newstr = subStream(len, true); 469 value = new DerValue(newstr.buffer, originalEncodedFormRetained); 471 } while (newstr.available() > 0); 473 if (newstr.available() != 0)
|
/system/core/logd/ |
LogAudit.cpp | 349 char newstr[n]; local 351 *newstr = info ? ANDROID_LOG_INFO : ANDROID_LOG_WARN; 352 strlcpy(newstr + 1, comm, l); 353 strncpy(newstr + 1 + l, str, b); 354 strncpy(newstr + 1 + l + b, ecomm, e); 356 rc = logbuf->log(LOG_ID_MAIN, now, uid, pid, tid, newstr,
|
LogKlog.cpp | 781 char newstr[n]; local 782 char* np = newstr; 824 int rc = logbuf->log(LOG_ID_KERNEL, now, uid, pid, tid, newstr,
|
/toolchain/binutils/binutils-2.25/bfd/ |
vms-misc.c | 145 char *newstr = bfd_malloc ((bfd_size_type) size + 1); 147 if (newstr == NULL) 149 memcpy (newstr, (char *) str, (size_t) size); 150 newstr[size] = 0; 152 return newstr; 144 char *newstr = bfd_malloc ((bfd_size_type) size + 1); local
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
stropmodule.c | 464 PyObject *newstr;
local 470 newstr = PyString_FromStringAndSize(NULL, n);
471 if (newstr == NULL)
473 s_new = PyString_AsString(newstr);
485 Py_DECREF(newstr);
489 return newstr;
503 PyObject *newstr;
local 509 newstr = PyString_FromStringAndSize(NULL, n);
510 if (newstr == NULL)
512 s_new = PyString_AsString(newstr);
543 PyObject *newstr; local 722 PyObject *newstr; local 1168 PyObject *newstr; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
stropmodule.c | 464 PyObject *newstr;
local 470 newstr = PyString_FromStringAndSize(NULL, n);
471 if (newstr == NULL)
473 s_new = PyString_AsString(newstr);
485 Py_DECREF(newstr);
489 return newstr;
503 PyObject *newstr;
local 509 newstr = PyString_FromStringAndSize(NULL, n);
510 if (newstr == NULL)
512 s_new = PyString_AsString(newstr);
543 PyObject *newstr; local 720 PyObject *newstr; local 1166 PyObject *newstr; local [all...] |
posixmodule.c | 6929 PyObject *newstr; local [all...] |
/external/python/cpython2/Modules/ |
stropmodule.c | 464 PyObject *newstr; local 470 newstr = PyString_FromStringAndSize(NULL, n); 471 if (newstr == NULL) 473 s_new = PyString_AsString(newstr); 485 Py_DECREF(newstr); 489 return newstr; 503 PyObject *newstr; local 509 newstr = PyString_FromStringAndSize(NULL, n); 510 if (newstr == NULL) 512 s_new = PyString_AsString(newstr); 543 PyObject *newstr; local 722 PyObject *newstr; local 1175 PyObject *newstr; local [all...] |
/external/ImageMagick/coders/ |
meta.c | 302 *newstr, 334 newstr = name = token = (char *) NULL; 345 newstr=(char *) AcquireQuantumMemory((size_t) inputlen,sizeof(*newstr)); 346 if (newstr == (char *) NULL) 363 while (Tokenizer(token_info,0,newstr,(size_t) inputlen,token,"","#", 369 if (strcmp(newstr,"8BIM")==0) 372 dataset = (unsigned char) StringToLong(newstr); 375 recnum = (unsigned int) StringToUnsignedLong(newstr); 378 name=(char *) AcquireQuantumMemory(strlen(newstr)+MagickPathExtent 298 *newstr, local 594 *newstr, local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
edk2module.c | 3255 PyObject *newstr; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/ |
edk2module.c | 5276 PyObject *newstr; local [all...] |