Searched refs:con (Results 1 - 15 of 15) sorted by relevance

/frameworks/compile/libbcc/tests/data/src/
H A Drollo3.c4 int main(void* con, int ft, int launchID) argument
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp93 nContextFinish(JNIEnv *_env, jobject _this, RsContext con) argument
95 LOG_API("nContextFinish, con(%p)", con);
96 rsContextFinish(con);
100 nAssignName(JNIEnv *_env, jobject _this, RsContext con, jint obj, jbyteArray str) argument
102 LOG_API("nAssignName, con(%p), obj(%p)", con, (void *)obj);
105 rsAssignName(con, (void *)obj, (const char *)cptr, len);
110 nGetName(JNIEnv *_env, jobject _this, RsContext con, jint obj) argument
112 LOG_API("nGetName, con(
122 nObjDestroy(JNIEnv *_env, jobject _this, RsContext con, jint obj) argument
183 nContextSetPriority(JNIEnv *_env, jobject _this, RsContext con, jint p) argument
192 nContextSetSurface(JNIEnv *_env, jobject _this, RsContext con, jint width, jint height, jobject wnd) argument
207 nContextSetSurfaceTexture(JNIEnv *_env, jobject _this, RsContext con, jint width, jint height, jobject sur) argument
224 nContextDestroy(JNIEnv *_env, jobject _this, RsContext con) argument
231 nContextDump(JNIEnv *_env, jobject _this, RsContext con, jint bits) argument
238 nContextPause(JNIEnv *_env, jobject _this, RsContext con) argument
245 nContextResume(JNIEnv *_env, jobject _this, RsContext con) argument
253 nContextGetErrorMessage(JNIEnv *_env, jobject _this, RsContext con) argument
271 nContextGetUserMessage(JNIEnv *_env, jobject _this, RsContext con, jintArray data) argument
290 nContextPeekMessage(JNIEnv *_env, jobject _this, RsContext con, jintArray auxData) argument
304 nContextInitToClient(JNIEnv *_env, jobject _this, RsContext con) argument
310 nContextDeinitToClient(JNIEnv *_env, jobject _this, RsContext con) argument
318 nElementCreate(JNIEnv *_env, jobject _this, RsContext con, jint type, jint kind, jboolean norm, jint size) argument
325 nElementCreate2(JNIEnv *_env, jobject _this, RsContext con, jintArray _ids, jobjectArray _names, jintArray _arraySizes) argument
356 nElementGetNativeData(JNIEnv *_env, jobject _this, RsContext con, jint id, jintArray _elementData) argument
374 nElementGetSubElements(JNIEnv *_env, jobject _this, RsContext con, jint id, jintArray _IDs, jobjectArray _names, jintArray _arraySizes) argument
402 nTypeCreate(JNIEnv *_env, jobject _this, RsContext con, RsElement eid, jint dimx, jint dimy, jint dimz, jboolean mips, jboolean faces) argument
413 nTypeGetNativeData(JNIEnv *_env, jobject _this, RsContext con, jint id, jintArray _typeData) argument
433 nAllocationCreateTyped(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mips, jint usage) argument
440 nAllocationSyncAll(JNIEnv *_env, jobject _this, RsContext con, jint a, jint bits) argument
447 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, RsContext con, jint alloc) argument
454 nAllocationCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, jint usage) argument
470 nAllocationCubeCreateFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint type, jint mip, jobject jbitmap, jint usage) argument
486 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) argument
503 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) argument
524 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jintArray data, int sizeBytes) argument
534 nAllocationData1D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jshortArray data, int sizeBytes) argument
544 nAllocationData1D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jbyteArray data, int sizeBytes) argument
554 nAllocationData1D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jfloatArray data, int sizeBytes) argument
565 nAllocationElementData1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint compIdx, jbyteArray data, int sizeBytes) argument
575 nAllocationData2D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jshortArray data, int sizeBytes) argument
586 nAllocationData2D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jbyteArray data, int sizeBytes) argument
597 nAllocationData2D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jintArray data, int sizeBytes) argument
608 nAllocationData2D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint xoff, jint yoff, jint lod, jint face, jint w, jint h, jfloatArray data, int sizeBytes) argument
619 nAllocationData2D_alloc(JNIEnv *_env, jobject _this, RsContext con, jint dstAlloc, jint dstXoff, jint dstYoff, jint dstMip, jint dstFace, jint width, jint height, jint srcAlloc, jint srcXoff, jint srcYoff, jint srcMip, jint srcFace) argument
643 nAllocationRead_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jintArray data) argument
654 nAllocationRead_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jshortArray data) argument
665 nAllocationRead_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jbyteArray data) argument
676 nAllocationRead_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jfloatArray data) argument
687 nAllocationGetType(JNIEnv *_env, jobject _this, RsContext con, jint a) argument
694 nAllocationResize1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX) argument
701 nAllocationResize2D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint dimX, jint dimY) argument
710 nFileA3DCreateFromAssetStream(JNIEnv *_env, jobject _this, RsContext con, jint native_asset) argument
721 nFileA3DCreateFromAsset(JNIEnv *_env, jobject _this, RsContext con, jobject _assetMgr, jstring _path) argument
739 nFileA3DCreateFromFile(JNIEnv *_env, jobject _this, RsContext con, jstring fileName) argument
748 nFileA3DGetNumIndexEntries(JNIEnv *_env, jobject _this, RsContext con, jint fileA3D) argument
756 nFileA3DGetIndexEntries(JNIEnv *_env, jobject _this, RsContext con, jint fileA3D, jint numEntries, jintArray _ids, jobjectArray _entries) argument
772 nFileA3DGetEntryByIndex(JNIEnv *_env, jobject _this, RsContext con, jint fileA3D, jint index) argument
782 nFontCreateFromFile(JNIEnv *_env, jobject _this, RsContext con, jstring fileName, jfloat fontSize, jint dpi) argument
794 nFontCreateFromAssetStream(JNIEnv *_env, jobject _this, RsContext con, jstring name, jfloat fontSize, jint dpi, jint native_asset) argument
808 nFontCreateFromAsset(JNIEnv *_env, jobject _this, RsContext con, jobject _assetMgr, jstring _path, jfloat fontSize, jint dpi) argument
833 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) argument
840 nScriptSetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument
847 nScriptSetVarObj(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument
854 nScriptSetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jlong val) argument
861 nScriptSetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, float val) argument
868 nScriptSetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, double val) argument
875 nScriptSetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument
886 nScriptSetTimeZone(JNIEnv *_env, jobject _this, RsContext con, jint script, jbyteArray timeZone) argument
902 nScriptInvoke(JNIEnv *_env, jobject _this, RsContext con, jint obj, jint slot) argument
909 nScriptInvokeV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument
919 nScriptForEach(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout) argument
926 nScriptForEachV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params) argument
940 nScriptCCreate(JNIEnv *_env, jobject _this, RsContext con, jstring resName, jstring cacheDir, jbyteArray scriptRef, jint length) argument
991 nProgramStoreCreate(JNIEnv *_env, jobject _this, RsContext con, jboolean colorMaskR, jboolean colorMaskG, jboolean colorMaskB, jboolean colorMaskA, jboolean depthMask, jboolean ditherEnable, jint srcFunc, jint destFunc, jint depthFunc) argument
1006 nProgramBindConstants(JNIEnv *_env, jobject _this, RsContext con, jint vpv, jint slot, jint a) argument
1013 nProgramBindTexture(JNIEnv *_env, jobject _this, RsContext con, jint vpf, jint slot, jint a) argument
1020 nProgramBindSampler(JNIEnv *_env, jobject _this, RsContext con, jint vpf, jint slot, jint a) argument
1029 nProgramFragmentCreate(JNIEnv *_env, jobject _this, RsContext con, jstring shader, jintArray params) argument
1046 nProgramVertexCreate(JNIEnv *_env, jobject _this, RsContext con, jstring shader, jintArray params) argument
1062 nProgramRasterCreate(JNIEnv *_env, jobject _this, RsContext con, jboolean pointSprite, jint cull) argument
1072 nContextBindRootScript(JNIEnv *_env, jobject _this, RsContext con, jint script) argument
1079 nContextBindProgramStore(JNIEnv *_env, jobject _this, RsContext con, jint pfs) argument
1086 nContextBindProgramFragment(JNIEnv *_env, jobject _this, RsContext con, jint pf) argument
1093 nContextBindProgramVertex(JNIEnv *_env, jobject _this, RsContext con, jint pf) argument
1100 nContextBindProgramRaster(JNIEnv *_env, jobject _this, RsContext con, jint pf) argument
1110 nSamplerCreate(JNIEnv *_env, jobject _this, RsContext con, jint magFilter, jint minFilter, jint wrapS, jint wrapT, jint wrapR, jfloat aniso) argument
1126 nMeshCreate(JNIEnv *_env, jobject _this, RsContext con, jintArray _vtx, jintArray _idx, jintArray _prim) argument
1149 nMeshGetVertexBufferCount(JNIEnv *_env, jobject _this, RsContext con, jint mesh) argument
1158 nMeshGetIndexCount(JNIEnv *_env, jobject _this, RsContext con, jint mesh) argument
1167 nMeshGetVertices(JNIEnv *_env, jobject _this, RsContext con, jint mesh, jintArray _ids, int numVtxIDs) argument
1182 nMeshGetIndices(JNIEnv *_env, jobject _this, RsContext con, jint mesh, jintArray _idxIds, jintArray _primitives, int numIndices) argument
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java76 native int nContextGetUserMessage(int con, int[] data); argument
77 native String nContextGetErrorMessage(int con); argument
78 native int nContextPeekMessage(int con, int[] subID); argument
79 native void nContextInitToClient(int con); argument
80 native void nContextDeinitToClient(int con); argument
106 native void rsnContextDestroy(int con); argument
111 native void rsnContextSetSurface(int con, int w, int h, Surface sur); argument
116 native void rsnContextSetSurfaceTexture(int con, int w, int h, SurfaceTexture sur); argument
121 native void rsnContextSetPriority(int con, int p); argument
126 native void rsnContextDump(int con, in argument
131 rsnContextFinish(int con) argument
137 rsnContextBindRootScript(int con, int script) argument
142 rsnContextBindSampler(int con, int sampler, int slot) argument
147 rsnContextBindProgramStore(int con, int pfs) argument
152 rsnContextBindProgramFragment(int con, int pf) argument
157 rsnContextBindProgramVertex(int con, int pv) argument
162 rsnContextBindProgramRaster(int con, int pr) argument
167 rsnContextPause(int con) argument
172 rsnContextResume(int con) argument
178 rsnAssignName(int con, int obj, byte[] name) argument
183 rsnGetName(int con, int obj) argument
188 rsnObjDestroy(int con, int id) argument
198 rsnElementCreate(int con, int type, int kind, boolean norm, int vecSize) argument
203 rsnElementCreate2(int con, int[] elements, String[] names, int[] arraySizes) argument
208 rsnElementGetNativeData(int con, int id, int[] elementData) argument
213 rsnElementGetSubElements(int con, int id, int[] IDs, String[] names, int[] arraySizes) argument
220 rsnTypeCreate(int con, int eid, int x, int y, int z, boolean mips, boolean faces) argument
225 rsnTypeGetNativeData(int con, int id, int[] typeData) argument
231 rsnAllocationCreateTyped(int con, int type, int mip, int usage) argument
236 rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage) argument
241 rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage) argument
246 rsnAllocationCreateBitmapRef(int con, int type, Bitmap bmp) argument
251 rsnAllocationCreateFromAssetStream(int con, int mips, int assetStream, int usage) argument
257 rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp) argument
264 rsnAllocationSyncAll(int con, int alloc, int src) argument
269 rsnAllocationGenerateMipmaps(int con, int alloc) argument
274 rsnAllocationCopyFromBitmap(int con, int alloc, Bitmap bmp) argument
281 rsnAllocationData1D(int con, int id, int off, int mip, int count, int[] d, int sizeBytes) argument
286 rsnAllocationData1D(int con, int id, int off, int mip, int count, short[] d, int sizeBytes) argument
291 rsnAllocationData1D(int con, int id, int off, int mip, int count, byte[] d, int sizeBytes) argument
296 rsnAllocationData1D(int con, int id, int off, int mip, int count, float[] d, int sizeBytes) argument
302 rsnAllocationElementData1D(int con, int id, int xoff, int mip, int compIdx, byte[] d, int sizeBytes) argument
308 rsnAllocationData2D(int con, int dstAlloc, int dstXoff, int dstYoff, int dstMip, int dstFace, int width, int height, int srcAlloc, int srcXoff, int srcYoff, int srcMip, int srcFace) argument
328 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, byte[] d, int sizeBytes) argument
333 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, short[] d, int sizeBytes) argument
338 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, int[] d, int sizeBytes) argument
343 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int h, float[] d, int sizeBytes) argument
348 rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, Bitmap b) argument
354 rsnAllocationRead(int con, int id, byte[] d) argument
359 rsnAllocationRead(int con, int id, short[] d) argument
364 rsnAllocationRead(int con, int id, int[] d) argument
369 rsnAllocationRead(int con, int id, float[] d) argument
374 rsnAllocationGetType(int con, int id) argument
380 rsnAllocationResize1D(int con, int id, int dimX) argument
385 rsnAllocationResize2D(int con, int id, int dimX, int dimY) argument
391 rsnFileA3DCreateFromAssetStream(int con, int assetStream) argument
396 rsnFileA3DCreateFromFile(int con, String path) argument
401 rsnFileA3DCreateFromAsset(int con, AssetManager mgr, String path) argument
406 rsnFileA3DGetNumIndexEntries(int con, int fileA3D) argument
411 rsnFileA3DGetIndexEntries(int con, int fileA3D, int numEntries, int[] IDs, String[] names) argument
416 rsnFileA3DGetEntryByIndex(int con, int fileA3D, int index) argument
422 rsnFontCreateFromFile(int con, String fileName, float size, int dpi) argument
427 rsnFontCreateFromAssetStream(int con, String name, float size, int dpi, int assetStream) argument
432 rsnFontCreateFromAsset(int con, AssetManager mgr, String path, float size, int dpi) argument
439 rsnScriptBindAllocation(int con, int script, int alloc, int slot) argument
444 rsnScriptSetTimeZone(int con, int script, byte[] timeZone) argument
449 rsnScriptInvoke(int con, int id, int slot) argument
454 rsnScriptForEach(int con, int id, int slot, int ain, int aout, byte[] params) argument
455 rsnScriptForEach(int con, int id, int slot, int ain, int aout) argument
464 rsnScriptInvokeV(int con, int id, int slot, byte[] params) argument
469 rsnScriptSetVarI(int con, int id, int slot, int val) argument
474 rsnScriptSetVarJ(int con, int id, int slot, long val) argument
479 rsnScriptSetVarF(int con, int id, int slot, float val) argument
484 rsnScriptSetVarD(int con, int id, int slot, double val) argument
489 rsnScriptSetVarV(int con, int id, int slot, byte[] val) argument
494 rsnScriptSetVarObj(int con, int id, int slot, int val) argument
500 rsnScriptCCreate(int con, String resName, String cacheDir, byte[] script, int length) argument
507 rsnSamplerCreate(int con, int magFilter, int minFilter, int wrapS, int wrapT, int wrapR, float aniso) argument
515 rsnProgramStoreCreate(int con, boolean r, boolean g, boolean b, boolean a, boolean depthMask, boolean dither, int srcMode, int dstMode, int depthFunc) argument
526 rsnProgramRasterCreate(int con, boolean pointSprite, int cullMode) argument
532 rsnProgramBindConstants(int con, int pv, int slot, int mID) argument
537 rsnProgramBindTexture(int con, int vpf, int slot, int a) argument
542 rsnProgramBindSampler(int con, int vpf, int slot, int s) argument
547 rsnProgramFragmentCreate(int con, String shader, int[] params) argument
552 rsnProgramVertexCreate(int con, String shader, int[] params) argument
558 rsnMeshCreate(int con, int[] vtx, int[] idx, int[] prim) argument
563 rsnMeshGetVertexBufferCount(int con, int id) argument
568 rsnMeshGetIndexCount(int con, int id) argument
573 rsnMeshGetVertices(int con, int id, int[] vtxIds, int vtxIdCount) argument
578 rsnMeshGetIndices(int con, int id, int[] idxIds, int[] primitives, int vtxIdCount) argument
[all...]
/frameworks/base/libs/rs/
H A DrsThreadIO.cpp120 bool ThreadIO::playCoreCommands(Context *con, bool waitForCommand, uint64_t timeToWait) { argument
122 uint64_t startTime = con->getTime();
128 if (con->props.mLogTimes) {
129 con->timerSet(Context::RS_TIMER_IDLE);
134 delay = timeToWait - (con->getTime() - startTime);
144 if (con->props.mLogTimes) {
145 con->timerSet(Context::RS_TIMER_INTERNAL);
152 LOGE("playCoreCommands error con %p, cmd %i", con, cmdID);
155 gPlaybackFuncs[cmdID](con, dat
[all...]
H A DrsFileA3D.cpp364 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) { argument
378 void rsaFileA3DGetNumIndexEntries(RsContext con, int32_t *numEntries, RsFile file) { argument
388 void rsaFileA3DGetIndexEntries(RsContext con, RsFileIndexEntry *fileEntries, uint32_t numEntries, RsFile file) { argument
409 RsFile rsaFileA3DCreateFromMemory(RsContext con, const void *data, uint32_t len) { argument
415 Context *rsc = static_cast<Context *>(con);
423 RsFile rsaFileA3DCreateFromAsset(RsContext con, void *_asset) { argument
424 Context *rsc = static_cast<Context *>(con);
433 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) { argument
439 Context *rsc = static_cast<Context *>(con);
H A DrsThreadIO.h40 bool playCoreCommands(Context *con, bool waitForCommand, uint64_t timeToWait);
H A DrsContext.cpp55 Context::PushState::PushState(Context *con) { argument
56 mRsc = con;
57 if (con->mIsGraphicsContext) {
58 mFragment.set(con->getProgramFragment());
59 mVertex.set(con->getProgramVertex());
60 mStore.set(con->getProgramStore());
61 mRaster.set(con->getProgramRaster());
62 mFont.set(con->getFont());
734 void rsaGetName(RsContext con, void * obj, const char **name) { argument
H A DRenderScript.h47 const void* rsaAllocationGetType(RsContext con, RsAllocation va);
H A DrsMesh.cpp285 void rsaMeshGetVertexBufferCount(RsContext con, RsMesh mv, int32_t *numVtx) { argument
290 void rsaMeshGetIndexCount(RsContext con, RsMesh mv, int32_t *numIdx) { argument
295 void rsaMeshGetVertices(RsContext con, RsMesh mv, RsAllocation *vtxData, uint32_t vtxDataCount) { argument
305 void rsaMeshGetIndices(RsContext con, RsMesh mv, RsAllocation *va, uint32_t *primType, uint32_t idxDataCount) { argument
H A DrsElement.cpp353 void rsaElementGetNativeData(RsContext con, RsElement elem, argument
366 void rsaElementGetSubElements(RsContext con, RsElement elem, uint32_t *ids, argument
H A DrsAllocation.cpp331 static void AllocationGenerateScriptMips(RsContext con, RsAllocation va);
464 static void AllocationGenerateScriptMips(RsContext con, RsAllocation va) { argument
465 Context *rsc = static_cast<Context *>(con);
573 const void * rsaAllocationGetType(RsContext con, RsAllocation va) { argument
H A DrsType.cpp277 void rsaTypeGetNativeData(RsContext con, RsType type, uint32_t *typeData, uint32_t typeDataSize) { argument
/frameworks/base/core/java/android/net/http/
H A DConnectionThread.java134 String con = mConnection == null ? "" : mConnection.toString();
136 return "cid " + mId + " " + active + " " + con;
H A DRequestQueue.java175 Connection con = mIdleCache.getConnection(host);
176 if (con == null) {
178 con = Connection.getConnection(mContext, host, mProxyHost,
181 return con;
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DAppCacheTest.java205 Context con = super.getContext();
207 FileOutputStream fos = con.openFileOutput(fileName, Context.MODE_PRIVATE);
220 Context con = super.getContext();
221 File file = new File(con.getCacheDir(), fileName);
404 Context con = super.getContext();

Completed in 385 milliseconds