Home
last modified time | relevance | path

Searched refs:ofs (Results 1 - 25 of 168) sorted by relevance

1234567

/third_party/libwebsockets/lib/misc/lwsac/
H A Dlwsac.c63 return lac->ofs; in lwsac_get_tail_pos()
84 if (bf->alloc_size - bf->ofs < lwsac_align(amount)) in lwsac_extend()
89 memset(((uint8_t *)bf) + bf->ofs, 0, lwsac_align(amount)); in lwsac_extend()
90 bf->ofs += lwsac_align(amount); in lwsac_extend()
99 size_t ofs, alloc, al, hp; in _lwsac_use() local
114 if (bf->alloc_size - bf->ofs >= ensure) in _lwsac_use()
125 if (bf->alloc_size - bf->ofs >= ensure) in _lwsac_use()
158 * belabouring the point... ofs is aligned to the platform's in _lwsac_use()
161 bf->ofs = sizeof(*bf); in _lwsac_use()
171 bf->ofs in _lwsac_use()
[all...]
/third_party/libcoap/tests/
H A Dtest_wellknown.c37 size_t buflen, offset, ofs; in t_wellknown1() local
54 ofs = offset; in t_wellknown1()
57 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown1()
65 ofs = offset; in t_wellknown1()
67 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown1()
74 ofs = buflen; in t_wellknown1()
75 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown1()
86 size_t buflen, offset, ofs; in t_wellknown2() local
101 ofs = offset; in t_wellknown2()
104 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown2()
[all...]
/third_party/FatFs/documents/res/
H A Dapp6.c20 DWORD ofs, tmr; in test_raw_speed() local
34 for (ofs = 0; ofs < len / ss; ofs += sz_buff / ss) { in test_raw_speed()
35 if (disk_write(pdrv, buff, lba + ofs, sz_buff / ss) != RES_OK) { in test_raw_speed()
49 for (ofs = 0; ofs < len / ss; ofs += sz_buff / ss) { in test_raw_speed()
50 if (disk_read(pdrv, buff, lba + ofs, sz_buff / ss) != RES_OK) { in test_raw_speed()
/third_party/ffmpeg/libavcodec/
H A Dvmdvideo.c196 int ofs; in vmd_decode() local
296 ofs = 0; in vmd_decode()
301 if (ofs + len > frame_width || in vmd_decode()
304 bytestream2_get_bufferu(&gb, &dp[ofs], len); in vmd_decode()
305 ofs += len; in vmd_decode()
308 if (ofs + len + 1 > frame_width || !pp) in vmd_decode()
310 memcpy(&dp[ofs], &pp[ofs], len + 1); in vmd_decode()
311 ofs += len + 1; in vmd_decode()
313 } while (ofs < frame_widt in vmd_decode()
[all...]
/third_party/mesa3d/src/util/
H A Du_mm.c45 debug_printf(" Offset:%08x, Size:%08x, %c%c\n", p->ofs, p->size, in u_mmDumpMemInfo()
59 debug_printf(" FREE Offset:%08x, Size:%08x, %c%c\n", p->ofs, p->size, in u_mmDumpMemInfo()
70 u_mmInit(int ofs, int size) in u_mmInit() argument
98 block->ofs = ofs; in u_mmInit()
114 if (startofs > p->ofs) { in SliceBlock()
118 newblock->ofs = startofs; in SliceBlock()
119 newblock->size = p->size - (startofs - p->ofs); in SliceBlock()
142 newblock->ofs = startofs + size; in SliceBlock()
197 startofs = (p->ofs in u_mmAllocMem()
[all...]
/third_party/libexif/libexif/apple/
H A Dexif-mnote-data-apple.c61 unsigned int ofs, dofs; in exif_mnote_data_apple_load() local
72 ofs = d->offset + 6; in exif_mnote_data_apple_load()
73 if (ofs > buf_size - 16) { in exif_mnote_data_apple_load()
79 if ((buf[ofs + 12] == 'M') && (buf[ofs + 13] == 'M')) { in exif_mnote_data_apple_load()
81 } else if ((buf[ofs + 12] == 'I') && (buf[ofs + 13] == 'I')) { in exif_mnote_data_apple_load()
90 tcount = (unsigned int) exif_get_short(buf + ofs + 14, d->order); in exif_mnote_data_apple_load()
102 ofs += 16; in exif_mnote_data_apple_load()
116 if (ofs in exif_mnote_data_apple_load()
[all...]
/third_party/libdrm/intel/
H A Dmm.c41 drmMsg(" Offset:%08x, Size:%08x, %c%c\n", p->ofs, in mmDumpMemInfo()
49 drmMsg(" FREE Offset:%08x, Size:%08x, %c%c\n", p->ofs, in mmDumpMemInfo()
58 drm_private struct mem_block *mmInit(int ofs, int size) in mmInit() argument
86 block->ofs = ofs; in mmInit()
100 if (startofs > p->ofs) { in SliceBlock()
105 newblock->ofs = startofs; in SliceBlock()
106 newblock->size = p->size - (startofs - p->ofs); in SliceBlock()
130 newblock->ofs = startofs + size; in SliceBlock()
177 startofs = (p->ofs in mmAllocMem()
[all...]
/third_party/musl/src/linux/
H A Dpwritev2.c6 ssize_t pwritev2(int fd, const struct iovec *iov, int count, off_t ofs, int flags) in pwritev2() argument
10 if (ofs==-1) return writev(fd, iov, count); in pwritev2()
12 (long)(ofs), (long)(ofs>>32)); in pwritev2()
16 (long)(ofs), (long)(ofs>>32), flags); in pwritev2()
H A Dpreadv2.c6 ssize_t preadv2(int fd, const struct iovec *iov, int count, off_t ofs, int flags) in preadv2() argument
10 if (ofs==-1) return readv(fd, iov, count); in preadv2()
12 (long)(ofs), (long)(ofs>>32)); in preadv2()
16 (long)(ofs), (long)(ofs>>32), flags); in preadv2()
/third_party/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_vp3_video_vp.c32 uint32_t ofs[6]; // 1c..20 ofs member
58 uint32_t ofs[6]; // 10..24 ofs member
96 uint32_t ofs[6]; // 14..28 ofs member
115 uint32_t ofs[6]; // 0c..24 in-image offset member
122 unsigned direct_8x8_inference_flag : 1; // 1 0x02: into vuc ofs 56
124 unsigned constrained_intra_pred_flag : 1; // 3 0x08: into vuc ofs 68
240 nouveau_vp3_ycbcr_offsets(dec, &pic_vp->ofs[ in nouveau_vp3_fill_picparm_mpeg12_vp()
[all...]
/third_party/libwebsockets/lib/misc/
H A Dlws-struct-sqlite.c64 pc = (signed char *)(u + map->ofs); in lws_struct_sq3_deser_cb()
70 ps = (short *)(u + map->ofs); in lws_struct_sq3_deser_cb()
76 pi = (int *)(u + map->ofs); in lws_struct_sq3_deser_cb()
82 pl = (long *)(u + map->ofs); in lws_struct_sq3_deser_cb()
88 pll = (long long *)(u + map->ofs); in lws_struct_sq3_deser_cb()
96 pc = (unsigned char *)(u + map->ofs); in lws_struct_sq3_deser_cb()
102 ps = (unsigned short *)(u + map->ofs); in lws_struct_sq3_deser_cb()
108 pi = (unsigned int *)(u + map->ofs); in lws_struct_sq3_deser_cb()
114 pl = (unsigned long *)(u + map->ofs); in lws_struct_sq3_deser_cb()
120 pll = (unsigned long long *)(u + map->ofs); in lws_struct_sq3_deser_cb()
[all...]
H A Dlws-struct-lejp.c257 (((char *)ctx->pst[ctx->pst_sp - 1].user) + pmap->ofs); in lws_struct_default_lejp_cb()
331 (((char *)ctx->pst[ctx->pst_sp - 1].user) + pmap->ofs); in lws_struct_default_lejp_cb()
349 pc = (signed char *)(u + map->ofs); in lws_struct_default_lejp_cb()
355 pi = (int *)(u + map->ofs); in lws_struct_default_lejp_cb()
361 pl = (long *)(u + map->ofs); in lws_struct_default_lejp_cb()
365 pll = (long long *)(u + map->ofs); in lws_struct_default_lejp_cb()
373 pc = (unsigned char *)(u + map->ofs); in lws_struct_default_lejp_cb()
379 pi = (unsigned int *)(u + map->ofs); in lws_struct_default_lejp_cb()
385 pl = (unsigned long *)(u + map->ofs); in lws_struct_default_lejp_cb()
389 pll = (unsigned long long *)(u + map->ofs); in lws_struct_default_lejp_cb()
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/md5/
H A Dmd5hl.c83 char *MD5FileChunk(const char *filename, char *buf, off_t ofs, off_t len) in MD5FileChunk() argument
101 if (ofs > stbuf.st_size) in MD5FileChunk()
102 ofs = stbuf.st_size; in MD5FileChunk()
103 if ((len == 0) || (len > stbuf.st_size - ofs)) in MD5FileChunk()
104 len = stbuf.st_size - ofs; in MD5FileChunk()
105 if (lseek(f, ofs, SEEK_SET) < 0) in MD5FileChunk()
/third_party/mesa3d/src/mesa/x86/
H A Dcommon_x86.c295 GLuint ofs; in _mesa_get_x86_features() local
297 for (ofs = 0; ofs < 3; ofs++) in _mesa_get_x86_features()
298 _mesa_x86_cpuid(0x80000002+ofs, (GLuint *)(cpu_name + (16*ofs)+0), (GLuint *)(cpu_name + (16*ofs)+4), (GLuint *)(cpu_name + (16*ofs)+8), (GLuint *)(cpu_name + (16*ofs)+12)); in _mesa_get_x86_features()
/third_party/f2fs-tools/fsck/
H A Dnode.h114 unsigned int ofs = ofs_of_node(node_page); in IS_DNODE() local
116 if (ofs == 3 || ofs == 4 + NIDS_PER_BLOCK || in IS_DNODE()
117 ofs == 5 + 2 * NIDS_PER_BLOCK) in IS_DNODE()
120 if (ofs >= 6 + 2 * NIDS_PER_BLOCK) { in IS_DNODE()
121 ofs -= 6 + 2 * NIDS_PER_BLOCK; in IS_DNODE()
122 if (!((long int)ofs % (NIDS_PER_BLOCK + 1))) in IS_DNODE()
/third_party/node/test/cctest/
H A Dtest_node_crypto_env.cc26 const int ofs = 2; in TEST_F() local
27 ASSERT_EQ(BIO_seek(bio.get(), ofs), ofs); in TEST_F() local
28 ASSERT_EQ(BIO_tell(bio.get()), ofs); in TEST_F() local
/third_party/libcoap/src/
H A Dcoap_str.c67 static int ofs = 0; in coap_make_str_const() local
69 if (++ofs == COAP_MAX_STR_CONST_FUNC) in coap_make_str_const()
70 ofs = 0; in coap_make_str_const()
71 var[ofs].length = strlen(string); in coap_make_str_const()
72 var[ofs].s = (const uint8_t *)string; in coap_make_str_const()
73 return &var[ofs]; in coap_make_str_const()
/third_party/python/Objects/
H A Dlistobject.c1380 Py_ssize_t ofs; in gallop_left() local
1388 ofs = 1; in gallop_left()
1391 * a[hint + lastofs] < key <= a[hint + ofs] in gallop_left()
1394 while (ofs < maxofs) { in gallop_left()
1395 IFLT(a[ofs], key) { in gallop_left()
1396 lastofs = ofs; in gallop_left()
1397 assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2); in gallop_left()
1398 ofs = (ofs << 1) + 1; in gallop_left()
1400 else /* key <= a[hint + ofs] */ in gallop_left()
1469 Py_ssize_t ofs; gallop_right() local
[all...]
/third_party/libwebsockets/lib/system/
H A Dsystem.c77 lws_system_blob_get(lws_system_blob_t *b, uint8_t *buf, size_t *len, size_t ofs) in lws_system_blob_get() argument
85 if (ofs >= b->u.direct.len) { in lws_system_blob_get()
90 if (*len > b->u.direct.len - ofs) in lws_system_blob_get()
91 *len = b->u.direct.len - ofs; in lws_system_blob_get()
93 memcpy(buf, b->u.direct.ptr + ofs, *len); in lws_system_blob_get()
98 n = lws_buflist_linear_copy(&b->u.bl, ofs, buf, *len); in lws_system_blob_get()
/third_party/musl/src/unistd/
H A Dpwritev.c6 ssize_t pwritev(int fd, const struct iovec *iov, int count, off_t ofs) in pwritev() argument
9 (long)(ofs), (long)(ofs>>32)); in pwritev()
H A Dpreadv.c6 ssize_t preadv(int fd, const struct iovec *iov, int count, off_t ofs) in preadv() argument
9 (long)(ofs), (long)(ofs>>32)); in preadv()
/third_party/libwebsockets/lib/core/
H A Dbuflist.c176 lws_buflist_linear_copy(struct lws_buflist **head, size_t ofs, uint8_t *buf, in lws_buflist_linear_copy() argument
184 if (ofs < p->len) { in lws_buflist_linear_copy()
185 s = p->len - ofs; in lws_buflist_linear_copy()
188 memcpy(buf, ((uint8_t *)&p[1]) + LWS_PRE + ofs, s); in lws_buflist_linear_copy() local
191 ofs = 0; in lws_buflist_linear_copy()
193 ofs -= p->len; in lws_buflist_linear_copy()
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dencode_decode.c122 #define DEREF(msg, ofs, type) *(type*)(((uint8_t *)msg) + ofs)
125 size_t ofs; member
130 static const void* newhandlerdata(upb_handlers* h, uint32_t ofs, int32_t hasbit) { in newhandlerdata() argument
132 hd->ofs = ofs; in newhandlerdata()
139 size_t ofs; member
148 uint32_t ofs, in newsubmsghandlerdata()
153 hd->ofs = ofs; in newsubmsghandlerdata()
146 newsubmsghandlerdata(upb_handlers* h, const upb_fielddef *f, uint32_t ofs, int32_t hasbit, VALUE subklass) newsubmsghandlerdata() argument
165 size_t ofs; // union data slot global() member
171 newoneofhandlerdata(upb_handlers *h, uint32_t ofs, uint32_t case_ofs, const upb_fielddef *f, const Descriptor* desc) newoneofhandlerdata() argument
198 const size_t *ofs = hd; startseq_handler() local
378 size_t ofs; global() member
468 new_map_handlerdata( size_t ofs, const upb_msgdef* mapentry_def, const Descriptor* desc) new_map_handlerdata() argument
[all...]
/third_party/mesa3d/src/broadcom/simulator/
H A Dv3d_simulator.c224 set_gmp_flags(file, sim_bo->block->ofs, size, 0x3); in v3d_create_simulator_bo()
229 sim_bo->sim_vaddr = sim_state.mem + sim_bo->block->ofs - sim_state.mem_base; in v3d_create_simulator_bo()
322 return sim_bo->block->ofs; in v3d_simulator_get_spill()
330 set_gmp_flags(sim_file, sim_bo->block->ofs, sim_bo->size, 0x0); in v3d_free_simulator_bo()
493 v3d41_simulator_submit_cl_ioctl(sim_state.v3d, submit, file->gmp->ofs); in v3d_simulator_submit_cl_ioctl()
495 v3d33_simulator_submit_cl_ioctl(sim_state.v3d, submit, file->gmp->ofs); in v3d_simulator_submit_cl_ioctl()
584 args->offset = sim_bo->block->ofs; in v3d_simulator_create_bo_ioctl()
615 args->offset = sim_bo->block->ofs; in v3d_simulator_get_bo_offset_ioctl()
686 file->gmp->ofs); in v3d_simulator_submit_csd_ioctl()
859 memset(sim_state.mem + b->ofs in v3d_simulator_init_global()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
H A Dpb_bufmgr_mm.c119 return (unsigned char *) mm->map + mm_buf->block->ofs; in mm_buffer_map()
159 *offset += mm_buf->block->ofs; in mm_buffer_get_base_buffer()
216 assert(0 <= (pb_size)mm_buf->block->ofs && (pb_size)mm_buf->block->ofs < mm->size); in mm_bufmgr_create_buffer()
217 assert(size <= (pb_size)mm_buf->block->size && (pb_size)mm_buf->block->ofs + (pb_size)mm_buf->block->size <= mm->size); in mm_bufmgr_create_buffer()

Completed in 21 milliseconds

1234567