Searched refs:dataofs (Results 1 – 10 of 10) sorted by relevance
/external/libexif/libexif/fuji/ |
D | exif-mnote-data-fuji.c | 220 size_t dataofs = o + 8; in exif_mnote_data_fuji_load() local 223 dataofs = exif_get_long (buf + dataofs, n->order) + 6 + n->offset; in exif_mnote_data_fuji_load() 224 if ((dataofs + s < dataofs) || (dataofs + s < s) || in exif_mnote_data_fuji_load() 225 (dataofs + s >= buf_size)) { in exif_mnote_data_fuji_load() 228 "buffer (%zu >= %u)", dataofs + s, buf_size); in exif_mnote_data_fuji_load() 237 memcpy (n->entries[tcount].data, buf + dataofs, s); in exif_mnote_data_fuji_load()
|
/external/libexif/libexif/canon/ |
D | exif-mnote-data-canon.c | 265 size_t dataofs = o + 8; in exif_mnote_data_canon_load() local 266 if (s > 4) dataofs = exif_get_long (buf + dataofs, n->order) + 6; in exif_mnote_data_canon_load() 267 if ((dataofs + s < s) || (dataofs + s < dataofs) || (dataofs + s > buf_size)) { in exif_mnote_data_canon_load() 271 dataofs + s, buf_size); in exif_mnote_data_canon_load() 280 memcpy (n->entries[tcount].data, buf + dataofs, s); in exif_mnote_data_canon_load()
|
/external/libexif/libexif/pentax/ |
D | exif-mnote-data-pentax.c | 303 size_t dataofs = o + 8; in exif_mnote_data_pentax_load() local 306 dataofs = exif_get_long (buf + dataofs, n->order) + 6; in exif_mnote_data_pentax_load() 307 if ((dataofs + s < dataofs) || (dataofs + s < s) || in exif_mnote_data_pentax_load() 308 (dataofs + s > buf_size)) { in exif_mnote_data_pentax_load() 311 "of buffer (%zu > %u)", dataofs + s, buf_size); in exif_mnote_data_pentax_load() 320 memcpy (n->entries[tcount].data, buf + dataofs, s); in exif_mnote_data_pentax_load()
|
/external/libexif/libexif/olympus/ |
D | exif-mnote-data-olympus.c | 462 size_t dataofs = o + 8; in exif_mnote_data_olympus_load() local 465 dataofs = exif_get_long (buf + dataofs, n->order) + datao; in exif_mnote_data_olympus_load() 472 if (dataofs + s > buf_size && n->version == sanyoV1) { in exif_mnote_data_olympus_load() 474 dataofs -= datao + 6; in exif_mnote_data_olympus_load() 481 if ((dataofs + s < dataofs) || (dataofs + s < s) || in exif_mnote_data_olympus_load() 482 (dataofs + s > buf_size)) { in exif_mnote_data_olympus_load() 486 dataofs + s, buf_size); in exif_mnote_data_olympus_load() 495 memcpy (n->entries[tcount].data, buf + dataofs, s); in exif_mnote_data_olympus_load()
|
/external/scapy/scapy/layers/ |
D | inet.py | 257 opsz = (pkt.dataofs-5)*4 259 warning("bad dataofs (%i). Assuming dataofs=5"%pkt.dataofs) 525 dataofs = self.dataofs 526 if dataofs is None: 527 dataofs = 5+((len(self.get_field("options").i2m(self,self.options))+3)//4) 528 p = p[:12]+chb((dataofs << 4) | orb(p[12])&0x0f)+p[13:]
|
D | inet6.py | 613 old_otherup_dataofs = otherup.dataofs 616 old_selfup_dataofs = selfup.dataofs 621 otherup.dataofs = 0 624 selfup.dataofs = 0 635 otherup.dataofs = old_otherup_dataofs 638 selfup.dataofs = old_selfup_dataofs
|
/external/scapy/scapy/modules/ |
D | p0f.py | 156 ilen = (pkt.payload.dataofs << 2) - 20 # from p0f.c
|
/external/scapy/doc/scapy/ |
D | build_dissect.rst | 301 WARNING: bad dataofs (4). Assuming dataofs=5 304 ….65.65.65 dst=65.65.65.65 |<TCP sport=16962 dport=16962 seq=1111638594L ack=1111638594L dataofs=4L
|
D | usage.rst | 118 ack=0L dataofs=5L reserved=0L flags=S window=8192 chksum=0xbb39 urgptr=0 126 frag=0 proto=TCP chksum=0x783c src=192.168.5.21 dst=66.35.250.151 |<TCP dataofs=5L 374 <TCP sport=www dport=ftp-data seq=2487238601L ack=1 dataofs=6L reserved=0L 648 seq=2023566040L ack=0L dataofs=10L reserved=0L flags=SEC window=5840
|
/external/scapy/test/ |
D | fields.uts | 342 assert TCPOptionsField("test", "").getfield(TCP(dataofs=0), "") == ('', [])
|