Home
last modified time | relevance | path

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

/external/elfutils/libebl/
Deblwstrtab.c174 struct Ebl_WStrent *newstr; in newstring() local
195 newstr = (struct Ebl_WStrent *) (st->backp + align); in newstring()
196 newstr->string = str; in newstring()
197 newstr->len = len; in newstring()
198 newstr->next = NULL; in newstring()
199 newstr->left = NULL; in newstring()
200 newstr->right = NULL; in newstring()
201 newstr->offset = 0; in newstring()
203 newstr->reverse[i] = str[len - 2 - i]; in newstring()
204 newstr->reverse[len - 1] = L'\0'; in newstring()
[all …]
Deblstrtab.c189 struct Ebl_Strent *newstr = (struct Ebl_Strent *) (st->backp + align); in newstring() local
190 newstr->string = str; in newstring()
191 newstr->len = len; in newstring()
192 newstr->next = NULL; in newstring()
193 newstr->left = NULL; in newstring()
194 newstr->right = NULL; in newstring()
195 newstr->offset = 0; in newstring()
197 newstr->reverse[i] = str[len - 2 - i]; in newstring()
198 newstr->reverse[len - 1] = '\0'; in newstring()
202 return newstr; in newstring()
[all …]
Deblgstrtab.c192 struct Ebl_GStrent *newstr = (struct Ebl_GStrent *) (st->backp + align); in newstring() local
193 newstr->string = str; in newstring()
194 newstr->len = len; in newstring()
195 newstr->width = st->width; in newstring()
196 newstr->next = NULL; in newstring()
197 newstr->left = NULL; in newstring()
198 newstr->right = NULL; in newstring()
199 newstr->offset = 0; in newstring()
202 newstr->reverse[i * st->width + j] = str[(len - 2 - i) * st->width + j]; in newstring()
204 newstr->reverse[(len - 1) * st->width + j] = '\0'; in newstring()
[all …]
/external/openssh/openbsd-compat/
Dbsd-asprintf.c47 char *string, *newstr; in vasprintf() local
62 if ((newstr = realloc(string, len)) == NULL) { in vasprintf()
68 ret = vsnprintf(newstr, len, fmt, ap2); in vasprintf()
70 *str = newstr; in vasprintf()
72 free(newstr); in vasprintf()
/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/icu4c/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/e2fsprogs/util/
Dsubst.c107 static void replace_string(char *begin, char *end, char *newstr) in replace_string() argument
111 replace_len = strlen(newstr); in replace_string()
118 memcpy(begin, newstr, replace_len); in replace_string()
/external/icu4c/tools/genrb/
Dderb.c377 UChar *newstr, *np; in quotedString() local
388 newstr = (UChar *) uprv_malloc((1 + alen) * sizeof(*newstr)); in quotedString()
389 for (sp = string, np = newstr; *sp; ++sp) { in quotedString()
406 return newstr; in quotedString()
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
DSDL_string.c357 char *newstr = SDL_malloc(len); in SDL_strdup() local
358 if ( newstr ) { in SDL_strdup()
359 SDL_strlcpy(newstr, string, len); in SDL_strdup()
361 return newstr; in SDL_strdup()
/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/dropbear/
DCHANGES594 - Fixed a stupid bug in 0.28 release, 'newstr = strdup(oldstr)',
595 not 'newstr=oldstr'
/external/libppp/src/
Dcommand.c435 subst(char *tgt, const char *oldstr, const char *newstr) in subst() argument
446 lnewstr = strlen(newstr); in subst()
460 bcopy(newstr, word, lnewstr); in subst()