OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:testStr
(Results
1 - 12
of
12
) sorted by null
/dalvik/tests/020-string/src/
Main.java
28
String
testStr
;
31
testStr
= baseStr.substring(4, baseStr.length() - 3);
32
System.out.println("
testStr
is '" +
testStr
+ "'");
35
for (i = 0; i <
testStr
.length(); i++)
36
System.out.print(
testStr
.charAt(i));
40
if (
testStr
.length() != testStr2.length())
43
System.out.println("Compare result is " +
testStr
.compareTo(testStr2));
51
testStr
.charAt(500);
/dalvik/tests/082-inline-execute/src/
Main.java
58
String
testStr
= "Now is the time";
60
int over =
testStr
.length();
63
int at0 =
testStr
.charAt(0);
64
int at1 =
testStr
.charAt(1);
65
int at10 =
testStr
.charAt(10);
66
int atLast =
testStr
.charAt(
testStr
.length()-1);
69
System.out.println(
testStr
+ "[0] = \"" + (char)at0 + "\"");
70
System.out.println(
testStr
+ "[1] = \"" + (char)at1 + "\"");
71
System.out.println(
testStr
+ "[10] = \"" + (char)at10 + "\"")
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/app/
SearchQueryResults.java
111
String
testStr
= appData.getString("demo_key");
112
mAppDataText.setText((
testStr
== null) ? "<no app data>" :
testStr
);
/external/icu4c/test/iotest/
strtst.c
249
UChar
testStr
[256];
254
UFILE *strFile = u_fstropen(
testStr
, sizeof(
testStr
)/sizeof(
testStr
[0]), "en_US");
264
u_austrcpy(cBuffer,
testStr
);
265
if (u_strcmp(
testStr
, uBuffer) != 0) {
289
u_austrcpy(cBuffer,
testStr
);
290
if (u_strcmp(
testStr
, uBuffer) != 0) {
297
strFile = u_fstropen(
testStr
, sizeof(
testStr
)/sizeof(testStr[0]), NULL)
[
all
...]
stream.cpp
71
static const char
testStr
[] = "\x42\x65\x67\x69\x6E\x6E\x69\x6E\x67\x20\x6F\x66\x20\x74\x65\x73\x74\x20\x73\x74\x72\x31\x20\x20\x20\x3C\x3C\x32\x31\x20" UTF8_NEW_LINE "\x20\x55\x54\x46\x2D\x38\x20\xCE\xBC\xF0\x90\x80\x81\xF0\x90\x80\x82";
107
if (strcmp(testStreamBuf,
testStr
) != 0) {
108
log_err("Got: \"%s\", Expected: \"%s\"\n", testStreamBuf,
testStr
);
filetst.c
434
static const char
testStr
[] = "This is a test string that tests u_fgets. It makes sure that we don't try to read too much!";
436
int32_t expectedSize = (int32_t)strlen(
testStr
);
455
u_uastrncpy(buffer,
testStr
, expectedSize+1);
497
u_uastrncpy(buffer,
testStr
, expectedSize+1);
539
u_uastrncpy(buffer,
testStr
, expectedSize+1);
591
static const char
testStr
[] = "This is a test string that tests u_fgets. It makes sure that we don't try to read too much!";
594
int32_t expectedSize = (int32_t)strlen(
testStr
);
605
fwrite(
testStr
, sizeof(
testStr
[0]), expectedSize, stdFile);
607
fwrite("\n", sizeof(
testStr
[0]), 1, stdFile)
[
all
...]
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
SmsMessageBodyTest.java
281
String
testStr
= sb.toString();
286
callGsmLengthMethods(
testStr
, false, values);
287
callGsmLengthMethods(
testStr
, true, values);
288
callCdmaLengthMethods(
testStr
, false, values);
289
callCdmaLengthMethods(
testStr
, true, values);
315
String
testStr
= sb.toString();
322
callGsmLengthMethods(
testStr
, false, values);
323
callCdmaLengthMethods(
testStr
, false, values);
324
callGsmLengthMethods(
testStr
, true, values7bit);
325
callCdmaLengthMethods(
testStr
, true, values7bit)
[
all
...]
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DeflaterInputStreamTest.java
31
String
testStr
= "Hi,this is a test";
135
is = new ByteArrayInputStream(
testStr
.getBytes("UTF-8"));
258
is = new ByteArrayInputStream(
testStr
.getBytes("UTF-8"));
287
is = new ByteArrayInputStream(
testStr
.getBytes("UTF-8"));
378
is = new ByteArrayInputStream(
testStr
.getBytes("UTF-8"));
/cts/tests/tests/widget/src/android/widget/cts/
FilterTest.java
56
final String
testStr
= "Test";
57
assertEquals(
testStr
, filter.convertResultToString(
testStr
));
/external/icu4c/test/intltest/
canittst.cpp
153
UnicodeString
testStr
= CharsToUnicodeString(testArray[i][0]);
154
it.setSource(
testStr
, status);
166
expectEqual(i + ": ",
testStr
, collectionToString(set), CharsToUnicodeString(testArray[i][1]));
/external/icu4c/test/cintltst/
reapits.c
[
all
...]
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
SocketChannelTest.java
[
all
...]
Completed in 637 milliseconds