Home
last modified time | relevance | path

Searched refs:stringValue (Results 1 – 25 of 153) sorted by relevance

1234567

/external/smali/dexlib/src/main/java/org/jf/dexlib/
DStringDataItem.java39 private String stringValue; field in StringDataItem
54 private StringDataItem(DexFile dexFile, String stringValue) { in StringDataItem() argument
57 this.stringValue = stringValue; in StringDataItem()
89 stringValue = in.realNullTerminatedUtf8String(); in readItem()
94 return offset + Leb128Utils.unsignedLeb128Size(stringValue.length()) + in placeItem()
95 Utf8Utils.stringToUtf8Bytes(stringValue).length + 1; in placeItem()
100 byte[] encodedValue = Utf8Utils.stringToUtf8Bytes(stringValue); in writeItem()
102 …out.annotate("string_size: 0x" + Integer.toHexString(stringValue.length()) + " (" + stringValue.le… in writeItem()
104 out.writeUnsignedLeb128(stringValue.length()); in writeItem()
106 ….annotate(encodedValue.length + 1, "string_data: \"" + Utf8Utils.escapeString(stringValue) + "\""); in writeItem()
[all …]
DStringIdItem.java66 public static StringIdItem internStringIdItem(DexFile dexFile, String stringValue) { in internStringIdItem() argument
67 StringDataItem stringDataItem = StringDataItem.internStringDataItem(dexFile, stringValue); in internStringIdItem()
83 public static StringIdItem lookupStringIdItem(DexFile dexFile, String stringValue) { in lookupStringIdItem() argument
84 StringDataItem stringDataItem = StringDataItem.lookupStringDataItem(dexFile, stringValue); in lookupStringIdItem()
/external/webkit/LayoutTests/fast/xpath/4XPath/Core/
Dtest_literal_expr-expected.txt1 PASS document.evaluate('""', document, null, XPathResult.STRING_TYPE, null).stringValue is ""
2 PASS document.evaluate('"Hi"', document, null, XPathResult.STRING_TYPE, null).stringValue is "Hi"
3 PASS document.evaluate('"NaN"', document, null, XPathResult.STRING_TYPE, null).stringValue is "NaN"
4 …ate('"• = middle dot"', document, null, XPathResult.STRING_TYPE, null).stringValue is "• = middle …
5 PASS document.evaluate('"0"', document, null, XPathResult.STRING_TYPE, null).stringValue is "0"
6 PASS document.evaluate('"1"', document, null, XPathResult.STRING_TYPE, null).stringValue is "1"
7 PASS document.evaluate('"2"', document, null, XPathResult.STRING_TYPE, null).stringValue is "2"
8 PASS document.evaluate('"3"', document, null, XPathResult.STRING_TYPE, null).stringValue is "3"
9 PASS document.evaluate('"4"', document, null, XPathResult.STRING_TYPE, null).stringValue is "4"
10 PASS document.evaluate('"5"', document, null, XPathResult.STRING_TYPE, null).stringValue is "5"
[all …]
Dtest_core_functions-expected.txt10 PASS DOM.evaluate("local-name(/empty)", CHILD1, null, XPathResult.ANY_TYPE, null).stringValue is ""
11 …e("local-name(//f:CHILD3)", CHILD1, nsResolver, XPathResult.ANY_TYPE, null).stringValue is "CHILD3"
12 PASS DOM.evaluate("namespace-uri(/empty)", CHILD1, null, XPathResult.ANY_TYPE, null).stringValue is…
13 …pace-uri(//f:CHILD3)", CHILD1, nsResolver, XPathResult.ANY_TYPE, null).stringValue is "http://foo.…
14 PASS DOM.evaluate("name(//f:CHILD3)", CHILD1, nsResolver, XPathResult.ANY_TYPE, null).stringValue i…
15 PASS DOM.evaluate("string(//CHILD1)", CHILD1, null, XPathResult.ANY_TYPE, null).stringValue is strN…
16 …at(//CHILD1, '3.14', 'Hi')", CHILD1, null, XPathResult.ANY_TYPE, null).stringValue is strNodeset3 …
23 …"substring-before('3.14Hi', 'Hi')", CHILD1, null, XPathResult.ANY_TYPE, null).stringValue is "3.14"
24 …luate("substring-before('3.14Hi', '')", CHILD1, null, XPathResult.ANY_TYPE, null).stringValue is ""
25 …("substring-after('3.14Hi', '3.14')", CHILD1, null, XPathResult.ANY_TYPE, null).stringValue is "Hi"
[all …]
/external/webkit/LayoutTests/fast/xpath/
Dstring-value-expected.txt1 PASS doc.evaluate('.', doc, null, XPathResult.STRING_TYPE, null).stringValue is '0 1a-cdata-b2'
2 PASS doc.evaluate('.', doc.documentElement, null, XPathResult.STRING_TYPE, null).stringValue is '0 …
3 PASS doc.evaluate('.', PI, null, XPathResult.STRING_TYPE, null).stringValue is '"Data" '
4 PASS doc.evaluate('.', COMMENT, null, XPathResult.STRING_TYPE, null).stringValue is ' comment '
5 PASS doc.evaluate('.', CDATA, null, XPathResult.STRING_TYPE, null).stringValue is '-cdata-'
6 PASS doc.evaluate('.', TEXT, null, XPathResult.STRING_TYPE, null).stringValue is '0 '
7 PASS doc.evaluate('.', EMPTY, null, XPathResult.STRING_TYPE, null).stringValue is ''
8 PASS doc.evaluate('.', ATTR, null, XPathResult.STRING_TYPE, null).stringValue is '<&nbsp;>'
Devaluate-twice-expected.txt1 PASS expr.evaluate(doc.documentElement.firstChild, XPathResult.STRING_TYPE, null).stringValue is '1'
2 …luate(doc.documentElement.firstChild.nextSibling, XPathResult.STRING_TYPE, null).stringValue is '1'
3 PASS expr.evaluate(doc.documentElement.firstChild, XPathResult.STRING_TYPE, null).stringValue is '1'
4 …luate(doc.documentElement.firstChild.nextSibling, XPathResult.STRING_TYPE, null).stringValue is '2'
5 PASS expr.evaluate(doc.documentElement.firstChild, XPathResult.STRING_TYPE, null).stringValue is '1'
6 …luate(doc.documentElement.firstChild.nextSibling, XPathResult.STRING_TYPE, null).stringValue is '2'
Dsubstring-after-expected.txt3 …("substring-after('abcde', 'd')", document, null, XPathResult.STRING_TYPE, null).stringValue is 'e'
4 …e("substring-after('abcde', 'f')", document, null, XPathResult.STRING_TYPE, null).stringValue is ''
5 …ubstring-after('abcde', '')", document, null, XPathResult.STRING_TYPE, null).stringValue is 'abcde'
6 …ng-after('1999/04/01', '/')", document, null, XPathResult.STRING_TYPE, null).stringValue is '04/01'
7 …fter('1999/04/01', '19')", document, null, XPathResult.STRING_TYPE, null).stringValue is '99/04/01'
Dsubstring-non-positive-postion-expected.txt3 …uate("substring('abcde', 0)", document, null, XPathResult.STRING_TYPE, null).stringValue is 'abcde'
4 …ate("substring('abcde', -2)", document, null, XPathResult.STRING_TYPE, null).stringValue is 'abcde'
5 …te("substring('abcde', 0, 5)", document, null, XPathResult.STRING_TYPE, null).stringValue is 'abcd'
6 …ate("substring('abcde', -2, 5)", document, null, XPathResult.STRING_TYPE, null).stringValue is 'ab'
Dsubstring-nan-position-expected.txt3 …ubstring('12345', number('NaN'))", document, null, XPathResult.STRING_TYPE, null).stringValue is ''
4 …tring('12345', number('NaN'), 3)", document, null, XPathResult.STRING_TYPE, null).stringValue is ''
5 …45', number('NaN'), -2147483645)", document, null, XPathResult.STRING_TYPE, null).stringValue is ''
6 …', number('NaN'), number('NaN'))", document, null, XPathResult.STRING_TYPE, null).stringValue is ''
/external/chromium/chrome/browser/ui/cocoa/
Dabout_window_controller_unittest.mm97 stringValue];
99 ASSERT_NSNE(lastText, [[about_window_controller_ updateText] stringValue]);
101 lastText = [[about_window_controller_ updateText] stringValue];
103 ASSERT_NSEQ(lastText, [[about_window_controller_ updateText] stringValue]);
105 lastText = [[about_window_controller_ updateText] stringValue];
107 ASSERT_NSNE(lastText, [[about_window_controller_ updateText] stringValue]);
109 lastText = [[about_window_controller_ updateText] stringValue];
111 ASSERT_NSNE(lastText, [[about_window_controller_ updateText] stringValue]);
113 lastText = [[about_window_controller_ updateText] stringValue];
115 ASSERT_NSNE(lastText, [[about_window_controller_ updateText] stringValue]);
[all …]
/external/webkit/Source/WebCore/bridge/jni/jsc/
DJNIUtilityPrivate.cpp66 UString stringValue = item.toString(exec); in convertArrayInstanceToJavaArray() local
68 … env->functions->NewString(env, (const jchar *)stringValue.characters(), stringValue.length())); in convertArrayInstanceToJavaArray()
101 UString stringValue = item.toString(exec); in convertArrayInstanceToJavaArray() local
103 if (stringValue.length() > 0) in convertArrayInstanceToJavaArray()
104 value = ((const jchar*)stringValue.characters())[0]; in convertArrayInstanceToJavaArray()
222 UString stringValue = asString(value)->value(exec); in convertValueToJValue() local
224 …javaString = env->functions->NewString(env, (const jchar*)stringValue.characters(), stringValue.le… in convertValueToJValue()
241 UString stringValue = "undefined"; in convertValueToJValue() local
243 …javaString = env->functions->NewString(env, (const jchar*)stringValue.characters(), stringValue.le… in convertValueToJValue()
252 UString stringValue = value.toString(exec); in convertValueToJValue() local
[all …]
DJavaInstanceJSC.cpp88 JSValue JavaInstance::stringValue(ExecState* exec) const in stringValue() function in JavaInstance
92 …jstring stringValue = (jstring)callJNIMethod<jobject>(m_instance->m_instance, "toString", "()Ljava… in stringValue() local
95 if (!stringValue) in stringValue()
99 const jchar* c = getUCharactersFromJStringInEnv(env, stringValue); in stringValue()
100 UString u((const UChar*)c, (int)env->GetStringLength(stringValue)); in stringValue()
101 releaseUCharactersForJStringInEnv(env, stringValue, c); in stringValue()
317 return stringValue(exec); in defaultValue()
322 return stringValue(exec); in defaultValue()
332 return stringValue(exec); in valueOf()
/external/icu4c/samples/udata/
Dwriter.c63 char stringValue[]={'E', 'X', 'A', 'M', 'P', 'L', 'E', '\0'}; in main() local
91 printf("Writing string value of %s\n", stringValue); in main()
92 udata_writeString(pData, stringValue, sizeof(stringValue)); in main()
100 size=sizeof(stringValue) + sizeof(intValue); in main()
/external/webkit/Source/WebCore/bridge/
Dnpruntime.cpp87 variant->value.stringValue.UTF8Length = value->UTF8Length; in NPN_InitializeVariantWithStringCopy()
88 … variant->value.stringValue.UTF8Characters = (NPUTF8 *)malloc(sizeof(NPUTF8) * value->UTF8Length); in NPN_InitializeVariantWithStringCopy()
89 if (!variant->value.stringValue.UTF8Characters) in NPN_InitializeVariantWithStringCopy()
91 …memcpy((void*)variant->value.stringValue.UTF8Characters, value->UTF8Characters, sizeof(NPUTF8) * v… in NPN_InitializeVariantWithStringCopy()
102 free((void*)variant->value.stringValue.UTF8Characters); in _NPN_ReleaseVariantValue()
103 variant->value.stringValue.UTF8Characters = 0; in _NPN_ReleaseVariantValue()
104 variant->value.stringValue.UTF8Length = 0; in _NPN_ReleaseVariantValue()
Dtestbindings.cpp47 NPVariant stringValue; member
129 …strncpy (msgBuf, message->value.stringValue.UTF8Characters, message->value.stringValue.UTF8Length); in logMessage()
130 msgBuf[message->value.stringValue.UTF8Length] = 0; in logMessage()
165 NPN_ReleaseVariantValue (&obj->stringValue); in setStringValue()
166 NPN_InitializeVariantWithVariant (&obj->stringValue, variant); in setStringValue()
192 NPN_InitializeVariantWithVariant (variant, &obj->stringValue); in getStringValue()
302 newInstance->stringValue.type = NPVariantType_String; in myAllocate()
303 newInstance->stringValue.value.stringValue.UTF8Length = strlen ("Hello world"); in myAllocate()
304 newInstance->stringValue.value.stringValue.UTF8Characters = strdup ("Hello world"); in myAllocate()
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/
DSliceFunction.java38 Value stringValue = args[0]; in execute() local
41 String string = stringValue.asString(); in execute()
63 return literalValue(string.substring(start, end), stringValue.getEscapeMode(), stringValue in execute()
/external/smali/smali-integration-tests/src/test/smali/jumbo-type-tests/
DStringWrapper.smali6 .field private stringValue:Ljava/lang/String;
14 iput-object v0, p0, LStringWrapper;->stringValue:Ljava/lang/String;
23 iput-object p1, p0, LStringWrapper;->stringValue:Ljava/lang/String;
31 iget-object v0, p0, LStringWrapper;->stringValue:Ljava/lang/String;
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dextension_install_dialog_controller_unittest.mm135 EXPECT_NE(0u, [[[controller titleField] stringValue] length]);
138 EXPECT_NE(0u, [[[controller subtitleField] stringValue] length]);
139 EXPECT_NE('^', [[[controller subtitleField] stringValue] characterAtIndex:0]);
142 EXPECT_NSEQ([[controller warningsField] stringValue],
148 EXPECT_NE(0u, [[[controller cancelButton] stringValue] length]);
149 EXPECT_NE('^', [[[controller cancelButton] stringValue] characterAtIndex:0]);
152 EXPECT_NE(0u, [[[controller okButton] stringValue] length]);
153 EXPECT_NE('^', [[[controller okButton] stringValue] characterAtIndex:0]);
278 EXPECT_NE(0u, [[[controller titleField] stringValue] length]);
281 EXPECT_NE(0u, [[[controller cancelButton] stringValue] length]);
[all …]
/external/smali/smali-integration-tests/src/test/smali/junit-tests/InstructionTests/Format21c/
DStringWrapper.smali4 .field private stringValue:Ljava/lang/String;
10 iput-object p1, p0, LStringWrapper;->stringValue:Ljava/lang/String;
18 iget-object v0, p0, LStringWrapper;->stringValue:Ljava/lang/String;
/external/webkit/Source/WebCore/xml/
DXPathPredicate.cpp119 if (compare(stringValue(lhsSet[lindex]), stringValue(rhsSet[rindex]))) in compare()
128 if (compare(Value(stringValue(lhsSet[lindex])).toNumber(), rhs)) in compare()
137 if (compare(stringValue(lhsSet[lindex]), rhs)) in compare()
153 if (compare(lhs, Value(stringValue(rhsSet[rindex])).toNumber())) in compare()
159 if (compare(lhs, stringValue(rhsSet[rindex]))) in compare()
/external/webkit/Tools/DumpRenderTree/chromium/
DCppVariant.cpp86 const NPString *this_value = &value.stringValue; in isEqual()
87 const NPString *other_value = &other.value.stringValue; in isEqual()
120 WebBindings::initializeVariantWithStringCopy(result, &value.stringValue); in copyToNPVariant()
147 set(newValue.value.stringValue); in set()
222 return string(value.stringValue.UTF8Characters, in toString()
223 value.stringValue.UTF8Length); in toString()
/external/chromium/webkit/glue/
Dcpp_variant.cc58 const NPString *this_value = &value.stringValue; in isEqual()
59 const NPString *other_value = &other.value.stringValue; in isEqual()
92 WebBindings::initializeVariantWithStringCopy(result, &value.stringValue); in CopyToNPVariant()
118 Set(new_value.value.stringValue); in Set()
183 return std::string(value.stringValue.UTF8Characters, in ToString()
184 value.stringValue.UTF8Length); in ToString()
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
DNPRuntimeUtilities.cpp122 npnMemFree(const_cast<NPUTF8*>(variant->value.stringValue.UTF8Characters)); in releaseNPVariantValue()
123 variant->value.stringValue.UTF8Characters = 0; in releaseNPVariantValue()
124 variant->value.stringValue.UTF8Length = 0; in releaseNPVariantValue()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
DResourceLoaderTest.java30 String stringValue = resourceLoader.getStringValue(android.R.string.copy); in shouldLoadSystemResources() local
31 assertEquals("Copy", stringValue); in shouldLoadSystemResources()
40 String stringValue = resourceLoader.getStringValue(R.string.copy); in shouldLoadLocalResources() local
41 assertEquals("Local Copy", stringValue); in shouldLoadLocalResources()
/external/icu4c/tools/gentest/
Dgentest.c105 char stringValue[]={'Y', 'E', 'A', 'R', '\0'}; in createData() local
121 udata_writeString(pData, stringValue, sizeof(stringValue)); in createData()
129 size=sizeof(stringValue) + sizeof(intValue); in createData()

1234567