Home
last modified time | relevance | path

Searched refs:newstr (Results 1 – 24 of 24) sorted by relevance

/external/elfutils/libebl/
Deblwstrtab.c153 struct Ebl_WStrent *newstr; in newstring() local
174 newstr = (struct Ebl_WStrent *) (st->backp + align); in newstring()
175 newstr->string = str; in newstring()
176 newstr->len = len; in newstring()
177 newstr->next = NULL; in newstring()
178 newstr->left = NULL; in newstring()
179 newstr->right = NULL; in newstring()
180 newstr->offset = 0; in newstring()
182 newstr->reverse[i] = str[len - 2 - i]; in newstring()
183 newstr->reverse[len - 1] = L'\0'; in newstring()
[all …]
Deblstrtab.c173 struct Ebl_Strent *newstr = (struct Ebl_Strent *) (st->backp + align); in newstring() local
174 newstr->string = str; in newstring()
175 newstr->len = len; in newstring()
176 newstr->next = NULL; in newstring()
177 newstr->left = NULL; in newstring()
178 newstr->right = NULL; in newstring()
179 newstr->offset = 0; in newstring()
181 newstr->reverse[i] = str[len - 2 - i]; in newstring()
182 newstr->reverse[len - 1] = '\0'; in newstring()
186 return newstr; in newstring()
[all …]
Deblgstrtab.c171 struct Ebl_GStrent *newstr = (struct Ebl_GStrent *) (st->backp + align); in newstring() local
172 newstr->string = str; in newstring()
173 newstr->len = len; in newstring()
174 newstr->width = st->width; in newstring()
175 newstr->next = NULL; in newstring()
176 newstr->left = NULL; in newstring()
177 newstr->right = NULL; in newstring()
178 newstr->offset = 0; in newstring()
181 newstr->reverse[i * st->width + j] = str[(len - 2 - i) * st->width + j]; in newstring()
183 newstr->reverse[(len - 1) * st->width + j] = '\0'; in newstring()
[all …]
/external/curl/src/
Dtool_strdup.c28 char *newstr; in strdup() local
38 newstr = malloc((len+1)*sizeof(char)); in strdup()
39 if(!newstr) in strdup()
42 memcpy(newstr, str, (len+1)*sizeof(char)); in strdup()
44 return newstr; in strdup()
Dtool_urlglob.c654 char *newstr; in glob_match_url() local
658 newstr = realloc(target, allocsize + 1); in glob_match_url()
659 if(!newstr) { in glob_match_url()
663 target = newstr; in glob_match_url()
/external/curl/lib/
Dstrdup.c33 char *newstr; in curlx_strdup() local
43 newstr = malloc((len+1)*sizeof(char)); in curlx_strdup()
44 if(!newstr) in curlx_strdup()
47 memcpy(newstr, str, (len+1)*sizeof(char)); in curlx_strdup()
49 return newstr; in curlx_strdup()
Dbase64.c110 unsigned char *newstr; in Curl_base64_decode() local
142 newstr = malloc(rawlen + 1); in Curl_base64_decode()
143 if(!newstr) in Curl_base64_decode()
146 pos = newstr; in Curl_base64_decode()
152 free(newstr); in Curl_base64_decode()
165 *outptr = newstr; in Curl_base64_decode()
Dimap.c1826 char *newstr = NULL; in imap_atom() local
1852 newstr = (char *) malloc((newlen + 1) * sizeof(char)); in imap_atom()
1853 if(!newstr) in imap_atom()
1857 p2 = newstr; in imap_atom()
1859 newstr[0] = '"'; in imap_atom()
1860 newstr[newlen - 1] = '"'; in imap_atom()
1879 newstr[newlen] = '\0'; in imap_atom()
1881 return newstr; in imap_atom()
Dcookie.c289 static void strstore(char **str, const char *newstr) in strstore() argument
292 *str = strdup(newstr); in strstore()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DXMLStringFactory.java37 public abstract XMLString newstr(String string); in newstr() method in XMLStringFactory
49 public abstract XMLString newstr(FastStringBuffer string, int start, in newstr() method in XMLStringFactory
62 public abstract XMLString newstr(char[] string, int start, in newstr() method in XMLStringFactory
/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXMLStringFactoryImpl.java56 public XMLString newstr(String string) in newstr() method in XMLStringFactoryImpl
71 public XMLString newstr(FastStringBuffer fsb, int start, int length) in newstr() method in XMLStringFactoryImpl
86 public XMLString newstr(char[] string, int start, int length) in newstr() method in XMLStringFactoryImpl
DXObject.java291 return XMLStringFactoryImpl.getFactory().newstr(str()); in xstr()
DXString.java1111 return edit ? xsf.newstr(new String(buf, start, d - start)) : this; in fixWhiteSpace()
DXStringForFSB.java928 return edit ? xsf.newstr(buf, start, d - start) : this; in fixWhiteSpace()
/external/fonttools/Lib/fontTools/misc/
DpsOperators.py334 newstr = f.value.read(len(oldstr))
335 s.value = newstr
337 self.push(ps_boolean(len(oldstr) == len(newstr)))
459 newstr = obj3.value[:obj2.value]
460 newstr = newstr + obj1.value
461 newstr = newstr + obj3.value[obj2.value + len(obj1.value):]
462 obj3.value = newstr
/external/icu/icu4c/source/samples/uresb/
Duresb.c189 UChar *newstr, *np; in quotedString() local
200 newstr = (UChar *) malloc((1 + alen) * sizeof(*newstr)); in quotedString()
201 for (sp = string, np = newstr; *sp; ++sp) { in quotedString()
218 return newstr; in quotedString()
/external/vboot_reference/futility/
Ddump_kernel_config_lib.c136 char *newstr = NULL; in FindKernelConfig() local
165 newstr = FindKernelConfigFromStream(ctx, read_fn, in FindKernelConfig()
175 return newstr; in FindKernelConfig()
/external/e2fsprogs/util/
Dsubst.c104 static void replace_string(char *begin, char *end, char *newstr) in replace_string() argument
108 replace_len = strlen(newstr); in replace_string()
115 memcpy(begin, newstr, replace_len); in replace_string()
/external/icu/icu4c/source/tools/genrb/
Dderb.cpp324 UChar *newstr, *np; in quotedString() local
335 newstr = (UChar *) uprv_malloc((1 + alen) * U_SIZEOF_UCHAR); in quotedString()
336 for (sp = string, np = newstr; *sp; ++sp) { in quotedString()
353 return newstr; in quotedString()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/
DDOM2DTM.java836 return m_xstrf.newstr( s ); in getStringValue()
855 return m_xstrf.newstr( s ); in getStringValue()
858 return m_xstrf.newstr( node.getNodeValue() ); in getStringValue()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/
DSAX2DTM.java1263 return m_xstrf.newstr(m_chars, offset, length); in getStringValue()
1297 return m_xstrf.newstr(m_chars, offset, length); in getStringValue()
1309 return m_xstrf.newstr(m_valuesOrPrefixes.indexToString(dataIndex)); in getStringValue()
DSAX2DTM2.java2823 return m_xstrf.newstr(m_chars, offset, length); in getStringValue()
2839 return m_xstrf.newstr(m_chars, dataIndex >>> TEXT_LENGTH_BITS, in getStringValue()
2848 return m_xstrf.newstr(m_chars, m_data.elementAt(-dataIndex), in getStringValue()
2866 return m_xstrf.newstr((String)m_values.elementAt(dataIndex)); in getStringValue()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMDocumentImpl.java1441 return m_xsf.newstr( value ); in getStringValue()
/external/libvncserver/webclients/java-applet/ssl/
Dultravnc-102-JavaViewer-ssl-etc.patch2457 + String newstr = new String(bytes, "UTF-8");
2458 + fileName = newstr;