HomeSort by relevance Sort by last modified time
    Searched refs:get (Results 1 - 25 of 9159) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Email/tests/src/com/android/emailcommon/mail/
PackedStringTests.java 43 assertEquals("val1", ps.get("tag1"));
44 assertEquals("val2", ps.get("tag2"));
45 assertEquals("val3", ps.get("tag3"));
46 assertEquals("val4", ps.get("tag4"));
47 assertNull(ps.get("tag100"));
61 assertEquals("value1", b2.get("tag1"));
62 assertEquals("value2", b2.get("tag2"));
63 assertEquals("value3", b2.get("tag3"));
64 assertEquals("value4", b2.get("tag4"));
65 assertNull(b2.get("tag100"))
    [all...]
  /external/javassist/src/main/javassist/runtime/
Cflow.java 29 int get() { return depth; } method in class:Cflow.Depth
41 public void enter() { ((Depth)get()).inc(); }
46 public void exit() { ((Depth)get()).dec(); }
51 public int value() { return ((Depth)get()).get(); }
  /dalvik/dx/junit-tests/com/android/dx/gen/
TypeTest.java 26 assertEquals("Ljava/lang/String;", Type.get(String.class).getName());
27 assertEquals("[Ljava/lang/String;", Type.get(String[].class).getName());
28 assertEquals("[[Ljava/lang/String;", Type.get(String[][].class).getName());
29 assertEquals("I", Type.get(int.class).getName());
30 assertEquals("[I", Type.get(int[].class).getName());
31 assertEquals("[[I", Type.get(int[][].class).getName());
  /external/llvm/unittests/Support/
