/openwrt/target/linux/generic/files/fs/yaffs2/ |
H A D | yaffs_nameval.c | 35 int pos = 0; local 39 while (size > 0 && (size < xb_size) && (pos + size < xb_size)) { 40 if (!strncmp((YCHAR *) (xb + pos + sizeof(int)), 44 return pos; 46 pos += size; 47 if (pos < xb_size - sizeof(int)) 48 memcpy(&size, xb + pos, sizeof(int)); 59 int pos = 0; local 62 memcpy(&size, xb + pos, sizeof(int)); 63 while (size > 0 && (size < xb_size) && (pos 75 int pos = nval_find(xb, xb_size, name, NULL); local 92 int pos; local 132 int pos = nval_find(xb, xb_size, name, NULL); local 169 int pos = 0; local [all...] |
/openwrt/package/network/services/ead/src/ |
H A D | list.h | 272 * @pos: the &struct list_head to use as a loop cursor. 275 #define list_for_each(pos, head) \ 276 for (pos = (head)->next; pos != (head); \ 277 pos = pos->next) 281 * @pos: the &struct list_head to use as a loop cursor. 289 #define __list_for_each(pos, head) \ 290 for (pos = (head)->next; pos ! [all...] |
/openwrt/scripts/config/ |
H A D | list.h | 44 * @pos: the type * to use as a loop cursor. 48 #define list_for_each_entry(pos, head, member) \ 49 for (pos = list_entry((head)->next, typeof(*pos), member); \ 50 &pos->member != (head); \ 51 pos = list_entry(pos->member.next, typeof(*pos), member)) 55 * @pos: the type * to use as a loop cursor. 60 #define list_for_each_entry_safe(pos, [all...] |
H A D | mconf.c | 318 struct subtitle_list *pos, *tmp; local 320 for (pos = subtitles; pos != NULL; pos = tmp) { 321 tmp = pos->next; 322 free(pos); 328 if (pos) { 329 pos->next = xcalloc(1, sizeof(*pos)); 330 pos 343 struct subtitle_list *pos, *tmp; local 362 struct jump_key *pos; local 437 struct jump_key *pos, *tmp; local [all...] |
/openwrt/package/libs/libnl-tiny/src/include/netlink/ |
H A D | list.h | 62 #define nl_list_at_tail(pos, head, member) \ 63 ((pos)->member.next == (head)) 65 #define nl_list_at_head(pos, head, member) \ 66 ((pos)->member.prev == (head)) 74 #define nl_list_for_each_entry(pos, head, member) \ 75 for (pos = nl_list_entry((head)->next, typeof(*pos), member); \ 76 &(pos)->member != (head); \ 77 (pos) = nl_list_entry((pos) [all...] |
H A D | msg.h | 281 * @arg pos loop counter, set to current attribute 286 #define nlmsg_for_each_attr(pos, nlh, hdrlen, rem) \ 287 nla_for_each_attr(pos, nlmsg_attrdata(nlh, hdrlen), \ 292 * @arg pos loop counter, set to current message 297 #define nlmsg_for_each_msg(pos, head, len, rem) \ 298 for (pos = head, rem = len; \ 299 nlmsg_ok(pos, rem); \ 300 pos = nlmsg_next(pos, &(rem)))
|
H A D | attr.h | 698 * @arg pos loop counter, set to current attribute 703 #define nla_for_each_attr(pos, head, len, rem) \ 704 for (pos = head, rem = len; \ 705 nla_ok(pos, rem); \ 706 pos = nla_next(pos, &(rem))) 711 * @arg pos loop counter, set to current attribute 715 #define nla_for_each_nested(pos, nla, rem) \ 716 for (pos = (struct nlattr *)nla_data(nla), rem = nla_len(nla); \ 717 nla_ok(pos, re [all...] |
/openwrt/scripts/ |
H A D | cleanfile | 21 my $pos = 0; 28 my $npos = ($pos+$nsp+8) & ~7; 29 my $ntab = ($npos >> 3) - ($pos >> 3); 31 $pos = $npos; 35 $pos += $nsp; 38 $pos = 0; 43 $pos += $nsp; 46 $pos++; 59 my $pos = 0; 65 $pos [all...] |
H A D | cleanpatch | 21 my $pos = 0; 28 my $npos = ($pos+$nsp+8) & ~7; 29 my $ntab = ($npos >> 3) - ($pos >> 3); 31 $pos = $npos; 35 $pos += $nsp; 38 $pos = 0; 43 $pos += $nsp; 46 $pos++; 59 my $pos = 0; 65 $pos [all...] |
/openwrt/scripts/config/lxdialog/ |
H A D | inputbox.c | 49 int show_x, len, pos; local 102 pos = len; 130 if (pos) { 137 if (pos < len) { 138 for (i = pos - 1; i < len; i++) { 143 pos--; 159 if (pos > 0) { 174 pos--; 178 if (pos < len) { 193 pos [all...] |
/openwrt/package/network/services/ead/src/tinysrp/ |
H A D | t_conv.c | 180 int c, pos = size % 3; local 184 switch(pos) { 215 if(pos >= size) 218 b0 = src[pos++]; 219 b1 = src[pos++]; 220 b2 = src[pos++];
|
H A D | bn_ctx.c | 110 ctx->pos[ctx->depth] = ctx->tos; 141 ctx->tos = ctx->pos[ctx->depth];
|
/openwrt/tools/firmware-utils/src/ |
H A D | mkdniimg.c | 78 int pos, rem, i; local 149 pos = snprintf(buf, DNI_HDR_LEN, "device:%s\nversion:V%s\nregion:%s\n", 151 rem = DNI_HDR_LEN - pos; 152 if (pos >= 0 && rem > 1 && hd_id) { 153 snprintf(buf + pos, rem, "hd_id:%s\n", hd_id);
|
/openwrt/target/linux/adm5120/image/lzma-loader/src/ |
H A D | LzmaDecode.c | 230 UInt32 pos = dictionaryPos - rep0; local 231 if (pos >= dictionarySize) 232 pos += dictionarySize; 233 outStream[nowPos++] = dictionary[dictionaryPos] = dictionary[pos]; 303 UInt32 pos = dictionaryPos - rep0; local 304 if (pos >= dictionarySize) 305 pos += dictionarySize; 306 matchByte = dictionary[pos]; 365 UInt32 pos; local 378 pos 543 UInt32 pos = dictionaryPos - rep0; local [all...] |
/openwrt/target/linux/adm8668/image/lzma-loader/src/ |
H A D | LzmaDecode.c | 236 UInt32 pos = dictionaryPos - rep0; local 237 if (pos >= dictionarySize) 238 pos += dictionarySize; 239 outStream[nowPos++] = dictionary[dictionaryPos] = dictionary[pos]; 309 UInt32 pos = dictionaryPos - rep0; local 310 if (pos >= dictionarySize) 311 pos += dictionarySize; 312 matchByte = dictionary[pos]; 371 UInt32 pos; local 384 pos 549 UInt32 pos = dictionaryPos - rep0; local [all...] |
/openwrt/target/linux/ar71xx/image/lzma-loader/src/ |
H A D | LzmaDecode.c | 230 UInt32 pos = dictionaryPos - rep0; local 231 if (pos >= dictionarySize) 232 pos += dictionarySize; 233 outStream[nowPos++] = dictionary[dictionaryPos] = dictionary[pos]; 303 UInt32 pos = dictionaryPos - rep0; local 304 if (pos >= dictionarySize) 305 pos += dictionarySize; 306 matchByte = dictionary[pos]; 365 UInt32 pos; local 378 pos 543 UInt32 pos = dictionaryPos - rep0; local [all...] |
/openwrt/target/linux/brcm47xx/image/lzma-loader/src/ |
H A D | LzmaDecode.c | 421 UInt32 pos = dictionaryPos - rep0; local 422 if (pos >= dictionarySize) 423 pos += dictionarySize; 424 outStream[nowPos++] = dictionary[dictionaryPos] = dictionary[pos]; 505 UInt32 pos = dictionaryPos - rep0; local 506 if (pos >= dictionarySize) 507 pos += dictionarySize; 508 matchByte = dictionary[pos]; 534 UInt32 pos; local 546 pos 631 UInt32 pos = dictionaryPos - rep0; local [all...] |
/openwrt/target/linux/brcm63xx/image/lzma-loader/src/ |
H A D | LzmaDecode.c | 230 UInt32 pos = dictionaryPos - rep0; local 231 if (pos >= dictionarySize) 232 pos += dictionarySize; 233 outStream[nowPos++] = dictionary[dictionaryPos] = dictionary[pos]; 303 UInt32 pos = dictionaryPos - rep0; local 304 if (pos >= dictionarySize) 305 pos += dictionarySize; 306 matchByte = dictionary[pos]; 365 UInt32 pos; local 378 pos 543 UInt32 pos = dictionaryPos - rep0; local [all...] |
/openwrt/target/linux/generic/image/lzma-loader/src/ |
H A D | LzmaDecode.c | 236 UInt32 pos = dictionaryPos - rep0; local 237 if (pos >= dictionarySize) 238 pos += dictionarySize; 239 outStream[nowPos++] = dictionary[dictionaryPos] = dictionary[pos]; 309 UInt32 pos = dictionaryPos - rep0; local 310 if (pos >= dictionarySize) 311 pos += dictionarySize; 312 matchByte = dictionary[pos]; 371 UInt32 pos; local 384 pos 549 UInt32 pos = dictionaryPos - rep0; local [all...] |
/openwrt/target/linux/lantiq/image/lzma-loader/src/ |
H A D | LzmaDecode.c | 230 UInt32 pos = dictionaryPos - rep0; local 231 if (pos >= dictionarySize) 232 pos += dictionarySize; 233 outStream[nowPos++] = dictionary[dictionaryPos] = dictionary[pos]; 303 UInt32 pos = dictionaryPos - rep0; local 304 if (pos >= dictionarySize) 305 pos += dictionarySize; 306 matchByte = dictionary[pos]; 365 UInt32 pos; local 378 pos 543 UInt32 pos = dictionaryPos - rep0; local [all...] |
/openwrt/target/linux/ramips/image/lzma-loader/src/ |
H A D | LzmaDecode.c | 230 UInt32 pos = dictionaryPos - rep0; local 231 if (pos >= dictionarySize) 232 pos += dictionarySize; 233 outStream[nowPos++] = dictionary[dictionaryPos] = dictionary[pos]; 303 UInt32 pos = dictionaryPos - rep0; local 304 if (pos >= dictionarySize) 305 pos += dictionarySize; 306 matchByte = dictionary[pos]; 365 UInt32 pos; local 378 pos 543 UInt32 pos = dictionaryPos - rep0; local [all...] |
/openwrt/target/linux/ar71xx/base-files/lib/upgrade/ |
H A D | merakinand.sh | 13 local pos=$2 14 dd bs=1 count=2 skip=$pos if=$mtddev 2>/dev/null | hexdump -v -n 4 -e '1/1 "%02x"'
|
H A D | dir825.sh | 11 local pos=$2 12 dd bs=1 count=2 skip=$pos if=$mtddev 2>/dev/null | hexdump -v -n 4 -e '1/1 "%02x"'
|
/openwrt/tools/wrt350nv2-builder/src/ |
H A D | ioapi.h | 65 #define ZSEEK(filefunc,filestream,pos,mode) ((*((filefunc).zseek_file))((filefunc).opaque,filestream,pos,mode))
|
/openwrt/package/libs/libnl-tiny/src/ |
H A D | unl.c | 245 int fd, pos; local 252 pos = read(fd, buf, sizeof(buf) - 1); 253 if (pos < 0) { 257 buf[pos] = '\0';
|