HomeSort by relevance Sort by last modified time
    Searched defs:string (Results 651 - 675 of 3176) sorted by null

<<21222324252627282930>>

  /external/freetype/src/sfnt/
sfobjs.c 60 FT_String* string = NULL; local
62 FT_Byte* read = (FT_Byte*)entry->string;
68 if ( FT_NEW_ARRAY( string, len + 1 ) )
81 string[n] = (char)code;
84 string[n] = 0;
86 return string;
95 FT_String* string = NULL; local
97 FT_Byte* read = (FT_Byte*)entry->string;
103 if ( FT_NEW_ARRAY( string, len + 1 ) )
116 string[n] = (char)code
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ImmutableListMultimapTest.java 42 protected ListMultimap<String, String> create(Entry<String, String>[] entries) {
43 ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder();
44 for (Entry<String, String> entry : entries) {
52 ImmutableListMultimap<String, Integer> multimap = new Builder<String, Integer>(
73 String string; field in class:ImmutableListMultimapTest.StringHolder
    [all...]
ImmutableMapTest.java 79 public static class MapTests extends AbstractMapTests<String, Integer> {
80 @Override protected Map<String, Integer> makeEmptyMap() {
84 @Override protected Map<String, Integer> makePopulatedMap() {
88 @Override protected String getKeyNotInPopulatedMap() {
98 extends AbstractMapTests<String, Integer> {
99 @Override protected Map<String, Integer> makePopulatedMap() {
103 @Override protected String getKeyNotInPopulatedMap() {
139 ImmutableMap<String, Integer> map
140 = new Builder<String, Integer>().build();
141 assertEquals(Collections.<String, Integer>emptyMap(), map)
185 String string; field in class:ImmutableMapTest.CreationTests.StringHolder
    [all...]
ImmutableSetMultimapTest.java 41 ImmutableSetMultimap<String, Integer> multimap = new Builder<String, Integer>()
48 Builder<String, Integer> builder = new Builder<String, Integer>();
55 builder.put(Maps.immutableEntry((String) null, 1));
62 String string; field in class:ImmutableSetMultimapTest.StringHolder
66 ImmutableSetMultimap.Builder<String, Integer> builder =
67 new Builder<String, Integer>();
69 holder.string = "one"
    [all...]
  /external/guava/guava-testlib/src/com/google/common/testing/
FreshValueGenerator.java 156 * {@code ImmutableList<String>};
252 @Override public String toString() {
276 private static String paramString(Class<?> type, int i) {
389 @Generates private String freshString() {
444 final String string = paramString(Equivalence.class, freshInt()); field in class:FreshValueGenerator
445 @Override public String toString() {
446 return string;
456 final String string = paramString(CharMatcher.class, freshInt())
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableListMultimapTest.java 51 protected ListMultimap<String, String> create(Entry<String, String>[] entries) {
52 ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder();
53 for (Entry<String, String> entry : entries) {
76 ImmutableListMultimap<String, Integer> multimap = new Builder<String, Integer>(
97 String string; field in class:ImmutableListMultimapTest.StringHolder
    [all...]
ImmutableSetMultimapTest.java 55 protected SetMultimap<String, String> create(Entry<String, String>[] entries) {
56 ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builder();
57 for (Entry<String, String> entry : entries) {
74 ImmutableSetMultimap<String, Integer> multimap = new Builder<String, Integer>(
95 String string; field in class:ImmutableSetMultimapTest.StringHolder
    [all...]
  /external/guava/guava-tests/test/com/google/common/hash/
HashCodeTest.java 96 String expectedToString = "cdab0000";
213 String string = HashCode.fromBytes(expected.bytes).toString(); local
214 assertEquals(expected.toString, string);
218 BaseEncoding.base16().lowerCase().decode(string)).toString());
231 String string = Hashing.sha1().hashString("foo", Charsets.US_ASCII).toString().toUpperCase(); local
233 HashCode.fromString(string);
342 .setDistinctValues(String.class, "7f8005ff0e", "7f8005ff0f")
389 final String toString
    [all...]
HashTestUtils.java 44 * Converts a string, which should contain only ascii-representable characters, to a byte[].
46 static byte[] ascii(String string) {
47 byte[] bytes = new byte[string.length()];
48 for (int i = 0; i < string.length(); i++) {
49 bytes[i] = (byte) string.charAt(i);
181 String s = new String(value);
189 String s = new String(new char[] { randomLowSurrogate(random) })
539 String string = new String(bytes); local
560 String string = new String(chars); local
    [all...]
  /external/guice/core/test/com/google/inject/
CircularDependencyTest.java 421 @Override public String toString() {
441 @Override public String toString() {
487 @Provides String provideString(Bar bar) {
488 return new String("private 1, " + bar.string);
497 @Provides String provideString() {
498 return new String("private 2");
504 assertEquals("private 1, private 2", foo.string);
507 @Inject String string; field in class:CircularDependencyTest.Foo
510 @Inject String string; field in class:CircularDependencyTest.Bar
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
UnicodeSetStringSpan.java 51 * All code points in the string are contained in the parent set.
67 private ArrayList<String> strings;
69 /** The lengths of span(), spanBack() etc. for each string. */
88 public UnicodeSetStringSpan(final UnicodeSet set, final ArrayList<String> setStrings, int which) {
91 // as a NavigableSet<String>, rather than as an ArrayList copy of the set of strings.
106 // If any string is relevant, then all strings need to be used for
118 String string = strings.get(i); local
119 int length16 = string.length();
120 spanLength = spanSet.span(string, SpanCondition.CONTAINED)
162 String string = strings.get(i); local
408 String string = strings.get(i); local
448 String string = strings.get(i); local
581 String string = strings.get(i); local
618 String string = strings.get(i); local
678 String string = strings.get(i); local
719 String string = strings.get(i); local
875 String string = strings.get(i); local
922 String string = strings.get(i); local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
TrieMapTest.java 49 private Map<String, Integer> unicodeTestMap = new HashMap<String, Integer>();
74 for (String s : testSet) {
76 String extendedName = UCharacter.getExtendedName(codePoint);
87 String localeName;
88 for (String languageCode : ULocale.getISOLanguages()) {
97 for (String countryCode : ULocale.getISOCountries()) {
108 for (String key : unicodeTestMap.keySet()) {
120 for (Entry<String, Integer> entry : unicodeTestMap.entrySet()) {
121 String source = entry.getKey()
265 String string = "xabcdab abcde abdfg"; local
    [all...]
  /external/icu/icu4c/source/i18n/
ucol_sit.cpp 89 * from a short string. Also used to construct a short string from a
147 /* function prototype for functions used to parse a short string */
150 ActionFunction(CollatorSpec *spec, uint32_t value1, const char* string,
156 _processLocaleElement(CollatorSpec *spec, uint32_t value, const char* string,
162 spec->locElements[value][len++] = uprv_tolower(*string);
164 spec->locElements[value][len++] = *string;
166 } while(*(++string) != '_' && *string && len < locElementCapacity);
169 return string;
523 const char *string = definition; local
    [all...]
  /external/icu/icu4c/source/test/cintltst/
crestst.c 257 const UChar* string = NULL; local
358 /* string */
368 string= kERROR;
376 string=ures_getStringByKey(theBundle, tag, &resultLen, &status);
396 CONFIRM_EQ(string, expected_string);
689 log_err("unable to access the string \"%s\" at %d in testdata/testtable32.res - %s\n",
713 log_err("\"%s\" at %d in testdata/testtable32.res has a string/int value of %d, expected %d\n",
731 log_err("unable to access the string \"%s\" in testdata/testtable32.res - %s\n",
755 log_err("\"%s\" in testdata/testtable32.res has a string/int value of %d, expected %d\n",
904 { "emptystring", 1}, /* empty string is still a string *
    [all...]
custrtst.c 18 * Tests of ustring.h Unicode string API functions.
26 #include <string.h>
61 /* First String */
63 /* Second String */
66 /* Concatenated string */
271 log_err("u_strchr can't find '_' in the string\n");
276 log_err("u_strchr32 can't find '_' in the string\n");
281 log_err("u_strchr can't find NULL in the string\n");
286 log_err("u_strchr32 can't find NULL in the string\n");
291 log_err("u_memchr can't find NULL in the string\n")
1137 static const UChar string[]={ local
    [all...]
  /external/icu/icu4c/source/test/intltest/
restsnew.cpp 18 #include <string.h>
48 * Convert an integer, positive or negative, to a character string radix 10.
72 // Reverse the string
604 // Check that ures_getUnicodeString() & variants return a bogus string if failure.
714 // string
726 UnicodeString string = theBundle.getStringEx(tag, status); local
728 string.setTo(TRUE, kErrorUChars, kErrorLength);
738 CONFIRM_EQ(string, expected_string);
790 string = kErrorUChars;
795 string=t
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
UnicodeSetStringSpan.java 47 * All code points in the string are contained in the parent set.
63 private ArrayList<String> strings;
65 /** The lengths of span(), spanBack() etc. for each string. */
84 public UnicodeSetStringSpan(final UnicodeSet set, final ArrayList<String> setStrings, int which) {
87 // as a NavigableSet<String>, rather than as an ArrayList copy of the set of strings.
102 // If any string is relevant, then all strings need to be used for
114 String string = strings.get(i); local
115 int length16 = string.length();
116 spanLength = spanSet.span(string, SpanCondition.CONTAINED)
158 String string = strings.get(i); local
404 String string = strings.get(i); local
444 String string = strings.get(i); local
577 String string = strings.get(i); local
614 String string = strings.get(i); local
674 String string = strings.get(i); local
715 String string = strings.get(i); local
871 String string = strings.get(i); local
918 String string = strings.get(i); local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
TrieMapTest.java 46 private Map<String, Integer> unicodeTestMap = new HashMap<String, Integer>();
71 for (String s : testSet) {
73 String extendedName = UCharacter.getExtendedName(codePoint);
84 String localeName;
85 for (String languageCode : ULocale.getISOLanguages()) {
94 for (String countryCode : ULocale.getISOCountries()) {
105 for (String key : unicodeTestMap.keySet()) {
117 for (Entry<String, Integer> entry : unicodeTestMap.entrySet()) {
118 String source = entry.getKey()
262 String string = "xabcdab abcde abdfg"; local
    [all...]
  /external/iproute2/tc/
f_flower.c 16 #include <string.h>
149 char *string; member in struct:flag_to_string
179 if (!strcmp(token, flags_str[i].string)) {
1061 fprintf(f, "%s", flags_str[i].string);
1063 fprintf(f, "no%s", flags_str[i].string);
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
JavaParserClassDeclarationTest.java 56 private ResolvedReferenceType string; field in class:JavaParserClassDeclarationTest
76 string = new ReferenceTypeImpl(ts.solveType(String.class.getCanonicalName()), ts);
494 assertEquals(string, classDeclaration.getAllFields().get(0).getType());
495 assertEquals(string, rtClassDeclaration.getFieldType("s").get());
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
ReferenceTypeTest.java 47 private ReferenceTypeImpl string; field in class:ReferenceTypeTest
54 string = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolver);
60 ImmutableList.of(new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolver)), typeSolver);
63 ImmutableList.of(new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolver)), typeSolver);
66 ImmutableList.of(new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolver)), typeSolver);
69 ImmutableList.of(ResolvedWildcard.extendsBound(string)), typeSolver);
72 ImmutableList.of(ResolvedWildcard.superBound(string)), typeSolver);
87 assertEquals(false, string.isArray());
95 assertEquals(false, string.isPrimitive())
452 ResolvedType string = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeResolver), typeResolver); local
488 ResolvedType string = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeResolver), typeResolver); local
504 ResolvedType string = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeResolver), typeResolver); local
520 ResolvedType string = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeResolver), typeResolver); local
538 ResolvedType string = new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeResolver), typeResolver); local
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/reflectionmodel/
ReflectionClassDeclarationTest.java 47 class Bar extends Foo<String> {
94 class Bar extends Foo<String> {
104 assertEquals(String.class.getCanonicalName(), bar.getSuperClass().typeParametersValues().get(0).asReferenceType().getQualifiedName());
134 class Bar extends Foo<String> {
151 class Bar extends Foo<String> {
165 assertEquals(String.class.getCanonicalName(), barField.getType().asReferenceType().getQualifiedName());
171 ResolvedReferenceTypeDeclaration string = new ReflectionClassDeclaration(String.class, typeResolver); local
172 List<ResolvedMethodDeclaration> methods = string.getDeclaredMethods().stream()
189 assertEquals("java.lang.String", methods.get(6).getParam(0).getType().describe())
232 ResolvedClassDeclaration string = new ReflectionClassDeclaration(String.class, typeResolver); local
242 ResolvedClassDeclaration string = new ReflectionClassDeclaration(String.class, typeResolver); local
251 ResolvedClassDeclaration string = new ReflectionClassDeclaration(String.class, typeResolver); local
260 ResolvedClassDeclaration string = new ReflectionClassDeclaration(String.class, typeResolver); local
    [all...]
  /external/javassist/src/main/javassist/bytecode/analysis/
Type.java 130 private static Type lookupType(String name) {
208 String name = clazz.getName();
323 String name = arrayName(rootComponent.clazz.getName(), dims);
335 String arrayName(String component, int dims) {
340 char[] string = new char[size]; local
341 component.getChars(0, i, string, 0);
343 string[i++] = '[';
344 string[i++] = ']';
346 component = new String(string)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_disasm.c 24 #include <string.h>
604 string(FILE *file, const char *string) function
606 fputs(string, file);
607 column += strlen(string);
623 string(f, buf);
639 string(f, " ");
654 string(file, " ");
655 string(file, ctrl[id]);
671 string(file, desc->name)
    [all...]
  /external/python/cpython2/Modules/
stropmodule.c 8 "Common string manipulations, optimized for speed.\n"
10 "Always use \"import string\" rather than referencing\n"
17 "strop functions are obsolete; use string methods")) \
89 "Return a list of the words in the string s, using sep as the\n"
90 "delimiter string. If maxsplit is nonzero, splits into at most\n"
91 "maxsplit words. If sep is not specified, any whitespace string\n"
157 "join(list [,sep]) -> string\n"
158 "joinfields(list [,sep]) -> string\n"
160 "Return a string composed of the words in list, with\n"
415 "strip(s) -> string\n
598 char* string; local
    [all...]

Completed in 680 milliseconds

<<21222324252627282930>>