Searched defs:ofs (Results 1 - 25 of 51) sorted by relevance

123

/external/syslinux/com32/gpllib/disk/
H A Data.c8 * @ofs: offset into identify device page
19 unsigned int ofs, unsigned int len)
24 c = id[ofs] >> 8;
28 c = id[ofs] & 0xff;
32 ofs++;
41 * @ofs: offset into identify device page
52 unsigned int ofs, unsigned int len)
56 ata_id_string(id, s, ofs, len - 1);
18 ata_id_string(const uint16_t * id, unsigned char *s, unsigned int ofs, unsigned int len) argument
51 ata_id_c_string(const uint16_t * id, unsigned char *s, unsigned int ofs, unsigned int len) argument
/external/libdrm/intel/
H A Dmm.h42 int ofs, size; member in struct:mem_block
51 drm_private extern struct mem_block *mmInit(int ofs, int size);
H A Dmm.c45 drmMsg(" Offset:%08x, Size:%08x, %c%c\n", p->ofs,
53 drmMsg(" FREE Offset:%08x, Size:%08x, %c%c\n", p->ofs,
62 drm_private struct mem_block *mmInit(int ofs, int size) argument
90 block->ofs = ofs;
104 if (startofs > p->ofs) {
109 newblock->ofs = startofs;
110 newblock->size = p->size - (startofs - p->ofs);
134 newblock->ofs = startofs + size;
181 startofs = (p->ofs
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_mm.h41 int ofs,size; member in struct:mem_block
52 extern struct mem_block *u_mmInit(int ofs, int size);
H A Du_mm.c45 debug_printf(" Offset:%08x, Size:%08x, %c%c\n", p->ofs, p->size,
59 debug_printf(" FREE Offset:%08x, Size:%08x, %c%c\n", p->ofs, p->size,
70 u_mmInit(int ofs, int size) argument
98 block->ofs = ofs;
114 if (startofs > p->ofs) {
118 newblock->ofs = startofs;
119 newblock->size = p->size - (startofs - p->ofs);
142 newblock->ofs = startofs + size;
194 startofs = (p->ofs
[all...]
/external/mesa3d/src/mesa/main/
H A Dmm.h39 unsigned ofs; member in struct:mem_block
51 extern struct mem_block *mmInit(unsigned ofs, unsigned size);
H A Dmm.c43 fprintf(stderr, " Offset:%08x, Size:%08x, %c%c\n",p->ofs,p->size,
51 fprintf(stderr, " FREE Offset:%08x, Size:%08x, %c%c\n",p->ofs,p->size,
61 mmInit(unsigned ofs, unsigned size) argument
89 block->ofs = ofs;
105 if (startofs > p->ofs) {
109 newblock->ofs = startofs;
110 newblock->size = p->size - (startofs - p->ofs);
133 newblock->ofs = startofs + size;
181 startofs = (p->ofs
[all...]
/external/syslinux/com32/cmenu/libmenu/
H A Dcom32io.h47 static inline unsigned char readbiosb(unsigned int ofs) argument
49 return *((unsigned char *)MK_PTR(0, ofs));
/external/mesa3d/src/mesa/x86/
H A Dcommon_x86.c283 GLuint ofs; local
285 for (ofs = 0; ofs < 3; ofs++)
286 _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));
/external/libjpeg-turbo/md5/
H A Dmd5hl.c62 MD5FileChunk(const char *filename, char *buf, off_t ofs, off_t len) argument
80 if (ofs > stbuf.st_size)
81 ofs = stbuf.st_size;
82 if ((len == 0) || (len > stbuf.st_size - ofs))
83 len = stbuf.st_size - ofs;
84 if (lseek(f, ofs, SEEK_SET) < 0)
/external/protobuf/conformance/
H A Dconformance_cpp.cc65 size_t ofs = 0; local
67 ssize_t bytes_read = read(fd, (char*)buf + ofs, len);
76 ofs += bytes_read;
H A Dconformance_test_runner.cc204 size_t ofs = 0; local
206 ssize_t bytes_read = read(fd, (char*)buf + ofs, len);
220 ofs += bytes_read;
/external/syslinux/core/lwip/src/core/snmp/
H A Dasn1_dec.c47 * @param ofs points to the offset within the pbuf chain of the ASN1 coded type field
52 snmp_asn1_dec_type(struct pbuf *p, u16_t ofs, u8_t *type) argument
62 if (ofs < plen)
65 msg_ptr += ofs - base;
71 /* p == NULL, ofs >= plen */
79 * @param ofs points to the offset within the pbuf chain of the ASN1 coded length
85 snmp_asn1_dec_length(struct pbuf *p, u16_t ofs, u8_t *octets_used, u16_t *length) argument
95 if (ofs < plen)
98 msg_ptr += ofs - base;
122 ofs
240 snmp_asn1_dec_u32t(struct pbuf *p, u16_t ofs, u16_t len, u32_t *value) argument
333 snmp_asn1_dec_s32t(struct pbuf *p, u16_t ofs, u16_t len, s32_t *value) argument
429 snmp_asn1_dec_oid(struct pbuf *p, u16_t ofs, u16_t len, struct snmp_obj_id *oid) argument
596 snmp_asn1_dec_raw(struct pbuf *p, u16_t ofs, u16_t len, u16_t raw_len, u8_t *raw) argument
[all...]
H A Dasn1_enc.c176 * @param ofs points to the offset within the pbuf chain
181 snmp_asn1_enc_type(struct pbuf *p, u16_t ofs, u8_t type) argument
191 if (ofs < plen)
194 msg_ptr += ofs - base;
200 /* p == NULL, ofs >= plen */
208 * @param ofs points to the offset within the pbuf chain
213 snmp_asn1_enc_length(struct pbuf *p, u16_t ofs, u16_t length) argument
223 if (ofs < plen)
226 msg_ptr += ofs - base;
236 ofs
308 snmp_asn1_enc_u32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, u32_t value) argument
384 snmp_asn1_enc_s32t(struct pbuf *p, u16_t ofs, u16_t octets_needed, s32_t value) argument
438 snmp_asn1_enc_oid(struct pbuf *p, u16_t ofs, u8_t ident_len, s32_t *ident) argument
562 snmp_asn1_enc_raw(struct pbuf *p, u16_t ofs, u16_t raw_len, u8_t *raw) argument
[all...]
H A Dmsg_in.c62 static err_t snmp_pdu_header_check(struct pbuf *p, u16_t ofs, u16_t pdu_len, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat);
63 static err_t snmp_pdu_dec_varbindlist(struct pbuf *p, u16_t ofs, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat);
894 * @param ofs points to first octet of SNMP message
903 snmp_pdu_header_check(struct pbuf *p, u16_t ofs, u16_t pdu_len, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat) argument
911 ofs_base = ofs;
912 snmp_asn1_dec_type(p, ofs, &type);
913 derr = snmp_asn1_dec_length(p, ofs+1, &len_octets, &len);
921 ofs += (1 + len_octets);
922 snmp_asn1_dec_type(p, ofs, &type);
923 derr = snmp_asn1_dec_length(p, ofs
1097 snmp_pdu_dec_varbindlist(struct pbuf *p, u16_t ofs, u16_t *ofs_ret, struct snmp_msg_pstat *m_stat) argument
[all...]
H A Dmsg_out.c73 static u16_t snmp_varbind_list_enc(struct snmp_varbind_root *root, struct pbuf *p, u16_t ofs);
142 u16_t ofs; local
147 ofs = snmp_resp_header_enc(m_stat, p);
150 snmp_varbind_list_enc(&emptyvb, p, ofs);
154 snmp_varbind_list_enc(&m_stat->outvb, p, ofs);
264 u16_t ofs; local
267 ofs = snmp_trap_header_enc(&trap_msg, p);
268 snmp_varbind_list_enc(&trap_msg.outvb, p, ofs);
489 u16_t ofs; local
491 ofs
546 u16_t ofs; local
615 snmp_varbind_list_enc(struct snmp_varbind_root *root, struct pbuf *p, u16_t ofs) argument
[all...]
/external/f2fs-tools/fsck/
H A Ddump.c140 u32 nid, u64 *ofs)
162 *ofs += skip;
171 for (i = 0; i < idx; i++, (*ofs)++) {
174 dump_data_blk(*ofs * F2FS_BLKSIZE,
179 le32_to_cpu(node_blk->in.nid[i]), ofs);
183 le32_to_cpu(node_blk->in.nid[i]), ofs);
194 u64 ofs = 0; local
207 for (i = 0; i < ADDRS_PER_INODE(&node_blk->i); i++, ofs++)
208 dump_data_blk(ofs * F2FS_BLKSIZE,
215 node_blk->i.i_nid[i], &ofs);
139 dump_node_blk(struct f2fs_sb_info *sbi, int ntype, u32 nid, u64 *ofs) argument
[all...]
/external/iproute2/misc/
H A Dlnstat.c186 int ofs = 0; local
197 snprintf(th.hdr[0]+ofs, width+2, "%*.*s|", width, width,
203 snprintf(th.hdr[h]+ofs, width+2,
207 snprintf(th.hdr[h]+ofs, width+2,
212 ofs += width+1;
216 for (i = 0; i < ofs; i++) {
/external/libunwind/src/coredump/
H A D_UCD_create.c146 off_t ofs = (_64bits ? elf_header64.e_phoff : elf_header32.e_phoff); local
147 if (lseek(fd, ofs, SEEK_SET) != ofs)
254 Debug(2, " ofs:%08llx va:%08llx filesize:%08llx memsize:%08llx flg:%x",
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_video.h32 unsigned ofs; member in struct:nouveau_decoder
50 dec->cmds[dec->ofs++] = data;
/external/opencv/cv/src/
H A Dcvfeatureselect.cpp190 int j = count, ofs = (int)((uchar*)(ptr_data[i]) - eig->data.ptr); local
191 y = ofs / eig->step;
192 x = (ofs - y * eig->step)/sizeof(float);
H A Dcvfilter.cpp205 int i, j, k, ofs; local
250 ofs = (anchor.x-x_range.start_index)*pix_sz;
282 border_tab[i + j] = idx + ofs + j;
/external/bzip2/
H A Dbzip2recover.c468 Int32 ofs, k; local
479 ofs = split - outFileName;
482 strcat (outFileName, inFileName + ofs);
/external/tcpdump/
H A Dsmbutil.c170 const u_char *buf, int ofs, const u_char *maxbuf)
175 p = buf + ofs;
210 const u_char *buf, int ofs, const u_char *maxbuf, char *name)
212 const u_char *p = name_ptr(ndo, buf, ofs, maxbuf);
169 name_ptr(netdissect_options *ndo, const u_char *buf, int ofs, const u_char *maxbuf) argument
209 name_extract(netdissect_options *ndo, const u_char *buf, int ofs, const u_char *maxbuf, char *name) argument
/external/libvncserver/common/
H A Dzywrletemplate.c359 int s, ofs; local
367 ofs = (4<<l)*SkipPixel;
369 Harr(pX0, pX0+ofs);
371 Harr(pX0, pX0+ofs);
373 Harr(pX0, pX0+ofs);

Completed in 2532 milliseconds

123