HomeSort by relevance Sort by last modified time
    Searched defs:string (Results 476 - 500 of 2901) sorted by null

<<11121314151617181920>>

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
IntlTestNumberFormat.java 32 public static void main(String[] args) throws Exception {
40 String localeName = locale + " (" + locale.getDisplayName() + ")";
66 String localeName = locale + " (" + locale.getDisplayName() + ")";
163 String[] string = new String[DEPTH]; local
174 number[i - 1] = fNumberFormat.parse(string[i - 1]).doubleValue();
176 errln("**** FAIL: Parse of " + string[i-1] + " failed.");
182 string[i] = fNumberFormat.format(number[i]);
193 if (stringMatch == 0 && string[i] == string[i-1]
    [all...]
  /external/icu/icu4c/source/samples/uresb/
uresb.c 31 #include <string.h>
58 static UChar *quotedString(const UChar *string);
185 static UChar *quotedString(const UChar *string) {
186 int len = u_strlen(string);
191 for (sp = string; *sp; ++sp) {
201 for (sp = string, np = newstr; *sp; ++sp) {
230 UChar *string = quotedString(thestr); local
232 /* TODO: String truncation */
236 u_fprintf(out, "// WARNING: this string, size %d is truncated to %d\n", len, truncsize/2);
242 u_fprintf(out, "%s { \"%S\" } ", key, string);
    [all...]
  /external/icu/icu4c/source/test/intltest/
tsdate.cpp 151 UnicodeString string[DEPTH]; local
162 fFormat->format(theDate, string[0]);
167 date[i] = fFormat->parse(string[i-1], status);
171 errln("**** FAIL: Parse of " + prettify(string[i-1], FALSE) + " failed.");
175 fFormat->format(date[i], string[i]);
181 errln("**** FAIL: Date mismatch after match for " + string[i]);
185 if (stringMatch == 0 && string[i] == string[i-1])
187 else if (stringMatch > 0 && string[i] != string[i-1]
    [all...]
tsnmfmt.cpp 286 UnicodeString string[DEPTH]; local
296 string[i] = "(n/a)"; // "format was never done" value
300 fFormat->parse(string[i-1], number[i], status);
303 errMsg = "**** FAIL: Parse of " + prettify(string[i-1]) + " failed.";
315 errMsg = ("**** FAIL: Parse of " + prettify(string[i-1])
321 string[i].truncate(0);
322 fFormat->format(number[i].getDouble(), string[i]);
332 if (stringMatch == 0 && string[i] == string[i-1])
334 else if (stringMatch > 0 && string[i] != string[i-1]
    [all...]
  /external/icu/icu4c/source/tools/genrb/
derb.cpp 45 static UChar *quotedString(const UChar *string);
320 static UChar *quotedString(const UChar *string) {
321 int len = u_strlen(string);
326 for (sp = string; *sp; ++sp) {
336 for (sp = string, np = newstr; *sp; ++sp) {
388 UChar *string = quotedString(thestr); local
405 printString(out, string, len);
414 uprv_free(string);
430 UChar *string = quotedString(thestr); local
432 /* TODO: String truncation *
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
ResourceBasedPeriodFormatterDataService.java 34 private Collection<String> availableLocales; // of String
37 private String lastLocale = null;
38 private Map<String, PeriodFormatterData> cache = new HashMap<String, PeriodFormatterData>(); // String -> PeriodFormatterData
41 private static final String PATH = "data/";
56 List<String> localeNames = new ArrayList<String>(); // of String
62 String string = null; local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
IntlTestNumberFormat.java 28 public static void main(String[] args) throws Exception {
36 String localeName = locale + " (" + locale.getDisplayName() + ")";
62 String localeName = locale + " (" + locale.getDisplayName() + ")";
159 String[] string = new String[DEPTH]; local
170 number[i - 1] = fNumberFormat.parse(string[i - 1]).doubleValue();
172 errln("**** FAIL: Parse of " + string[i-1] + " failed.");
178 string[i] = fNumberFormat.format(number[i]);
189 if (stringMatch == 0 && string[i] == string[i-1]
    [all...]
  /external/ipsec-tools/src/racoon/
vendorid.h 96 const char *string; member in struct:vendor_id
  /external/jsoncpp/devtools/
batchbuild.py 9 import string namespace
151 HTML_TEMPLATE = string.Template('''<html>
  /external/kernel-headers/original/uapi/linux/
virtio_input.h 63 char string[128]; member in union:virtio_input_config::__anon13670
  /external/libcap/progs/
capsh.c 13 #include <string.h>
34 static char string[8*sizeof(unsigned long) + 1]; local
37 i = sizeof(string);
38 string[--i] = '\0';
40 string[--i] = (value & 1) ? '1' : '0';
43 return string + i;
522 b = binary(set); /* use verilog convention for binary string */
570 " --decode=xxx decode a hex string to a list of caps\n"
  /external/libdrm/radeon/
bof.c 28 #include <string.h>
175 * string
179 bof_t *string = bof_object(); local
181 if (string == NULL)
183 string->type = BOF_TYPE_STRING;
184 string->size = strlen(value) + 1;
185 string->value = calloc(1, string->size);
186 if (string->value == NULL) {
187 bof_decref(string);
    [all...]
  /external/libexif/libexif/olympus/
mnote-olympus-entry.c 26 #include <string.h>
87 const char *string; member in struct:__anon14777::__anon14778
444 for (j = 0; items[i].elem[j].string &&
450 strncpy (v, _(items[i].elem[j].string), maxlen);
514 for (j = 0; items[i].elem[j].string &&
520 strncpy (v, _(items[i].elem[j].string), maxlen);
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/tools/docmaker/
content.py 24 import string, re namespace
105 if string.strip( l[:margin] ) == "":
136 l = string.strip( l )
137 self.words.extend( string.split( l ) )
225 if not string.split( l ) and cur_lines:
296 self.tag = string.lower( tag )
354 self.title = string.split( "Miscellaneous" )
439 if len( marks ) > 0 and not string.strip( marks[-1] ):
461 found = string.lower( m.group( 1 ) )
471 if len( string.strip( line ) ) > 0
    [all...]
sources.py 32 import fileinput, re, sys, os, string namespace
196 # or end of the string
286 l = string.strip( l )
  /external/libgdx/gdx/src/com/badlogic/gdx/utils/
XmlWriter.java 44 private final Array<String> stack = new Array();
45 private String currentElement;
61 public XmlWriter element (String name) throws IOException {
70 public XmlWriter element (String name, Object text) throws IOException {
83 public XmlWriter attribute (String name, Object value) throws IOException {
95 String string = text == null ? "null" : text.toString(); local
96 indentNextClose = string.length() > 64;
101 writer.write(string);
  /external/libxml2/
check-relaxng-test-suite.py 5 import string namespace
48 if string.find(URL, '#') != -1:
49 URL = URL[0:string.find(URL, '#')]
207 # resource handling: keep a dictionary of URL->string mappings
265 sections = node.xpathEval('string(section)')
check-relaxng-test-suite2.py 5 import string namespace
221 # resource handling: keep a dictionary of URL->string mappings
279 sections = node.xpathEval('string(section)')
check-xml-test-suite.py 5 import string namespace
348 content = string.strip(test.content)
366 string.find(profile, "IBM XML Conformance Test Suite - Production") < 0:
check-xsddata-test-suite.py 5 import string namespace
219 # resource handling: keep a dictionary of URL->string mappings
277 sections = node.xpathEval('string(section)')
genChRanges.py 19 import string namespace
75 line = string.strip(line)
80 fields = string.split(line, ' ')
124 pos = string.find(el, '..')
144 (first, last) = string.split(el, "..")
genUnicode.py 13 import string namespace
34 (blockfile, catfile) = string.split(sources)
52 line = string.strip(line)
56 fields = string.split(line, ';')
57 range = string.strip(fields[0])
58 (start, end) = string.split(range, "..")
59 name = string.strip(fields[1])
60 name = string.replace(name, ' ', '')
74 alias = string.split(block,':')
75 alist = string.split(alias[1],','
    [all...]
  /external/libxml2/os400/
xmlcatlgcl.c 11 #include <string.h>
15 /* Variable-length string, with 16-bit length. */
18 char string[5000]; member in struct:__anon16890
22 /* Variable-length string, with 32-bit length. */
25 char string[5000]; member in struct:__anon16891
85 if (len > sizeof(dst->string) - dst->len)
86 len = sizeof(dst->string) - dst->len;
89 memcpy(dst->string + dst->len, src, len);
117 vary4nappend(dst, arg->string, arg->len);
128 if (arg->string[i] == '\''
    [all...]
xmllintcl.c 11 #include <string.h>
15 /* Variable-length string, with 16-bit length. */
18 char string[5000]; member in struct:__anon16895
22 /* Variable-length string, with 32-bit length. */
25 char string[5000]; member in struct:__anon16896
69 if (len > sizeof(dst->string) - dst->len)
70 len = sizeof(dst->string) - dst->len;
73 memcpy(dst->string + dst->len, src, len);
101 vary4nappend(dst, arg->string, arg->len);
112 if (arg->string[i] == '\''
    [all...]
  /external/mesa3d/src/gallium/auxiliary/gallivm/
lp_bld_const.c 438 * Build a zero-terminated constant string.
446 LLVMValueRef string = LLVMAddGlobal(gallivm->module, LLVMArrayType(i8, len), ""); local
447 LLVMSetGlobalConstant(string, TRUE);
448 LLVMSetLinkage(string, LLVMInternalLinkage);
449 LLVMSetInitializer(string, LLVMConstStringInContext(gallivm->context, str, len, TRUE));
450 string = LLVMConstBitCast(string, LLVMPointerType(i8, 0));
451 return string;

Completed in 1546 milliseconds

<<11121314151617181920>>