OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:optString
(Results
1 - 10
of
10
) sorted by null
/dalvik/libcore/json/src/test/java/org/json/
SelfUseTest.java
71
@Override public String
optString
(String key, String defaultValue) {
73
return super.
optString
(key, defaultValue);
102
@Override public String
optString
(int index, String fallback) {
104
return super.
optString
(index, fallback);
153
object.
optString
("foo");
200
array.
optString
(3);
JSONArrayTest.java
99
assertEquals("true", array.
optString
(2));
100
assertEquals("false", array.
optString
(3, "x"));
157
assertEquals("null", array.
optString
(0));
158
assertEquals("", array.
optString
(1));
159
assertEquals("", array.
optString
(2));
160
assertEquals("", array.
optString
(3));
252
assertEquals("5.5", array.
optString
(1));
253
assertEquals("9223372036854775806", array.
optString
(2, null));
254
assertEquals("null", array.
optString
(3, "-1"));
506
assertEquals("", array.
optString
(3))
[
all
...]
JSONObjectTest.java
94
assertEquals("", object.
optString
("foo")); // empty string is default!
95
assertEquals("bar", object.
optString
("foo", "bar"));
396
assertEquals("5.5", object.
optString
("bar"));
397
assertEquals("true", object.
optString
("foo", "x"));
824
assertEquals("", object.
optString
(null));
829
assertEquals("baz", object.
optString
(null, "baz"));
/dalvik/libcore/json/src/main/java/org/json/
JSONArray.java
433
public String
optString
(int index) {
434
return
optString
(index, "");
441
public String
optString
(int index, String fallback) {
JSONObject.java
522
public String
optString
(String name) {
523
return
optString
(name, "");
530
public String
optString
(String name, String fallback) {
/external/oprofile/libpopt/
popt.c
735
char * localOptString, *
optString
;
766
localOptString =
optString
=
769
if (
optString
[0] == '\0')
772
if (
optString
[1] == '-' && !
optString
[2]) {
779
optString
++;
780
if (*
optString
== '-')
781
singleDash = 0,
optString
++;
786
if (handleAlias(con,
optString
, '\0', NULL))
789
if (handleExec(con,
optString
, '\0')
[
all
...]
/external/webkit/JavaScriptCore/tests/mozilla/js1_6/
shell.js
370
var
optString
= options();
371
if (
optString
)
373
var optList =
optString
.split(',');
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/7/
android.jar
/prebuilt/sdk/8/
android.jar
Completed in 1110 milliseconds