HomeSort by relevance Sort by last modified time
    Searched refs:bufs (Results 1 - 25 of 417) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ipsec-tools/src/racoon/
privsep.c 292 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[0])
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a3xx/
fd3_program.h 43 int nr, struct pipe_surface **bufs);
  /external/mesa3d/src/gallium/drivers/freedreno/a4xx/
fd4_program.h 43 int nr, struct pipe_surface **bufs);
  /hardware/qcom/wlan/qcwcn/wifi_hal/
ring_buffer.cpp 61 rb_entry_t *bufs; // Array of buffer pointers member in struct:ring_buf_cb
112 rbc->bufs = (rb_entry_t *)malloc(num_bufs * sizeof(rb_entry_t));
113 if (rbc->bufs == NULL) {
115 ALOGE("Failed to alloc rbc->bufs");
118 memset(rbc->bufs, 0, (num_bufs * sizeof(rb_entry_t)));
144 free(rbc->bufs[buf_no].data);
146 free(rbc->bufs);
171 if (rbc->bufs[rbc->wr_buf_no].full == 1)
193 if (rbc->bufs[next_buf_no].full == 1) {
207 if (rbc->bufs[next_buf_no].full == 1)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/
18-1.c 46 char *bufs; local
65 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
67 if (bufs == NULL) {
78 aiocbs[0]->aio_buf = bufs;
91 free(bufs);
102 free(bufs);
108 free(bufs);
12-1.c 45 char *bufs; local
67 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
69 if (bufs == NULL) {
83 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
96 free(bufs);
115 free(bufs);
13-1.c 45 char *bufs; local
67 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
69 if (bufs == NULL) {
83 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
100 free(bufs);
133 free(bufs);
14-1.c 59 char *bufs; local
83 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
85 if (bufs == NULL) {
98 free(bufs);
109 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
144 free(bufs);
158 free(bufs);
180 free(bufs);
2-1.c 58 char *bufs; local
82 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
84 if (bufs == NULL) {
98 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
133 free(bufs);
142 free(bufs);
152 free(bufs);
174 free(bufs);
  /external/mesa3d/src/glx/apple/
apple_xgl_api_stereo.c 88 __applegl_glDrawBuffers(GLsizei n, const GLenum * bufs)
99 if (GL_BACK == bufs[i]) {
102 else if (GL_FRONT == bufs[i]) {
106 newbuf[outi++] = bufs[i];
123 __ogl_framework_api->DrawBuffers(n, bufs);
  /device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
mm_qcamera_snapshot.c 65 pme->current_job_frames->bufs[i])) {
68 mm_app_cache_ops((mm_camera_app_meminfo_t *) pme->current_job_frames->bufs[i]->mem_info,
176 * @bufs: Pointer to super buffer
182 static void mm_app_snapshot_metadata_notify_cb(mm_camera_super_buf_t *bufs,
192 if (NULL == bufs || NULL == user_data) {
193 LOGE(" bufs or user_data are not valid ");
196 frame = bufs->bufs[0];
200 if (pme->channels[i].ch_id == bufs->ch_id) {
225 for (i = 0; i < bufs->num_bufs; i++)
    [all...]
mm_qcamera_preview.c 47 static void mm_app_metadata_notify_cb(mm_camera_super_buf_t *bufs,
57 if (NULL == bufs || NULL == user_data) {
58 LOGE("bufs or user_data are not valid ");
61 frame = bufs->bufs[0];
65 if (pme->channels[i].ch_id == bufs->ch_id) {
90 for (i = 0; i < bufs->num_bufs; i++) {
91 if (bufs->bufs[i]->stream_id == p_stream->s_id) {
92 frame = bufs->bufs[i]
    [all...]
  /device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
mm_qcamera_snapshot.c 64 pme->current_job_frames->bufs[i])) {
67 mm_app_cache_ops((mm_camera_app_meminfo_t *) pme->current_job_frames->bufs[i]->mem_info,
175 * @bufs: Pointer to super buffer
180 static void mm_app_snapshot_metadata_notify_cb(mm_camera_super_buf_t *bufs,
190 if (NULL == bufs || NULL == user_data) {
191 CDBG_ERROR("%s: bufs or user_data are not valid ", __func__);
194 frame = bufs->bufs[0];
198 if (pme->channels[i].ch_id == bufs->ch_id) {
223 for (i = 0; i < bufs->num_bufs; i++)
    [all...]
mm_qcamera_preview.c 36 static void mm_app_metadata_notify_cb(mm_camera_super_buf_t *bufs,
46 if (NULL == bufs || NULL == user_data) {
47 CDBG_ERROR("%s: bufs or user_data are not valid ", __func__);
50 frame = bufs->bufs[0];
54 if (pme->channels[i].ch_id == bufs->ch_id) {
79 for (i = 0; i < bufs->num_bufs; i++) {
80 if (bufs->bufs[i]->stream_id == p_stream->s_id) {
81 frame = bufs->bufs[i]
    [all...]
  /device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
mm_qcamera_snapshot.c 64 pme->current_job_frames->bufs[i])) {
67 mm_app_cache_ops((mm_camera_app_meminfo_t *) pme->current_job_frames->bufs[i]->mem_info,
175 * @bufs: Pointer to super buffer
180 static void mm_app_snapshot_metadata_notify_cb(mm_camera_super_buf_t *bufs,
190 if (NULL == bufs || NULL == user_data) {
191 CDBG_ERROR("%s: bufs or user_data are not valid ", __func__);
194 frame = bufs->bufs[0];
198 if (pme->channels[i].ch_id == bufs->ch_id) {
223 for (i = 0; i < bufs->num_bufs; i++)
    [all...]
mm_qcamera_preview.c 36 static void mm_app_metadata_notify_cb(mm_camera_super_buf_t *bufs,
46 if (NULL == bufs || NULL == user_data) {
47 CDBG_ERROR("%s: bufs or user_data are not valid ", __func__);
50 frame = bufs->bufs[0];
54 if (pme->channels[i].ch_id == bufs->ch_id) {
79 for (i = 0; i < bufs->num_bufs; i++) {
80 if (bufs->bufs[i]->stream_id == p_stream->s_id) {
81 frame = bufs->bufs[i]
    [all...]
  /system/extras/tests/pagingtest/
thrashing_test.c 17 volatile char *bufs[4] = {0}; local
44 bufs[i] = mmap(NULL, filesize, PROT_READ, MAP_PRIVATE, fds[i], 0);
45 if (bufs[i] == ((void *)-1)) {
51 ret = madvise((void *)bufs[i], filesize, MADV_RANDOM) ||
63 bufs[j][k];
79 for (size_t i = 0; i < ARRAY_SIZE(bufs) && bufs[i] != NULL; i++) {
80 munmap((void *)bufs[i], filesize);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
1-1.c 69 char *bufs; local
93 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
95 if (bufs == NULL) {
101 if (write(fd, bufs, NUM_AIOCBS * BUF_SIZE) != (NUM_AIOCBS * BUF_SIZE)) {
103 free(bufs);
117 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
144 free(bufs);
157 free(bufs);
170 free(bufs);
185 free(bufs);
    [all...]
  /external/boringssl/src/crypto/pool/
internal.h 36 LHASH_OF(CRYPTO_BUFFER) *bufs; member in struct:crypto_buffer_pool_st
pool.c 47 pool->bufs = lh_CRYPTO_BUFFER_new(CRYPTO_BUFFER_hash, CRYPTO_BUFFER_cmp);
48 if (pool->bufs == NULL) {
65 assert(lh_CRYPTO_BUFFER_num_items(pool->bufs) == 0);
69 lh_CRYPTO_BUFFER_free(pool->bufs);
83 lh_CRYPTO_BUFFER_retrieve(pool->bufs, &tmp);
116 CRYPTO_BUFFER *duplicate = lh_CRYPTO_BUFFER_retrieve(pool->bufs, buf);
120 inserted = lh_CRYPTO_BUFFER_insert(pool->bufs, &old, buf);
170 void *found = lh_CRYPTO_BUFFER_delete(pool->bufs, buf);
  /packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
ByteArrayPool.java 75 public void releaseChunks(List<byte[]> bufs) {
77 for (int i = 0, c = bufs.size(); i < c; i++) {
81 byte[] buf = bufs.get(i);
83 mCachedBuf.add(bufs.get(i));
  /external/lzma/C/
Bcj2.c 43 if (p->bufs[BCJ2_STREAM_RC] == p->lims[BCJ2_STREAM_RC])
49 p->code = (p->code << 8) | *(p->bufs[BCJ2_STREAM_RC])++;
72 const Byte *cur = p->bufs[p->state];
75 p->bufs[p->state] = cur + 4;
112 if (p->bufs[BCJ2_STREAM_RC] == p->lims[BCJ2_STREAM_RC])
118 p->code = (p->code << 8) | *(p->bufs[BCJ2_STREAM_RC])++;
122 const Byte *src = p->bufs[BCJ2_STREAM_MAIN];
170 num = src - p->bufs[BCJ2_STREAM_MAIN];
175 p->bufs[BCJ2_STREAM_MAIN] = src;
179 p->bufs[BCJ2_STREAM_MAIN] ==
    [all...]
  /hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
mm_qcamera_video.c 34 static void mm_app_metadata_notify_cb(mm_camera_super_buf_t *bufs,
44 if (NULL == bufs || NULL == user_data) {
45 LOGE("bufs or user_data are not valid ");
48 frame = bufs->bufs[0];
52 if (pme->channels[i].ch_id == bufs->ch_id) {
77 for (i = 0; i < bufs->num_bufs; i++) {
78 if (bufs->bufs[i]->stream_id == p_stream->s_id) {
79 frame = bufs->bufs[i]
    [all...]
  /external/libese/libese/
ese_sg.c 21 ESE_API uint32_t ese_sg_length(const struct EseSgBuffer *bufs, uint32_t cnt) {
22 const struct EseSgBuffer *buf = bufs;
24 if (!bufs || cnt == 0) {
27 while (buf < bufs + cnt) {
  /external/syslinux/core/fs/pxe/
ftp_readdir.c 48 char bufs[2][FILENAME_MAX + 1]; local
50 char *buf = bufs[nbuf];
113 name = bufs[nbuf ^ 1];
117 p = buf = bufs[nbuf];

Completed in 5289 milliseconds

1 2 3 4 5 6 7 8 91011>>