Home
last modified time | relevance | path

Searched refs:bufs (Results 1 – 25 of 48) sorted by relevance

12

/external/ipsec-tools/src/racoon/
Dprivsep.c292 char *bufs[PRIVSEP_NBUF_MAX]; in privsep_init() local
308 bufs[i] = (char *)data; in privsep_init()
309 data += combuf->bufs.buflen[i]; in privsep_init()
310 totallen += combuf->bufs.buflen[i]; in privsep_init()
345 bufs[0][combuf->bufs.buflen[0] - 1] = '\0'; in privsep_init()
347 if (unsafe_path(bufs[0], LC_PATHTYPE_CERT) != 0) { in privsep_init()
350 "unsafe cert \"%s\"\n", bufs[0]); in privsep_init()
354 "eay_get_pkcs1privkey(\"%s\")\n", bufs[0]); in privsep_init()
356 if ((privkey = eay_get_pkcs1privkey(bufs[0])) == NULL){ in privsep_init()
361 reply->bufs.buflen[0] = privkey->l; in privsep_init()
[all …]
Dprivsep.h55 struct admin_com_bufs bufs; member
/external/mesa3d/src/glx/apple/
Dapple_xgl_api_stereo.c87 __applegl_glDrawBuffersARB(GLsizei n, const GLenum * bufs) in __applegl_glDrawBuffersARB() argument
98 if (GL_BACK == bufs[i]) { in __applegl_glDrawBuffersARB()
101 else if (GL_FRONT == bufs[i]) { in __applegl_glDrawBuffersARB()
105 newbuf[outi++] = bufs[i]; in __applegl_glDrawBuffersARB()
122 __ogl_framework_api->DrawBuffersARB(n, bufs); in __applegl_glDrawBuffersARB()
Dapple_xgl_api.h39 void __applegl_glDrawBuffersARB(GLsizei n, const GLenum * bufs);
/external/libvpx/libvpx/third_party/libyuv/source/
Dconvert_jpeg.cc161 I420Buffers bufs = { y, y_stride, u, u_stride, v, v_stride, dw, dh }; in MJPGToI420() local
172 ret = mjpeg_decoder.DecodeToCallback(&JpegCopyI420, &bufs, dw, dh); in MJPGToI420()
183 ret = mjpeg_decoder.DecodeToCallback(&JpegI422ToI420, &bufs, dw, dh); in MJPGToI420()
194 ret = mjpeg_decoder.DecodeToCallback(&JpegI444ToI420, &bufs, dw, dh); in MJPGToI420()
205 ret = mjpeg_decoder.DecodeToCallback(&JpegI411ToI420, &bufs, dw, dh); in MJPGToI420()
212 ret = mjpeg_decoder.DecodeToCallback(&JpegI400ToI420, &bufs, dw, dh); in MJPGToI420()
323 ARGBBuffers bufs = { argb, argb_stride, dw, dh }; in MJPGToARGB() local
334 ret = mjpeg_decoder.DecodeToCallback(&JpegI420ToARGB, &bufs, dw, dh); in MJPGToARGB()
345 ret = mjpeg_decoder.DecodeToCallback(&JpegI422ToARGB, &bufs, dw, dh); in MJPGToARGB()
356 ret = mjpeg_decoder.DecodeToCallback(&JpegI444ToARGB, &bufs, dw, dh); in MJPGToARGB()
[all …]
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr_pool.c72 struct pool_buffer *bufs; member
243 FREE(pool->bufs); in pool_bufmgr_destroy()
294 pool->bufs = (struct pool_buffer *)CALLOC(numBufs, sizeof(*pool->bufs)); in pool_bufmgr_create()
295 if (!pool->bufs) in pool_bufmgr_create()
298 pool_buf = pool->bufs; in pool_bufmgr_create()
314 if(pool->bufs) in pool_bufmgr_create()
315 FREE(pool->bufs); in pool_bufmgr_create()
/external/toybox/toys/posix/
Dod.c37 uint64_t bufs[4]; // force 64-bit alignment
136 && !memcmp(TT.bufs, TT.bufs + 2, 16)) in od_outline()
184 TT.buf = (char *)((TT.buf == (char *)TT.bufs) ? TT.bufs+2 : TT.bufs); in od_outline()
266 TT.buf = (char *)TT.bufs; in od_main()
Dcal.c100 char *bufs[12]; in cal_main() local
106 buf = calstrings(bufs[i]=buf, tm); in cal_main()
113 char **b = bufs+(k+i*3); in cal_main()
/external/libdrm/
Dxf86drm.c1216 drm_buf_map_t bufs; in drmMapBufs() local
1220 bufs.count = 0; in drmMapBufs()
1221 bufs.list = NULL; in drmMapBufs()
1222 bufs.virtual = NULL; in drmMapBufs()
1223 if (drmIoctl(fd, DRM_IOCTL_MAP_BUFS, &bufs)) in drmMapBufs()
1226 if (!bufs.count) in drmMapBufs()
1229 if (!(bufs.list = drmMalloc(bufs.count * sizeof(*bufs.list)))) in drmMapBufs()
1232 if (drmIoctl(fd, DRM_IOCTL_MAP_BUFS, &bufs)) { in drmMapBufs()
1233 drmFree(bufs.list); in drmMapBufs()
1238 retval->count = bufs.count; in drmMapBufs()
[all …]
/external/libdrm/tests/
Ddrmstat.c120 drmBufMapPtr bufs; in main() local
236 if (!(bufs = drmMapBufs(fd))) { in main()
241 printf( "%d bufs\n", bufs->count); in main()
242 for (i = 0; i < bufs->count; i++) { in main()
245 bufs->list[i].total, in main()
246 bufs->list[i].address); in main()
/external/javassist/src/main/javassist/
DClassPoolTail.java385 byte[][] bufs = new byte[8][]; in readStream()
389 bufs[i] = new byte[bufsize]; in readStream()
393 len = fin.read(bufs[i], size, bufsize - size); in readStream()
400 System.arraycopy(bufs[j], 0, result, s, s + 4096); in readStream()
404 System.arraycopy(bufs[i], 0, result, s, size); in readStream()
/external/e2fsprogs/e2fsck/
Drecovery.c76 struct buffer_head * bufs[MAXBUF]; in do_readahead() local
104 bufs[nbufs++] = bh; in do_readahead()
106 ll_rw_block(READ, nbufs, bufs); in do_readahead()
107 journal_brelse_array(bufs, nbufs); in do_readahead()
115 ll_rw_block(READ, nbufs, bufs); in do_readahead()
120 journal_brelse_array(bufs, nbufs); in do_readahead()
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h324 static INLINE void ref_cnt_fb(RefCntBuffer *bufs, int *idx, int new_idx) { in ref_cnt_fb() argument
327 if (ref_index >= 0 && bufs[ref_index].ref_count > 0) in ref_cnt_fb()
328 bufs[ref_index].ref_count--; in ref_cnt_fb()
332 bufs[new_idx].ref_count++; in ref_cnt_fb()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_sanity.c340 static int total, total_changed, bufs; variable
1033 bufs++; in radeonSanityCmdBuffer()
1067 bufs, in radeonSanityCmdBuffer()
1071 (float)total/(float)bufs); in radeonSanityCmdBuffer()
1073 (float)total_changed/(float)bufs); in radeonSanityCmdBuffer()
1075 bufs = n = total = total_changed = 0; in radeonSanityCmdBuffer()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
DModelConverter.java139 IntMap<VertexBuffer> bufs = mesh.getBuffers(); in optimize() local
140 for (Entry<VertexBuffer> entry : bufs){ in optimize()
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.h75 const struct pipe_vertex_buffer *bufs);
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DTriangleCollector.java133 IntMap<VertexBuffer> bufs = in.getBuffers(); in gatherTris() local
134 for (Entry<VertexBuffer> ent : bufs){ in gatherTris()
/external/aac/libAACenc/src/
Daacenc_lib.cpp1454 if (outBufDesc->bufs[i]!=NULL) { in aacEncEncode()
1455 FDKmemclear(outBufDesc->bufs[i], outBufDesc->bufSizes[i]); in aacEncEncode()
1482 … FDKmemcpy(pIn, (INT_PCM*)inBufDesc->bufs[idx], newSamples*sizeof(INT_PCM)); /* Fast copy. */ in aacEncEncode()
1486 …pIn[i] = (INT_PCM)(((LONG*)inBufDesc->bufs[idx])[i]>>16); /* Convert 32 to 16 bit. … in aacEncEncode()
1491 …pIn[i] = ((INT_PCM)(((SHORT*)inBufDesc->bufs[idx])[i]))<<16; /* Convert 16 to 32 bit. … in aacEncEncode()
1552 pMetaData = (AACENC_MetaData*)inBufDesc->bufs[getBufDescIdx(inBufDesc,IN_METADATA_SETUP)]; in aacEncEncode()
1622 hAacEncoder->extPayload[nExtensions].pData = (UCHAR*)inBufDesc->bufs[idx]; in aacEncEncode()
1669 ((INT*)outBufDesc->bufs[auIdx])[i] = outBytes[i]; in aacEncEncode()
1674 FDKmemcpy(outBufDesc->bufs[bsIdx], hAacEncoder->outBuffer, sizeof(UCHAR)*nBsBytes); in aacEncEncode()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_sanity.c618 static int total, total_changed, bufs; variable
1400 bufs++; in r200SanityCmdBuffer()
1441 bufs, in r200SanityCmdBuffer()
1445 (float)total/(float)bufs); in r200SanityCmdBuffer()
1447 (float)total_changed/(float)bufs); in r200SanityCmdBuffer()
1449 bufs = n = total = total_changed = 0; in r200SanityCmdBuffer()
/external/deqp/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp392 vector<deUint32> bufs; in genRenderbuffers() local
394 bufs.resize(drawBuffers.size()); in genRenderbuffers()
408 bufs[renderbufferNdx] = GL_COLOR_ATTACHMENT0 + renderbufferNdx; in genRenderbuffers()
417 gl.drawBuffers((glw::GLsizei)bufs.size(), &(bufs[0])); in genRenderbuffers()
979 vector<deUint32> bufs; in renderQuad() local
981 bufs.resize(drawBuffers.size()); in renderQuad()
983 for (int bufNdx = 0; bufNdx < (int)bufs.size(); bufNdx++) in renderQuad()
984 bufs[bufNdx] = (drawBuffers[bufNdx].getRender() ? GL_COLOR_ATTACHMENT0 + bufNdx : GL_NONE); in renderQuad()
999 gl.drawBuffers((glw::GLsizei)bufs.size(), &(bufs[0])); in renderQuad()
/external/libyuv/files/source/
Dconvert_argb.cc931 ARGBBuffers bufs = { argb, argb_stride, dw, dh }; in MJPGToARGB() local
942 ret = mjpeg_decoder.DecodeToCallback(&JpegI420ToARGB, &bufs, dw, dh); in MJPGToARGB()
953 ret = mjpeg_decoder.DecodeToCallback(&JpegI422ToARGB, &bufs, dw, dh); in MJPGToARGB()
964 ret = mjpeg_decoder.DecodeToCallback(&JpegI444ToARGB, &bufs, dw, dh); in MJPGToARGB()
975 ret = mjpeg_decoder.DecodeToCallback(&JpegI411ToARGB, &bufs, dw, dh); in MJPGToARGB()
982 ret = mjpeg_decoder.DecodeToCallback(&JpegI400ToARGB, &bufs, dw, dh); in MJPGToARGB()
/external/aac/libAACenc/include/
Daacenc_lib.h793 void **bufs; /*!< Pointer to vector containing buffer addresses. */ member
/external/kernel-headers/original/uapi/video/
Dadf.h148 struct adf_buffer_config __user *bufs; member
/external/deqp/modules/gles3/functional/
Des3fShaderStateQueryTests.cpp2833 GLuint bufs[2] = {0}; in test() local
2835 glGenBuffers(2, bufs); in test()
2843 glBindBuffer(GL_ARRAY_BUFFER, bufs[0]); in test()
2849 glBindBuffer(GL_ARRAY_BUFFER, bufs[1]); in test()
2854 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, bufs[1]); in test()
2859 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, bufs[0]); in test()
2863 glDeleteBuffers(2, bufs); in test()
2921 GLuint bufs[2] = {0}; in test() local
2923 glGenBuffers(2, bufs); in test()
2931 glBindBuffer(GL_ARRAY_BUFFER, bufs[0]); in test()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DBufferUtils.java1105 ArrayList<Buffer> bufs = new ArrayList<Buffer>(trackingHash.keySet()); in printCurrentDirectMemory() local
1108 for (Buffer b : bufs) { in printCurrentDirectMemory()
1138 store.append("Existing buffers: ").append(bufs.size()).append("\n"); in printCurrentDirectMemory()

12