Searched refs:pos (Results 1 - 8 of 8) sorted by path

/system/core/adb/
H A Dsysdeps.h117 extern int adb_lseek(int fd, int pos, int where);
373 static __inline__ int adb_lseek(int fd, int pos, int where) argument
375 return lseek(fd, pos, where);
H A Dsysdeps_win32.c83 int (*_fh_lseek)( FH f, int pos, int origin );
258 _fh_file_lseek( FH f, int pos, int origin ) argument
273 result = SetFilePointer( f->fh_handle, pos, NULL, method );
426 int adb_lseek(int fd, int pos, int where) argument
434 return f->clazz->_fh_lseek(f, pos, where);
507 _fh_socket_lseek( FH f, int pos, int origin ) argument
1135 _fh_socketpair_lseek( FH f, int pos, int origin ) argument
/system/core/liblinenoise/
H A Dlinenoise.c187 static void refreshLine(int fd, const char *prompt, char *buf, size_t len, size_t pos, size_t cols) { argument
191 while((plen+pos) >= cols) {
194 pos--;
210 snprintf(seq,64,"\x1b[0G\x1b[%dC", (int)(pos+plen));
216 size_t pos = 0; local
249 if (pos > 0 && len > 0) {
250 memmove(buf+pos-1,buf+pos,len-pos);
251 pos
[all...]
/system/core/libnl_2/
H A Dattr.c125 struct nlattr *pos; local
131 nla_for_each_attr(pos, head, len, rem) {
132 int type = nla_type(pos);
135 tb[type] = pos;
/system/core/libsparse/
H A Doutput_file.c724 off64_t pos; local
729 pos = lseek64(fd, offset, SEEK_SET);
730 if (pos < 0) {
/system/core/toolbox/
H A Dnandread.c33 loff_t pos, opos, end, bpos; local
189 for (pos = start, opos = 0; pos < end; pos += mtdinfo.writesize) {
192 printf("reading at %llx\n", pos);
193 lseek64(fd, pos, SEEK_SET);
196 fprintf(stderr, "short read at %llx, %d\n", pos, ret);
200 oobbuf.start = pos;
203 fprintf(stderr, "failed to read oob data at %llx, %d\n", pos, ret);
213 bpos = pos / mtdinf
[all...]
/system/extras/tests/iptables/qtaguid/
H A DsocketTag.cpp135 char *pos; local
165 pos = strstr(ctrl_data, buff);
167 if (pos && !addr) {
169 res = sscanf(pos - strlen("sock=1234abcd"),
183 return pos != NULL;
/system/netd/
H A DSoftapController.h33 int addParam(int pos, const char *cmd, const char *arg);

Completed in 219 milliseconds