Searched defs:bufs (Results 1 - 25 of 59) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/glx/apple/
H A Dapple_xgl_api_stereo.c87 __applegl_glDrawBuffersARB(GLsizei n, const GLenum * bufs) argument
98 if (GL_BACK == bufs[i]) {
101 else if (GL_FRONT == bufs[i]) {
105 newbuf[outi++] = bufs[i];
122 __ogl_framework_api->DrawBuffersARB(n, bufs);
/external/ipsec-tools/src/racoon/
H A Dprivsep.h55 struct admin_com_bufs bufs; member in struct:privsep_com_msg
H A Dprivsep.c292 char *bufs[PRIVSEP_NBUF_MAX]; local
308 bufs[i] = (char *)data;
309 data += combuf->bufs.buflen[i];
310 totallen += combuf->bufs.buflen[i];
315 "corrupted privsep message (bufs too big)\n");
345 bufs[0][combuf->bufs.buflen[0] - 1] = '\0';
347 if (unsafe_path(bufs[0], LC_PATHTYPE_CERT) != 0) {
350 "unsafe cert \"%s\"\n", bufs[0]);
354 "eay_get_pkcs1privkey(\"%s\")\n", bufs[
[all...]
/external/mesa3d/src/glx/apple/
H A Dapple_xgl_api_stereo.c87 __applegl_glDrawBuffersARB(GLsizei n, const GLenum * bufs) argument
98 if (GL_BACK == bufs[i]) {
101 else if (GL_FRONT == bufs[i]) {
105 newbuf[outi++] = bufs[i];
122 __ogl_framework_api->DrawBuffersARB(n, bufs);
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DWebGLDrawBuffers.cpp69 const GLenum* bufs = buffers.data(); local
75 if (bufs[0] != GL_BACK && bufs[0] != GL_NONE) {
80 GLenum value = (bufs[0] == GL_BACK) ? GL_COLOR_ATTACHMENT0 : GL_NONE;
82 m_context->setBackDrawBuffer(bufs[0]);
89 if (bufs[i] != GL_NONE && bufs[i] != static_cast<GLenum>(GL_COLOR_ATTACHMENT0_EXT + i)) {
H A DWebGLFramebuffer.cpp585 void WebGLFramebuffer::drawBuffers(const Vector<GLenum>& bufs) argument
587 m_drawBuffers = bufs;
/external/stlport/test/unit/
H A Dmvctor_test.cpp179 vector<int*> bufs; local
181 bufs.push_back(&vect_deque[0].front());
182 bufs.push_back(&vect_deque[1].front());
183 bufs.push_back(&vect_deque[2].front());
191 bufs.insert(bufs.begin() + pos, &vect_deque[pos].front());
192 bufs.insert(bufs.begin() + pos + 1, &vect_deque[pos + 1].front());
198 CPPUNIT_ASSERT( bufs[i] == &vect_deque[i].front() );
199 CPPUNIT_ASSERT( bufs[1
209 vector<int*> bufs; local
240 vector<int*> bufs; local
332 vector<int*> bufs; local
403 vector<int*> bufs; local
430 vector<int*> bufs; local
460 vector<int*> bufs; local
552 vector<int*> bufs; local
[all...]
/external/chromium_org/third_party/angle/tests/angle_tests/
H A DDrawBuffersTest.cpp203 const GLenum bufs[] = local
209 glDrawBuffersEXT(2, bufs);
230 const GLenum bufs[] = local
239 glDrawBuffersEXT(4, bufs);
253 GLenum bufs[8] = { GL_NONE }; local
260 bufs[texIndex + 4] = GL_COLOR_ATTACHMENT4 + texIndex;
267 glDrawBuffersEXT(8, bufs);
/external/chromium_org/third_party/boringssl/src/crypto/cipher/
H A Daead_test.c72 unsigned char bufs[NUM_TYPES][BUF_MAX],
79 if (!EVP_AEAD_CTX_init(&ctx, aead, bufs[KEY], lengths[KEY], lengths[TAG],
85 if (!EVP_AEAD_CTX_seal(&ctx, out, &ciphertext_len, sizeof(out), bufs[NONCE],
86 lengths[NONCE], bufs[IN], lengths[IN], bufs[AD],
98 if (memcmp(out, bufs[CT], lengths[CT]) != 0) {
103 if (memcmp(out + lengths[CT], bufs[TAG], lengths[TAG]) != 0) {
111 if (!EVP_AEAD_CTX_init(&ctx, aead, bufs[KEY], lengths[KEY], lengths[TAG],
117 if (!EVP_AEAD_CTX_open(&ctx, out2, &plaintext_len, lengths[IN], bufs[NONCE],
118 lengths[NONCE], out, ciphertext_len, bufs[A
71 run_test_case(const EVP_AEAD *aead, unsigned char bufs[NUM_TYPES][BUF_MAX], const unsigned int lengths[NUM_TYPES], unsigned int line_no) argument
156 unsigned char bufs[NUM_TYPES][BUF_MAX]; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Dconvert_jpeg.cc161 I420Buffers bufs = { y, y_stride, u, u_stride, v, v_stride, dw, dh }; local
172 ret = mjpeg_decoder.DecodeToCallback(&JpegCopyI420, &bufs, dw, dh);
183 ret = mjpeg_decoder.DecodeToCallback(&JpegI422ToI420, &bufs, dw, dh);
194 ret = mjpeg_decoder.DecodeToCallback(&JpegI444ToI420, &bufs, dw, dh);
205 ret = mjpeg_decoder.DecodeToCallback(&JpegI411ToI420, &bufs, dw, dh);
212 ret = mjpeg_decoder.DecodeToCallback(&JpegI400ToI420, &bufs, dw, dh);
323 ARGBBuffers bufs = { argb, argb_stride, dw, dh }; local
334 ret = mjpeg_decoder.DecodeToCallback(&JpegI420ToARGB, &bufs, dw, dh);
345 ret = mjpeg_decoder.DecodeToCallback(&JpegI422ToARGB, &bufs, dw, dh);
356 ret = mjpeg_decoder.DecodeToCallback(&JpegI444ToARGB, &bufs, d
[all...]
/external/chromium_org/third_party/libyuv/source/
H A Dconvert_jpeg.cc161 I420Buffers bufs = { y, y_stride, u, u_stride, v, v_stride, dw, dh }; local
172 ret = mjpeg_decoder.DecodeToCallback(&JpegCopyI420, &bufs, dw, dh);
183 ret = mjpeg_decoder.DecodeToCallback(&JpegI422ToI420, &bufs, dw, dh);
194 ret = mjpeg_decoder.DecodeToCallback(&JpegI444ToI420, &bufs, dw, dh);
205 ret = mjpeg_decoder.DecodeToCallback(&JpegI411ToI420, &bufs, dw, dh);
212 ret = mjpeg_decoder.DecodeToCallback(&JpegI400ToI420, &bufs, dw, dh);
323 ARGBBuffers bufs = { argb, argb_stride, dw, dh }; local
334 ret = mjpeg_decoder.DecodeToCallback(&JpegI420ToARGB, &bufs, dw, dh);
345 ret = mjpeg_decoder.DecodeToCallback(&JpegI422ToARGB, &bufs, dw, dh);
356 ret = mjpeg_decoder.DecodeToCallback(&JpegI444ToARGB, &bufs, d
[all...]
/external/openssl/crypto/rc2/
H A Drc2test.c256 static char bufs[10][20]; local
262 ret= &(bufs[bnum++][0]);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/pipebuffer/
H A Dpb_bufmgr_pool.c72 struct pool_buffer *bufs; member in struct:pool_pb_manager
243 FREE(pool->bufs);
294 pool->bufs = (struct pool_buffer *)CALLOC(numBufs, sizeof(*pool->bufs));
295 if (!pool->bufs)
298 pool_buf = pool->bufs;
314 if(pool->bufs)
315 FREE(pool->bufs);
/external/clang/lib/Frontend/
H A DChainedIncludesSource.cpp175 SmallVector<llvm::MemoryBuffer *, 4> bufs; local
179 bufs.push_back(llvm::MemoryBuffer::getMemBuffer(SB->getBuffer()));
186 Reader = createASTReader(*Clang, pchName, bufs, serialBufNames,
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
H A Dpb_bufmgr_pool.c72 struct pool_buffer *bufs; member in struct:pool_pb_manager
243 FREE(pool->bufs);
294 pool->bufs = (struct pool_buffer *)CALLOC(numBufs, sizeof(*pool->bufs));
295 if (!pool->bufs)
298 pool_buf = pool->bufs;
314 if(pool->bufs)
315 FREE(pool->bufs);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dr200_sanity.c618 static int total, total_changed, bufs; variable
1400 bufs++;
1441 bufs,
1445 (float)total/(float)bufs);
1447 (float)total_changed/(float)bufs);
1449 bufs = n = total = total_changed = 0;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_sanity.c340 static int total, total_changed, bufs; variable
1033 bufs++;
1067 bufs,
1071 (float)total/(float)bufs);
1073 (float)total_changed/(float)bufs);
1075 bufs = n = total = total_changed = 0;
/external/e2fsprogs/e2fsck/
H A Drecovery.c76 struct buffer_head * bufs[MAXBUF]; local
104 bufs[nbufs++] = bh;
106 ll_rw_block(READ, nbufs, bufs);
107 journal_brelse_array(bufs, nbufs);
115 ll_rw_block(READ, nbufs, bufs);
120 journal_brelse_array(bufs, nbufs);
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_sanity.c618 static int total, total_changed, bufs; variable
1400 bufs++;
1441 bufs,
1445 (float)total/(float)bufs);
1447 (float)total_changed/(float)bufs);
1449 bufs = n = total = total_changed = 0;
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_sanity.c340 static int total, total_changed, bufs; variable
1033 bufs++;
1067 bufs,
1071 (float)total/(float)bufs);
1073 (float)total_changed/(float)bufs);
1075 bufs = n = total = total_changed = 0;
/external/openssl/crypto/des/
H A Ddestest.c833 static char bufs[10][20]; local
839 ret= &(bufs[bnum++][0]);
/external/aac/libAACenc/include/
H A Daacenc_lib.h793 void **bufs; /*!< Pointer to vector containing buffer addresses. */ member in struct:__anon58
/external/chromium_org/content/child/webcrypto/test/
H A Dtest_helpers.cc245 // Creates a comparator for |bufs| which operates on indices rather than values.
248 explicit CompareUsingIndex(const std::vector<std::vector<uint8_t> >* bufs) argument
249 : bufs_(bufs) {}
257 bool CopiesExist(const std::vector<std::vector<uint8_t> >& bufs) { argument
258 // Sort the indices of |bufs| into a separate vector. This reduces the amount
259 // of data copied versus sorting |bufs| directly.
260 std::vector<size_t> sorted_indices(bufs.size());
264 sorted_indices.begin(), sorted_indices.end(), CompareUsingIndex(&bufs));
268 if (bufs[sorted_indices[i]] == bufs[sorted_indice
[all...]
/external/chromium_org/gpu/command_buffer/service/
H A Dframebuffer_manager.cc562 void Framebuffer::SetDrawBuffers(GLsizei n, const GLenum* bufs) { argument
565 draw_buffers_[i] = bufs[i];
H A Dgles2_cmd_decoder_unittest_framebuffers.cc2070 const GLenum bufs[] = {GL_COLOR_ATTACHMENT0}; local
2072 cmd.Init(count, bufs);
2077 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(bufs)));
2083 const GLenum bufs[] = {GL_COLOR_ATTACHMENT1_EXT}; local
2085 cmd.Init(count, bufs);
2089 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(bufs)));
2095 const GLenum bufs[] = {GL_BACK}; local
2097 cmd.Init(count, bufs);
2101 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(bufs)));
2108 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(bufs)));
[all...]

Completed in 773 milliseconds

123