Searched refs:result (Results 251 - 275 of 1438) sorted by relevance

<<11121314151617181920>>

/frameworks/base/location/lib/java/com/android/location/provider/
H A DProviderRequestUnbundled.java52 List<LocationRequestUnbundled> result = new ArrayList<LocationRequestUnbundled>(
55 result.add(new LocationRequestUnbundled(r));
57 return result;
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_frame.cpp46 NativeFrame* result = new NativeFrame(size_); local
48 result->WriteData(data_, 0, size_);
49 return result;
/frameworks/base/packages/PrintSpooler/jni/
H A Dcom_android_printspooler_util_BitmapSerializeUtils.cpp93 int result = AndroidBitmap_getInfo(env, jbitmap, &targetInfo); local
94 if (result < 0) {
109 result = AndroidBitmap_lockPixels(env, jbitmap, &pixels);
110 if (result < 0) {
124 result = AndroidBitmap_unlockPixels(env, jbitmap);
125 if (result < 0) {
133 int result = AndroidBitmap_getInfo(env, jbitmap, &info); local
134 if (result < 0) {
148 result = AndroidBitmap_lockPixels(env, jbitmap, &pixels);
149 if (result <
[all...]
/frameworks/compile/libbcc/lib/Core/
H A DSource.cpp80 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); local
81 if (result == NULL) {
85 return result;
107 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); local
108 if (result == NULL) {
112 return result;
125 Source *result = new (std::nothrow) Source(pContext, pModule, pNoDelete); local
126 if (result == NULL) {
130 return result;
177 Source *result local
[all...]
/frameworks/compile/libbcc/lib/Support/
H A DOutputFile.cpp91 llvm::raw_fd_ostream *result = local
94 if (result == NULL) {
98 return result;
/frameworks/compile/mclinker/lib/LD/
H A DRelocData.cpp33 RelocData* result = g_RelocDataFactory->allocate(); local
34 new (result) RelocData(pSection);
35 return result;
H A DSectionData.cpp35 SectionData* result = g_SectDataFactory->allocate(); local
36 new (result) SectionData(pSection);
37 return result;
/frameworks/compile/mclinker/lib/MC/
H A DInputFactory.cpp39 Input* result = Alloc::allocate(); local
40 new (result) Input(pName, pPath, *m_pLast, pType, pFileOffset);
41 return result;
/frameworks/compile/mclinker/lib/Script/
H A DFileToken.cpp36 FileToken* result = g_FileTokenFactory->allocate(); local
37 new (result) FileToken(pName, pAsNeeded);
38 return result;
H A DNameSpec.cpp36 NameSpec* result = g_NameSpecFactory->allocate(); local
37 new (result) NameSpec(pName, pAsNeeded);
38 return result;
H A DNullaryOp.cpp22 IntOperand* res = result();
32 IntOperand* res = result();
42 IntOperand* res = result();
H A DStrToken.cpp37 StrToken* result = g_StrTokenFactory->allocate(); local
38 new (result) StrToken(String, pString);
39 return result;
/frameworks/native/cmds/flatland/
H A DRenderers.cpp47 bool result; local
49 result = helper->getShaderProgram("Gradient", &mGradPgm);
50 if (!result) {
54 result = helper->getDitherTexture(&mDitherTexName);
55 if (!result) {
168 bool result; local
171 result = mGLHelper->makeCurrent(surface);
172 if (!result) {
176 result = mGradientRenderer.drawGradient();
177 if (!result) {
[all...]
/frameworks/wilhelm/src/objects/
H A DCMediaPlayer.c29 XAresult result = XA_RESULT_SUCCESS; local
35 result = android_Player_realize(thiz, async);
38 return result;
H A DCOutputMix.c26 SLresult result = SL_RESULT_SUCCESS; local
30 result = android_outputMix_realize(thiz, async);
33 return result;
/frameworks/wilhelm/src/
H A Dsl_entry.c27 result = liCreateEngine(pEngine, numOptions, pEngineOptions, numInterfaces, pInterfaceIds, local
41 result = liQueryNumSupportedInterfaces(pNumSupportedInterfaces, local
57 result = liQuerySupportedInterfaces(index, pInterfaceId, objectIDtoClass(SL_OBJECTID_ENGINE)); local
H A Dxa_entry.c27 result = liCreateEngine((SLObjectItf *) pEngine, numOptions, local
42 result = liQueryNumSupportedInterfaces(pNumSupportedInterfaces, local
56 result = liQuerySupportedInterfaces(index, (SLInterfaceID *) pInterfaceId, local
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp62 bool result = dst->setRect(left, top, right, bottom); local
63 return boolTojboolean(result);
72 bool result = dst->setPath(*path, *clip); local
73 return boolTojboolean(result);
80 bool result = !region->isEmpty(); local
81 return boolTojboolean(result);
87 bool result = region->getBoundaryPath(path); local
88 return boolTojboolean(result);
96 bool result = dst->op(ir, (SkRegion::Op)op); local
97 return boolTojboolean(result);
105 bool result = dst->op(ir, *region, (SkRegion::Op)op); local
113 bool result = dst->op(*region1, *region2, (SkRegion::Op)op); local
120 bool result = GetSkRegion(env, region)->isEmpty(); local
125 bool result = GetSkRegion(env, region)->isRect(); local
130 bool result = GetSkRegion(env, region)->isComplex(); local
135 bool result = GetSkRegion(env, region)->contains(x, y); local
140 bool result = GetSkRegion(env, region)->quickContains(left, top, right, bottom); local
147 bool result = GetSkRegion(env, region)->quickReject(ir); local
152 bool result = GetSkRegion(env, region)->quickReject(*GetSkRegion(env, other)); local
200 jstring result = env->NewStringUTF(str); local
334 int result = android::AndroidRuntime::registerNativeMethods(env, "android/graphics/Region", local
[all...]
H A DDrawFilter.cpp57 const bool result = (flags & sFilterBitmapFlag) != 0; local
59 return result;
107 result = android::AndroidRuntime::registerNativeMethods(env, name, array, SK_ARRAY_COUNT(array)); \
108 if (result < 0) return result
112 int result; local
/frameworks/base/core/java/android/app/backup/
H A DFileBackupHelperBase.java85 int result = -1;
91 result = writeFile_native(mPtr, f.getAbsolutePath(), in.mData.mBackupReader);
92 if (result != 0) {
96 + mContext.getPackageName() + "\' result=0x"
97 + Integer.toHexString(result));
101 return (result == 0);
105 int result = writeSnapshot_native(mPtr, fd.getFileDescriptor());
/frameworks/base/core/java/android/print/
H A DPageRange.java119 int result = 1;
120 result = prime * result + mEnd;
121 result = prime * result + mStart;
122 return result;
/frameworks/base/obex/javax/obex/
H A DPrivateInputStream.java119 int result = 0;
125 result += currentDataLength;
129 return result == 0 ? -1 : result;
136 result += remainReadLength;
138 return result;
/frameworks/base/tools/aapt/tests/
H A DCrunchCache_test.cpp58 int result = cc.crunch(cu); local
59 cout << ((result > 0) ? "PASSED" : "FAILED") << endl;
60 errno += ((result > 0) ? 0 : 1);
63 expectEqual(result, EXPECTED_RESULT, "number of files touched");
74 result = cc.crunch(cu, true);
75 expectEqual(result, EXPECTED_OVERWRITES, "number of files touched with overwrite");
/frameworks/compile/mclinker/lib/Support/
H A DTargetRegistry.cpp72 const Target* result = NULL; local
77 result = *it;
82 if (NULL == result) {
96 result = lookupTarget(pTriple.getTriple(), error);
97 if (NULL == result) {
104 return result;
/frameworks/minikin/libs/minikin/
H A DMinikinFontFreeType.cpp76 const MinikinPaint &paint, GlyphBitmap *result) {
88 result->buffer = bitmap.buffer;
89 result->width = bitmap.width;
90 result->height = bitmap.rows;
91 result->left = mTypeface->glyph->bitmap_left;
92 result->top = mTypeface->glyph->bitmap_top;
75 Render(uint32_t glyph_id, const MinikinPaint &paint, GlyphBitmap *result) argument

Completed in 406 milliseconds

<<11121314151617181920>>