/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_frame.cpp | 46 NativeFrame* result = new NativeFrame(size_); local 48 result->WriteData(data_, 0, size_); 49 return result;
|
/frameworks/base/packages/PrintSpooler/jni/ |
H A D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 93 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/base/telephony/java/android/telephony/ |
H A D | SubscriptionManager.java | 302 List<SubInfoRecord> result = null; 307 result = iSub.getSubInfoUsingIccId(iccId); 314 if (result == null) { 315 result = new ArrayList<SubInfoRecord>(); 317 return result; 333 List<SubInfoRecord> result = null; 338 result = iSub.getSubInfoUsingSlotId(slotId); 345 if (result == null) { 346 result = new ArrayList<SubInfoRecord>(); 348 return result; [all...] |
/frameworks/compile/libbcc/lib/Core/ |
H A D | Source.cpp | 80 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 D | OutputFile.cpp | 91 llvm::raw_fd_ostream *result = local 94 if (result == NULL) { 98 return result;
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | RelocData.cpp | 33 RelocData* result = g_RelocDataFactory->allocate(); local 34 new (result) RelocData(pSection); 35 return result;
|
H A D | SectionData.cpp | 35 SectionData* result = g_SectDataFactory->allocate(); local 36 new (result) SectionData(pSection); 37 return result;
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | InputFactory.cpp | 39 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 D | FileToken.cpp | 36 FileToken* result = g_FileTokenFactory->allocate(); local 37 new (result) FileToken(pName, pAsNeeded); 38 return result;
|
H A D | NameSpec.cpp | 36 NameSpec* result = g_NameSpecFactory->allocate(); local 37 new (result) NameSpec(pName, pAsNeeded); 38 return result;
|
H A D | NullaryOp.cpp | 22 IntOperand* res = result(); 32 IntOperand* res = result(); 42 IntOperand* res = result();
|
H A D | StrToken.cpp | 37 StrToken* result = g_StrTokenFactory->allocate(); local 38 new (result) StrToken(String, pString); 39 return result;
|
/frameworks/native/cmds/flatland/ |
H A D | Renderers.cpp | 47 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 D | CMediaPlayer.c | 29 XAresult result = XA_RESULT_SUCCESS; local 35 result = android_Player_realize(thiz, async); 38 return result;
|
H A D | COutputMix.c | 26 SLresult result = SL_RESULT_SUCCESS; local 30 result = android_outputMix_realize(thiz, async); 33 return result;
|
/frameworks/wilhelm/src/ |
H A D | sl_entry.c | 27 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 D | xa_entry.c | 27 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 D | Region.cpp | 62 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 D | DrawFilter.cpp | 57 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 D | FileBackupHelperBase.java | 85 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 D | PageRange.java | 119 int result = 1; 120 result = prime * result + mEnd; 121 result = prime * result + mStart; 122 return result;
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateInputStream.java | 119 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 D | CrunchCache_test.cpp | 58 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 D | TargetRegistry.cpp | 72 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 D | MinikinFontFreeType.cpp | 76 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
|