Home
last modified time | relevance | path

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

/external/elfutils/0.153/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.c194 struct Ebl_Strent *newstr = (struct Ebl_Strent *) (st->backp + align); in newstring() local
195 newstr->string = str; in newstring()
196 newstr->len = len; in newstring()
197 newstr->next = NULL; in newstring()
198 newstr->left = NULL; in newstring()
199 newstr->right = NULL; in newstring()
200 newstr->offset = 0; in newstring()
202 newstr->reverse[i] = str[len - 2 - i]; in newstring()
203 newstr->reverse[len - 1] = '\0'; in newstring()
207 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/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/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.c347 UChar *newstr, *np; in quotedString() local
358 newstr = (UChar *) uprv_malloc((1 + alen) * sizeof(*newstr)); in quotedString()
359 for (sp = string, np = newstr; *sp; ++sp) { in quotedString()
376 return newstr; in quotedString()
/external/chromium_org/third_party/icu/source/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()