/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
Arrays2Test.java | 367 String[] strings = new String[] { "a", "B", "c", "D" }; local 368 Arrays.sort(strings, String.CASE_INSENSITIVE_ORDER); 369 assertEquals(0, Arrays.binarySearch(strings, "a", 371 assertEquals(0, Arrays.binarySearch(strings, "A", 373 assertEquals(1, Arrays.binarySearch(strings, "b", 375 assertEquals(1, Arrays.binarySearch(strings, "B", 377 assertEquals(2, Arrays.binarySearch(strings, "c", 379 assertEquals(2, Arrays.binarySearch(strings, "C", 381 assertEquals(3, Arrays.binarySearch(strings, "d", 383 assertEquals(3, Arrays.binarySearch(strings, "D" [all...] |
/developers/build/templates/SingleView/_MODULE_/src/template/res/values/ |
strings.xml.ftl | 18 <#if (sample.strings.sample_action)?is_string> 19 <string name="sample_action">${sample.strings.sample_action}</string> 21 <string name="sample_action">TODO: Add strings/!sample_action!</string>
|
/external/icu/icu4c/source/common/ |
unisetspan.h | 26 * Implement span() etc. for a set with strings. 65 * Do the strings need to be checked in span() etc.? 66 * @return TRUE if strings need to be checked (call span() here), 101 // Set for span(). Same as parent but without strings. 105 // Same as spanSet, plus characters that start or end strings. 108 // The strings of the parent set. 109 const UVector &strings; member in class:UnicodeSetStringSpan 121 // the UTF-8 versions of the parent set's strings. 124 // Number of bytes for all UTF-8 versions of strings together. 127 // Maximum lengths of relevant strings [all...] |
/bionic/tests/ |
strings_test.cpp | 21 #include <strings.h> 23 TEST(strings, ffs) { 35 TEST(strings, strcasecmp) { 41 TEST(strings, strcasecmp_l) { 49 TEST(strings, strncasecmp) { 56 TEST(strings, strncasecmp_l) {
|
/external/e2fsprogs/po/ |
Makevars | 15 # package. (Note that the msgstr strings, extracted from the package's 24 # bugs in the untranslated strings: 25 # - Strings which are not entire sentences, see the maintainer guidelines 26 # in the GNU gettext documentation, section 'Preparing Strings'. 27 # - Strings which use unclear terms or require additional context to be 29 # - Strings which make invalid assumptions about notation of date, time or
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
MonitorBenchmark.java | 38 private String[] strings; field in class:MonitorBenchmark 49 strings = new String[capacity]; 51 strings[i] = String.valueOf(Math.random()); 58 String[] strings = this.strings; local 61 queue.add(strings[j]);
|
/external/libexif/po/ |
Makevars | 15 # package. (Note that the msgstr strings, extracted from the package's 24 # bugs in the untranslated strings: 25 # - Strings which are not entire sentences, see the maintainer guidelines 26 # in the GNU gettext documentation, section 'Preparing Strings'. 27 # - Strings which use unclear terms or require additional context to be 29 # - Strings which make invalid assumptions about notation of date, time or
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
ksdebug.h | 103 # define _DbgPrintFEx(component, lvl, strings) { \ 106 DbgPrintEx(component, lvl, strings); \ 115 # define _DbgPrintF(lvl, strings) { \ 118 DbgPrint##strings; \ 128 #define _DbgPrintF(lvl, strings) 131 #define _DbgPrintFEx(component, lvl, strings)
|
strings.h | 7 File: strings.h 11 that belong in strings.h. These functions are provided for in the OLDNAME
|
/external/libpng/projects/visualc71/ |
PRJ0041.mak | 9 $(IntDir)\strings.h \ 18 $(IntDir)\strings.h \
|
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseLocaleTest.java | 35 private static final String[] STRINGS = { 54 for (String s : STRINGS) { 75 assertEquals(STRINGS.length, result.length); 84 MoreAsserts.assertEquals(STRINGS, results); 99 STRINGS[4], // "boy" 100 STRINGS[0], // sundry forms of "cote" 101 STRINGS[1], 102 STRINGS[2], 103 STRINGS[3], 104 STRINGS[6], // "COTE [all...] |
/external/emma/core/java12/com/vladium/util/ |
Strings.java | 7 * $Id: Strings.java,v 1.1.1.1 2004/05/09 16:57:55 vlad_r Exp $ 24 abstract class Strings 33 public static String toListForm (final String [] strings, final char delimiter) 35 if (strings == null) return null; 36 if (strings.length == 0) return ""; 39 for (int i = 0, iLimit = strings.length; i < iLimit; ++ i) 42 s.append (strings [i]); 48 public static String [] removeDuplicates (final String [] strings, final boolean removeNull) 50 if (strings == null) return strings; [all...] |
/external/llvm/tools/llvm-go/ |
llvm-go.go | 24 "strings" 80 outstr = strings.TrimSuffix(outstr, "\n") 81 return strings.Replace(outstr, "\n", " ", -1) 102 if strings.HasPrefix(a, "-tags=") { 117 fmt.Println(strings.Join(components, " ")) 167 newgopath := strings.Join(newgopathlist, string(filepath.ListSeparator)) 185 if !strings.HasPrefix(v, "CC=") && 186 !strings.HasPrefix(v, "CXX=") && 187 !strings.HasPrefix(v, "CGO_CPPFLAGS=") && 188 !strings.HasPrefix(v, "CGO_CXXFLAGS=") & [all...] |
/cts/tests/leanbackjank/app/src/android/cts/jank/leanback/ |
IntentKeys.java | 4 * Intent key strings of the leanback jank test helper app.
|
/development/samples/browseable/BasicContactables/ |
_index.jd | 9 \n\nQuery strings sent to the Contactables table will match both contact names and phone numbers,
|
/external/bzip2/ |
entities.xml | 1 <!-- misc. strings -->
|
/external/chromium-libpac/test/ |
README | 2 to a header file containing strings for use with testing.
|
/external/clang/test/CodeCompletion/ |
objc-expr.m | 7 // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fno-const-strings -o - | FileCheck -check-prefix=CHECK-AT %s 16 // RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fconst-strings -o - | FileCheck -check-prefix=CHECK-CONST-STRINGS %s 17 // CHECK-CONST-STRINGS: COMPLETION: Pattern : [#const char[]#]encode(<#type-name#>)
|
/external/clang/test/Sema/ |
warn-write-strings.c | 1 // RUN: %clang_cc1 -verify -fsyntax-only -fconst-strings %s
|
/external/jemalloc/include/msvc_compat/ |
strings.h | 4 /* MSVC doesn't define ffs/ffsl. This dummy strings.h header is provided
|
/external/lldb/test/expression_command/test/ |
main.cpp | 30 expression puts("bonjour") // Test constant strings... 31 expression printf("\t\x68\n") // Test constant strings that contain the \xXX (TAB, 'h', '\n' should be printed) (this is broken: <rdar://problem/8686536>) 32 expression printf("\"\n") // Test constant strings that contains an escaped double quote char (this is broken: <rdar://problem/8686536>) 33 expression printf("\'\n") // Test constant strings that contains an escaped single quote char (this is broken: <rdar://problem/8686536>)
|
/external/llvm/test/Assembler/ |
2002-07-25-QuoteInString.ll | 1 ; Test double quotes in strings work correctly!
|
2004-10-22-BCWriterUndefBug.ll | 2 ;; they looked like strings.
|
/external/llvm/test/MC/ELF/ |
section-quoting.s | 3 // Test that we handle the strings like gas
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
StringsTest.java | 14 assertEquals("some random string", Strings.fromStream(stream));
|