TypeBuilderTest.cpp 21 EXPECT_EQ(Type::getVoidTy(getGlobalContext()), (TypeBuilder<void, true>::get(getGlobalContext())));
22 EXPECT_EQ(Type::getVoidTy(getGlobalContext()), (TypeBuilder<void, false>::get(getGlobalContext())));
25 (TypeBuilder<void*, false>::get(getGlobalContext())));
27 (TypeBuilder<const void*, false>::get(getGlobalContext())));
29 (TypeBuilder<volatile void*, false>::get(getGlobalContext())));
31 (TypeBuilder<const volatile void*, false>::get(
36 EXPECT_EQ(Type::getInt8Ty(getGlobalContext()), (TypeBuilder<int8_t, false>::get(getGlobalContext())));
37 EXPECT_EQ(Type::getInt8Ty(getGlobalContext()), (TypeBuilder<uint8_t, false>::get(getGlobalContext())));
38 EXPECT_EQ(Type::getInt16Ty(getGlobalContext()), (TypeBuilder<int16_t, false>::get(getGlobalContext())));
39 EXPECT_EQ(Type::getInt16Ty(getGlobalContext()), (TypeBuilder<uint16_t, false>::get(getGlobalContext())))
187 static StructType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
210 static StructType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
    [all...]
  /external/chromium/chrome/browser/ui/webui/options/chromeos/
cros_options_page_ui_handler.cc 14 if (settings_provider_.get())
15 CrosSettings::Get()->AddSettingsProvider(settings_provider_.get());
19 if (settings_provider_.get())
20 CrosSettings::Get()->RemoveSettingsProvider(settings_provider_.get());
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
__init__.py 32 from factory import get namespace
  /libcore/luni/src/main/java/java/io/
EmulatedFieldsForLoading.java 33 // The actual representation, with a more powerful API (set&get)
98 public byte get(String name, byte defaultValue) throws IOException, method in class:EmulatedFieldsForLoading
100 return emulatedFields.get(name, defaultValue);
121 public char get(String name, char defaultValue) throws IOException, method in class:EmulatedFieldsForLoading
123 return emulatedFields.get(name, defaultValue);
144 public double get(String name, double defaultValue) throws IOException, method in class:EmulatedFieldsForLoading
146 return emulatedFields.get(name, defaultValue);
167 public float get(String name, float defaultValue) throws IOException, method in class:EmulatedFieldsForLoading
169 return emulatedFields.get(name, defaultValue);
190 public int get(String name, int defaultValue) throws IOException method in class:EmulatedFieldsForLoading
213 public long get(String name, long defaultValue) throws IOException, method in class:EmulatedFieldsForLoading
236 public Object get(String name, Object defaultValue) throws IOException, method in class:EmulatedFieldsForLoading
259 public short get(String name, short defaultValue) throws IOException, method in class:EmulatedFieldsForLoading
283 public boolean get(String name, boolean defaultValue) throws IOException, method in class:EmulatedFieldsForLoading
    [all...]
  /external/webkit/Source/WebCore/editing/
CreateLinkCommand.cpp 50 applyStyledElement(anchorElement.get());
52 insertNodeAt(anchorElement.get(), endingSelection().start());
54 appendNode(textNode.get(), anchorElement.get());
55 setEndingSelection(VisibleSelection(positionInParentBeforeNode(anchorElement.get()), positionInParentAfterNode(anchorElement.get()), DOWNSTREAM));
  /external/chromium/base/memory/
scoped_ptr_unittest.cc 34 EXPECT_TRUE(scoper.get());
37 EXPECT_EQ(10, scoper.get()->SomeMeth(10));
46 EXPECT_TRUE(scoper.get());
50 EXPECT_TRUE(scoper.get());
54 EXPECT_FALSE(scoper.get());
58 EXPECT_TRUE(scoper.get());
62 EXPECT_FALSE(scoper.get());
68 EXPECT_TRUE(scoper.get());
76 EXPECT_TRUE(scoper1 == scoper2.get());
77 EXPECT_FALSE(scoper1 != scoper2.get());
    [all...]
  /external/chromium/testing/gtest/test/
gtest-tuple_test.cc 38 using ::std::tr1::get;
124 EXPECT_EQ(n, get<1>(t))
128 // the & operator for the return type of get<>().
129 EXPECT_EQ(&n, &(get<1>(t)))
133 get<1>(t) = 2;
151 EXPECT_EQ(0, get<0>(b1));
155 EXPECT_EQ(0, get<0>(b2));
156 EXPECT_EQ(0.0, get<1>(b2));
160 EXPECT_EQ(0.0, get<0>(b3));
161 EXPECT_EQ('\0', get<1>(b3))
    [all...]
  /external/webkit/Source/WebCore/rendering/style/
NinePieceImage.cpp 31 return StyleImage::imagesEquivalent(m_image.get(), o.m_image.get()) && m_slices == o.m_slices && m_horizontalRule == o.m_horizontalRule &&
  /external/llvm/include/llvm/MC/
SectionKind.h 200 static SectionKind get(Kind K) { function in class:llvm::SectionKind
207 static SectionKind getMetadata() { return get(Metadata); }
208 static SectionKind getText() { return get(Text); }
209 static SectionKind getReadOnly() { return get(ReadOnly); }
211 return get(Mergeable1ByteCString);
214 return get(Mergeable2ByteCString);
217 return get(Mergeable4ByteCString);
219 static SectionKind getMergeableConst() { return get(MergeableConst); }
220 static SectionKind getMergeableConst4() { return get(MergeableConst4); }
221 static SectionKind getMergeableConst8() { return get(MergeableConst8);
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/rop/
FieldList.java 25 * Get whether this instance is mutable. Note that the
35 * Get the number of fields in the list.
42 * Get the {@code n}th field.
47 public Field get(int n); method in interface:FieldList
  /external/llvm/include/llvm/Support/
TypeBuilder.h 46 /// Function::Create(TypeBuilder<types::i<8>(MyType*), true>::get(), ...)
48 /// complain that TypeBuilder<MyType, true>::get() doesn't exist. To fix this,
54 /// static StructType *get(LLVMContext &Context) {
57 /// return StructType::get(
58 /// TypeBuilder<types::i<32>, xcompile>::get(Context),
59 /// TypeBuilder<types::i<32>*, xcompile>::get(Context),
60 /// TypeBuilder<types::i<8>*[], xcompile>::get(Context),
107 static PointerType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
108 return PointerType::getUnqual(TypeBuilder<T,cross>::get(Context));
118 static ArrayType *get(LLVMContext &Context) function in class:llvm::TypeBuilder
125 static ArrayType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
184 static IntegerType *get(LLVMContext &C) { function in class:llvm::TypeBuilder
191 static Type *get(LLVMContext& C) { function in class:llvm::TypeBuilder
199 static Type *get(LLVMContext& C) { function in class:llvm::TypeBuilder
207 static Type *get(LLVMContext& C) { return Type::getFloatTy(C); } function in class:llvm::TypeBuilder
211 static Type *get(LLVMContext& C) { return Type::getDoubleTy(C); } function in class:llvm::TypeBuilder
215 static Type *get(LLVMContext& C) { return Type::getX86_FP80Ty(C); } function in class:llvm::TypeBuilder
219 static Type *get(LLVMContext& C) { return Type::getFP128Ty(C); } function in class:llvm::TypeBuilder
223 static Type *get(LLVMContext& C) { return Type::getPPC_FP128Ty(C); } function in class:llvm::TypeBuilder
227 static Type *get(LLVMContext& C) { return Type::getX86_MMXTy(C); } function in class:llvm::TypeBuilder
232 static Type *get(LLVMContext &C) { function in class:llvm::TypeBuilder
250 static FunctionType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
256 static FunctionType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
267 static FunctionType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
279 static FunctionType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
294 static FunctionType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
310 static FunctionType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
325 static FunctionType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
332 static FunctionType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
342 static FunctionType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
354 static FunctionType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
369 static FunctionType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
385 static FunctionType *get(LLVMContext &Context) { function in class:llvm::TypeBuilder
    [all...]
  /external/chromium/chrome/common/
json_schema_validator_unittest_base.cc 27 PathService::Get(chrome::DIR_TEST_DATA, &path);
41 if (!result.get())
88 ASSERT_TRUE(schema.get());
89 ASSERT_TRUE(instance.get());
91 ExpectValid(TEST_SOURCE, instance.get(), schema.get(), NULL);
93 ExpectValid(TEST_SOURCE, instance.get(), schema.get(), NULL);
95 ExpectNotValid(TEST_SOURCE, instance.get(), schema.get(), NULL, "1"
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/
OldAndroidNIOTest.java 138 assertEquals((byte) 0xA7, b.get(7));
140 b.get(12);
146 b.get(-10);
154 assertEquals((byte) 0xA0, b.get());
155 assertEquals((byte) 0xA1, b.get());
156 assertEquals((byte) 0xA2, b.get());
157 assertEquals((byte) 0xA3, b.get());
158 assertEquals((byte) 0xA4, b.get());
159 assertEquals((byte) 0xA5, b.get());
160 assertEquals((byte) 0xA6, b.get());
    [all...]
  /external/skia/tests/
PDFPrimitivesTest.cpp 74 SkRefPtr<SkPDFInt> int1Again(int1.get());
76 catalog.addObject(int1.get(), false);
77 catalog.addObject(int2.get(), false);
78 catalog.addObject(int3.get(), false);
80 REPORTER_ASSERT(reporter, catalog.getObjectNumberSize(int1.get()) == 3);
81 REPORTER_ASSERT(reporter, catalog.getObjectNumberSize(int2.get()) == 3);
82 REPORTER_ASSERT(reporter, catalog.getObjectNumberSize(int3.get()) == 3);
85 catalog.emitObjectNumber(&buffer, int1.get());
86 catalog.emitObjectNumber(&buffer, int2.get());
87 catalog.emitObjectNumber(&buffer, int3.get());
    [all...]
  /external/oprofile/libutil++/tests/
cached_value_tests.cpp 25 bool foo = boolval.get();
40 cerr << "get() on no value didn't throw\n";
44 if (boolval.reset(false) != false || boolval.get() != false) {
49 if (boolval.reset(true) != true || boolval.get() != true) {
54 if (strval.reset("foo") != "foo" || strval.get() != "foo") {
59 if (strval.reset("") != "" || strval.get() != "") {
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
HanziToPinyinTest.java 43 ArrayList<Token> tokens = HanziToPinyin.getInstance().get(ONE_HANZI);
45 assertEquals(tokens.get(0).type, Token.PINYIN);
46 assertTrue(tokens.get(0).target.equalsIgnoreCase("DU"));
48 tokens = HanziToPinyin.getInstance().get(TWO_HANZI);
50 assertEquals(tokens.get(0).type, Token.PINYIN);
51 assertEquals(tokens.get(1).type, Token.PINYIN);
52 assertTrue(tokens.get(0).target.equalsIgnoreCase("DU"));
53 assertTrue(tokens.get(1).target.equalsIgnoreCase("JUAN"));
55 tokens = HanziToPinyin.getInstance().get(ASSIC);
57 assertEquals(tokens.get(0).type, Token.LATIN)
    [all...]
  /external/llvm/utils/
show-diagnostics 44 file = file_diags.get('main-file')
46 for d in file_diags.get('diagnostics', ()):
48 d.get('filename'), d.get('line'), d.get('column'),
49 d.get('level'), d.get('message'))
  /external/webkit/Source/WebCore/bindings/v8/
ScriptCachedFrameData.cpp 47 if (m_context.get().IsEmpty())
49 m_global.set(m_context.get()->Global());
60 if (m_context.get().IsEmpty())
64 v8::Context::Scope contextScope(m_context.get());
66 m_context.get()->ReattachGlobal(m_global.get());
69 proxy->windowShell()->setContext(m_context.get());
  /external/webkit/Source/WebKit2/UIProcess/mac/
ChunkedUpdateDrawingAreaProxyMac.mm 52 m_bitmapContext.adoptCF(CGBitmapContextCreate(0, viewSize.width(), viewSize.height(), 8, viewSize.width() * 4, colorSpace.get(), kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host));
55 CGContextTranslateCTM(m_bitmapContext.get(), 0, viewSize.height());
56 CGContextScaleCTM(m_bitmapContext.get(), 1, -1);
79 RetainPtr<CGImageRef> image(AdoptCF, CGBitmapContextCreateImage(m_bitmapContext.get()));
80 CGContextDrawImage(context, CGRectMake(0, 0, CGImageGetWidth(image.get()), CGImageGetHeight(image.get())), image.get());
93 CGContextSaveGState(m_bitmapContext.get());
96 CGContextSetBlendMode(m_bitmapContext.get(), kCGBlendModeCopy);
99 CGContextScaleCTM(m_bitmapContext.get(), 1, -1)
    [all...]
  /external/webkit/Source/WebKit2/Platform/mac/
ModuleMac.mm 34 RetainPtr<CFURLRef> bundleURL(AdoptCF, CFURLCreateWithFileSystemPath(kCFAllocatorDefault, bundlePath.get(), kCFURLPOSIXPathStyle, FALSE));
38 RetainPtr<CFBundleRef> bundle(AdoptCF, CFBundleCreate(kCFAllocatorDefault, bundleURL.get()));
42 if (!CFBundleLoadExecutable(bundle.get()))
55 CFBundleCloseBundleResourceMap(m_bundle.get(), m_bundleResourceMap);
67 return CFBundleGetFunctionPointerForName(m_bundle.get(), functionNameString.get());
74 m_bundleResourceMap = CFBundleOpenBundleResourceMap(m_bundle.get());
  /external/webkit/Source/JavaScriptCore/qt/api/
qscriptengine.cpp 62 return QScriptSyntaxCheckResultPrivate::get(engine->checkSyntax(program));
92 return QScriptValuePrivate::get(d_ptr->evaluate(program, fileName, lineNumber));
97 return QScriptValuePrivate::get(d_ptr->evaluate(QScriptProgramPrivate::get(program)));
127 return QScriptValuePrivate::get(d_ptr->uncaughtException());
217 return QScriptStringPrivate::get(d_ptr->toStringHandle(str));
239 return QScriptValuePrivate::get(QScriptValuePrivate::get(value)->toObject(d_ptr.data()));
307 return QScriptValuePrivate::get(d_ptr->newFunction(fun, 0, length));
337 return QScriptValuePrivate::get(d_ptr->newFunction(fun, QScriptValuePrivate::get(prototype), length))
    [all...]
  /external/webkit/Source/WebCore/platform/network/mac/
NetworkStateNotifierMac.cpp 47 RetainPtr<CFPropertyListRef> propertyList(AdoptCF, SCDynamicStoreCopyValue(m_store.get(), str.get()));
52 if (CFGetTypeID(propertyList.get()) != CFDictionaryGetTypeID())
55 CFArrayRef netInterfaces = (CFArrayRef)CFDictionaryGetValue((CFDictionaryRef)propertyList.get(), kSCDynamicStorePropNetInterfaces);
70 RetainPtr<CFArrayRef> keyList(AdoptCF, SCDynamicStoreCopyKeyList(m_store.get(), key.get()));
72 if (keyList && CFArrayGetCount(keyList.get())) {
112 RetainPtr<CFRunLoopSourceRef> configSource = SCDynamicStoreCreateRunLoopSource(0, m_store.get(), 0);
116 CFRunLoopAddSource(CFRunLoopGetMain(), configSource.get(), kCFRunLoopCommonModes);
125 CFArrayAppendValue(keys.get(), key.get())
    [all...]

Completed in 661 milliseconds

1 2 3 4 5 6 7 8 91011>>