/third_party/flutter/skia/third_party/externals/sdl/src/video/ |
D | SDL_RLEaccel.c | 401 int ofs = 0; \ in RLEClipBlit() 407 ofs += *(Type *)srcbuf; \ in RLEClipBlit() 412 if (ofs < right) { \ in RLEClipBlit() 416 if (left - ofs > 0) { \ in RLEClipBlit() 417 start = left - ofs; \ in RLEClipBlit() 422 startcol = ofs + start; \ in RLEClipBlit() 430 ofs += run; \ in RLEClipBlit() 431 } else if (!ofs) \ in RLEClipBlit() 434 if (ofs == w) { \ in RLEClipBlit() 435 ofs = 0; \ in RLEClipBlit() [all …]
|
/third_party/libwebsockets/lib/misc/lwsac/ |
D | lwsac.c | 63 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() 161 bf->ofs = sizeof(*bf); in _lwsac_use() 171 bf->ofs += sizeof(*lachead); in _lwsac_use() 188 ofs = bf->ofs; in _lwsac_use() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | vmdvideo.c | 195 int ofs; in vmd_decode() local 295 ofs = 0; in vmd_decode() 300 if (ofs + len > frame_width || in vmd_decode() 303 bytestream2_get_bufferu(&gb, &dp[ofs], len); in vmd_decode() 304 ofs += len; in vmd_decode() 307 if (ofs + len + 1 > frame_width || !pp) in vmd_decode() 309 memcpy(&dp[ofs], &pp[ofs], len + 1); in vmd_decode() 310 ofs += len + 1; in vmd_decode() 312 } while (ofs < frame_width); in vmd_decode() 313 if (ofs > frame_width) { in vmd_decode() [all …]
|
/third_party/FatFs/documents/res/ |
D | app6.c | 20 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/libexif/libexif/apple/ |
D | exif-mnote-data-apple.c | 61 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 + 12 > buf_size) { in exif_mnote_data_apple_load() 118 … "ExifMnoteApplet", "Tag size overflow detected (%u vs size %u)", ofs + 12, buf_size); in exif_mnote_data_apple_load() 121 d->entries[i].tag = exif_get_short(buf + ofs, d->order); in exif_mnote_data_apple_load() [all …]
|
/third_party/libcoap/tests/ |
D | test_wellknown.c | 35 size_t buflen, offset, ofs; in t_wellknown1() local 52 ofs = offset; in t_wellknown1() 55 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown1() 63 ofs = offset; in t_wellknown1() 65 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown1() 72 ofs = buflen; in t_wellknown1() 73 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown1() 84 size_t buflen, offset, ofs; in t_wellknown2() local 99 ofs = offset; in t_wellknown2() 102 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown2() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_vp3_video_vp.c | 32 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 240 nouveau_vp3_ycbcr_offsets(dec, &pic_vp->ofs[1], &pic_vp->ofs[3], &pic_vp->ofs[4]); in nouveau_vp3_fill_picparm_mpeg12_vp() 241 pic_vp->ofs[5] = pic_vp->ofs[3]; in nouveau_vp3_fill_picparm_mpeg12_vp() 242 pic_vp->ofs[0] = pic_vp->ofs[2] = 0; in nouveau_vp3_fill_picparm_mpeg12_vp() 280 nouveau_vp3_ycbcr_offsets(dec, &pic_vp->ofs[1], &pic_vp->ofs[3], &pic_vp->ofs[4]); in nouveau_vp3_fill_picparm_mpeg4_vp() 281 pic_vp->ofs[5] = pic_vp->ofs[3]; in nouveau_vp3_fill_picparm_mpeg4_vp() 282 pic_vp->ofs[0] = pic_vp->ofs[2] = 0; in nouveau_vp3_fill_picparm_mpeg4_vp() [all …]
|
/third_party/libwebsockets/lib/misc/ |
D | lws-struct-sqlite.c | 64 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 …]
|
D | lws-struct-lejp.c | 257 (((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/mesa3d/src/util/ |
D | u_mm.c | 45 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 + mask) & ~mask; in u_mmAllocMem() 202 if (endofs <= (p->ofs+p->size)) in u_mmAllocMem() [all …]
|
/third_party/libdrm/intel/ |
D | mm.c | 41 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 + mask) & ~mask; in mmAllocMem() 182 if (endofs <= (p->ofs + p->size)) in mmAllocMem() [all …]
|
/third_party/mesa3d/src/mesa/x86/ |
D | common_x86.c | 295 GLuint ofs; in _mesa_get_x86_features() local 297 for (ofs = 0; ofs < 3; ofs++) in _mesa_get_x86_features() 298 …000002+ofs, (GLuint *)(cpu_name + (16*ofs)+0), (GLuint *)(cpu_name + (16*ofs)+4), (GLuint *)(cpu_n… in _mesa_get_x86_features()
|
/third_party/skia/third_party/externals/libjpeg-turbo/md5/ |
D | md5hl.c | 83 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/libjpeg-turbo/md5/ |
D | md5hl.c | 87 char *MD5FileChunk(const char *filename, char *buf, off_t ofs, off_t len) in MD5FileChunk() argument 105 if (ofs > stbuf.st_size) in MD5FileChunk() 106 ofs = stbuf.st_size; in MD5FileChunk() 107 if ((len == 0) || (len > stbuf.st_size - ofs)) in MD5FileChunk() 108 len = stbuf.st_size - ofs; in MD5FileChunk() 109 if (lseek(f, ofs, SEEK_SET) < 0) in MD5FileChunk()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/md5/ |
D | md5hl.c | 83 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/libcoap/src/ |
D | str.c | 59 static int ofs = 0; in coap_make_str_const() local 61 if (++ofs == COAP_MAX_STR_CONST_FUNC) ofs = 0; in coap_make_str_const() 62 var[ofs].length = strlen(string); in coap_make_str_const() 63 var[ofs].s = (const uint8_t *)string; in coap_make_str_const() 64 return &var[ofs]; in coap_make_str_const()
|
/third_party/f2fs-tools/fsck/ |
D | node.h | 114 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/python/Objects/ |
D | listobject.c | 1353 Py_ssize_t ofs; in gallop_left() local 1361 ofs = 1; in gallop_left() 1367 while (ofs < maxofs) { in gallop_left() 1368 IFLT(a[ofs], key) { in gallop_left() 1369 lastofs = ofs; in gallop_left() 1370 assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2); in gallop_left() 1371 ofs = (ofs << 1) + 1; in gallop_left() 1376 if (ofs > maxofs) in gallop_left() 1377 ofs = maxofs; in gallop_left() 1380 ofs += hint; in gallop_left() [all …]
|
/third_party/libwebsockets/lib/system/ |
D | system.c | 77 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/ |
D | preadv.c | 6 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()
|
D | pwritev.c | 6 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()
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | encode_decode.c | 122 #define DEREF(msg, ofs, type) *(type*)(((uint8_t *)msg) + ofs) argument 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() argument 153 hd->ofs = ofs; in newsubmsghandlerdata() 165 size_t ofs; // union data slot member 172 uint32_t ofs, in newoneofhandlerdata() argument 177 hd->ofs = ofs; in newoneofhandlerdata() [all …]
|
/third_party/libwebsockets/lib/core/ |
D | buflist.c | 176 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() 191 ofs = 0; in lws_buflist_linear_copy() 193 ofs -= p->len; in lws_buflist_linear_copy()
|
/third_party/ntfs-3g/libntfs-3g/ |
D | win32_io.c | 1448 int old_ofs, ofs; in ntfs_device_win32_read() local 1451 old_ofs = ofs = old_pos & (fd->geo_sector_size - 1); in ntfs_device_win32_read() 1452 to_read = (ofs + count + fd->geo_sector_size - 1) & in ntfs_device_win32_read() 1462 (long long)count, (long long)old_pos, ofs, in ntfs_device_win32_read() 1481 ofs + vol_to_read, alignedbuffer); in ntfs_device_win32_read() 1485 if (br < ofs) { in ntfs_device_win32_read() 1489 br -= ofs; in ntfs_device_win32_read() 1491 ofs = fd->pos & (fd->geo_sector_size - 1); in ntfs_device_win32_read() 1504 if (i < ofs) in ntfs_device_win32_read() 1506 i -= ofs; in ntfs_device_win32_read() [all …]
|
/third_party/libwebsockets/scripts/ |
D | mozilla-trust-gen.sh | 48 echo 0 > _trust/ofs 118 OFS=`cat _trust/ofs` 119 echo -n $(( $OFS + $DERSIZ )) > _trust/ofs 133 OFS=`cat _trust/ofs` 191 …rm -f _trust/count _trust/_idx _trust/_idx_skid _trust/ofs _trust/_skid _trust/skidtab _trust/life…
|