/netbsd-current/external/apache2/llvm/dist/clang/tools/scan-build-py/tests/functional/src/ |
H A D | clean-one.c | 6 int idx = 0; local 8 for (idx = i; idx > 0; --idx) 10 i += idx;
|
/netbsd-current/usr.sbin/mopd/common/ |
H A D | get.c | 37 mopGetChar(const u_char *pkt, int *idx) argument 41 ret = pkt[*idx]; 42 *idx = *idx + 1; 47 mopGetShort(const u_char *pkt, int *idx) argument 51 ret = pkt[*idx] + pkt[*idx+1]*256; 52 *idx = *idx + 2; 57 mopGetLong(const u_char *pkt, int *idx) argument 70 mopGetMulti(const u_char *pkt, int *idx, u_char *dest, int size) argument 98 mopGetHeader(const u_char *pkt, int *idx, const u_char **dst, const u_char **src, u_short *proto, int *len, int trans) argument [all...] |
H A D | put.c | 37 mopPutChar(u_char *pkt, int *idx, u_char value) argument 39 pkt[*idx] = value; 40 *idx = *idx + 1; 44 mopPutShort(u_char *pkt, int *idx, u_short value) argument 48 pkt[*idx+i] = value % 256; 51 *idx = *idx + 2; 55 mopPutLong(u_char *pkt, int *idx, u_int32_t value) argument 59 pkt[*idx 66 mopPutMulti(u_char *pkt, int *idx, const u_char *value, int size) argument 77 mopPutTime(u_char *pkt, int *idx, time_t value) argument 104 mopPutHeader(u_char *pkt, int *idx, const u_char *dst, const u_char *src, u_short proto, int trans) argument 139 int idx = 0; local [all...] |
/netbsd-current/external/bsd/tcpdump/dist/ |
H A D | print-ssh.c | 29 u_int idx = 0; local 31 if ( GET_U_1(pptr+idx) != 'S' ) 33 idx++; 34 if ( GET_U_1(pptr+idx) != 'S' ) 36 idx++; 37 if ( GET_U_1(pptr+idx) != 'H' ) 39 idx++; 40 if ( GET_U_1(pptr+idx) != '-' ) 42 idx++; 44 while (idx < le [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/lib/ |
H A D | append_gdb_boards_dir.exp | 42 set idx [lsearch -exact $boards_dir "$gdb_boards_dir"] 43 if { $idx >= 0 } { 44 set boards_dir [lreplace $boards_dir $idx $idx]
|
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/lib/ |
H A D | append_gdb_boards_dir.exp | 42 set idx [lsearch -exact $boards_dir "$gdb_boards_dir"] 43 if { $idx >= 0 } { 44 set boards_dir [lreplace $boards_dir $idx $idx]
|
/netbsd-current/lib/libc/locale/ |
H A D | nb_lc_time_misc.h | 37 #define ABDAY_IDX(idx) ((size_t)idx - (size_t)ABDAY_1) 38 #define DAY_IDX(idx) ((size_t)idx - (size_t)DAY_1) 39 #define ABMON_IDX(idx) ((size_t)idx - (size_t)ABMON_1) 40 #define MON_IDX(idx) ((size_t)idx - (size_t)MON_1) 41 #define AM_PM_IDX(idx) ((size_t)idx [all...] |
/netbsd-current/usr.sbin/mopd/mopprobe/ |
H A D | mopprobe.c | 132 int idx, i, device, trans; local 137 idx = 0; 169 moplen = mopGetShort(pkt,&idx); 171 mopcode = mopGetChar(p,&idx); 179 tmpc = mopGetChar(pkt,&idx); /* Reserved */ 180 (void)mopGetShort(pkt,&idx); /* Receipt # */ 184 itype = mopGetShort(pkt,&idx); 186 while (idx < (int)(moplen + 2)) { 187 ilen = mopGetChar(pkt,&idx); 190 tmpc = mopGetChar(pkt,&idx); [all...] |
/netbsd-current/external/gpl3/gcc/dist/gcc/ |
H A D | attr-fnspec.h | 126 unsigned int idx = arg_idx (i); local 128 return str[idx] == 'R' || str[idx] == 'O' 129 || str[idx] == 'W' || (str[idx] >= '1' && str[idx] <= '9'); 136 unsigned int idx = arg_idx (i); local 138 return str[idx] != 'x' && str[idx] != 'X'; 145 unsigned int idx local 154 unsigned int idx = arg_idx (i); local 165 unsigned int idx = arg_idx (i); local 177 unsigned int idx = arg_idx (i); local 193 unsigned int idx = arg_idx (i); local 204 unsigned int idx = arg_idx (i); local 217 unsigned int idx = arg_idx (i); local [all...] |
/netbsd-current/sys/arch/zaurus/stand/zboot/ |
H A D | bootinfo.c | 52 int idx; local 58 idx = bi_find(type); 59 if (idx < 0) { 60 idx = bootinfo->nentries++; 62 bootinfo->entry[idx] = (u_long)what; 69 int idx; local 73 idx = bi_find(type); 74 if (idx >= 0) { 75 for (i = idx + 1; i < bootinfo->nentries; i++) {
|
/netbsd-current/sys/compat/common/ |
H A D | gen_errno_tables.awk | 47 idx = 0; 55 if (idx != 0) { 59 idx = 1; 71 if (val_max[idx] < val) { 72 val_max[idx] = val; 74 if (mappings[idx, "val", val] == "") { 75 mappings[idx, "name", name] = val 76 mappings[idx, "val", val] = name 81 if (idx != 1) {
|
/netbsd-current/external/bsd/ntp/dist/libntp/ |
H A D | clocktime.c | 67 int32 y, tmp, idx, min; local 109 for (idx = 0; idx < 3; idx++) { 111 ystt[idx] = year_to_ntp(y + idx - 1); 113 test[idx] = ystt[idx] + tmp; 115 diff[idx] = test[idx] [all...] |
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_allocator_bytemap.h | 26 void set(uptr idx, u8 val) { argument 27 CHECK_LT(idx, kSize); 28 CHECK_EQ(0U, map_[idx]); 29 map_[idx] = val; 31 u8 operator[] (uptr idx) { argument 32 CHECK_LT(idx, kSize); 34 return map_[idx]; 69 void set(uptr idx, u8 val) { argument 70 CHECK_LT(idx, kSize1 * kSize2); 71 u8 *map2 = GetOrCreate(idx / kSize 91 GetOrCreate(uptr idx) argument [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_allocator_bytemap.h | 23 void set(uptr idx, u8 val) { argument 24 CHECK_LT(idx, kSize); 25 CHECK_EQ(0U, map_[idx]); 26 map_[idx] = val; 28 u8 operator[] (uptr idx) { argument 29 CHECK_LT(idx, kSize); 31 return map_[idx]; 63 void set(uptr idx, u8 val) { argument 64 CHECK_LT(idx, kSize1 * kSize2); 65 u8 *map2 = GetOrCreate(idx / kSize 84 GetOrCreate(uptr idx) argument [all...] |
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
H A D | hash.c | 153 size_t idx; local 159 idx = hash; 161 if (table[idx].used) 163 if (table[idx].used == hval && table[idx].keylen == keylen 164 && memcmp (table[idx].key, key, keylen) == 0) 165 return idx; 172 if (idx <= hash) 173 idx = htab->size + idx 195 size_t idx = lookup (htab, key, keylen, compute_hashval (key, keylen)); local 209 insert_entry_2(hash_table *htab, const void *key, size_t keylen, unsigned long int hval, size_t idx, void *data) argument 243 size_t idx; local 273 size_t idx = lookup (htab, key, keylen, hval); local 300 size_t idx = lookup (htab, key, keylen, hval); local [all...] |
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/libgettextpo/ |
H A D | hash.c | 153 size_t idx; local 159 idx = hash; 161 if (table[idx].used) 163 if (table[idx].used == hval && table[idx].keylen == keylen 164 && memcmp (table[idx].key, key, keylen) == 0) 165 return idx; 172 if (idx <= hash) 173 idx = htab->size + idx 195 size_t idx = lookup (htab, key, keylen, compute_hashval (key, keylen)); local 209 insert_entry_2(hash_table *htab, const void *key, size_t keylen, unsigned long int hval, size_t idx, void *data) argument 243 size_t idx; local 273 size_t idx = lookup (htab, key, keylen, hval); local 300 size_t idx = lookup (htab, key, keylen, hval); local [all...] |
/netbsd-current/external/gpl2/gettext/dist/gnulib-local/lib/ |
H A D | hash.c | 153 size_t idx; local 159 idx = hash; 161 if (table[idx].used) 163 if (table[idx].used == hval && table[idx].keylen == keylen 164 && memcmp (table[idx].key, key, keylen) == 0) 165 return idx; 172 if (idx <= hash) 173 idx = htab->size + idx 195 size_t idx = lookup (htab, key, keylen, compute_hashval (key, keylen)); local 209 insert_entry_2(hash_table *htab, const void *key, size_t keylen, unsigned long int hval, size_t idx, void *data) argument 243 size_t idx; local 273 size_t idx = lookup (htab, key, keylen, hval); local 300 size_t idx = lookup (htab, key, keylen, hval); local [all...] |
/netbsd-current/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | chkformat.d | 523 * idx = index of `%` of start of format specifier, 530 Format parseScanfFormatSpecifier(scope const char[] format, ref size_t idx, 533 auto i = idx; 539 idx = i; 549 idx = i + 1; 588 // it could be mixed with the one above, but then idx won't have the right index 600 idx = i; 611 * idx = index of `%` of start of format specifier, 619 Format parsePrintfFormatSpecifier(scope const char[] format, ref size_t idx, 622 auto i = idx; [all...] |
/netbsd-current/external/mpl/bind/dist/lib/isc/include/isc/ |
H A D | attributes.h | 46 * Similar to ISC_ATTR_DEALLOCATOR, but allows to speficy an index "idx", 50 #define ISC_ATTR_DEALLOCATOR_IDX(deallocator, idx) \ 51 __attribute__((malloc(deallocator, idx))) 58 * Similar to ISC_ATTR_MALLOC_DEALLOCATOR, but allows to speficy an index "idx", 62 #define ISC_ATTR_MALLOC_DEALLOCATOR_IDX(deallocator, idx) \ 63 __attribute__((malloc, malloc(deallocator, idx))) 71 #define ISC_ATTR_DEALLOCATOR_IDX(deallocator, idx) 73 #define ISC_ATTR_MALLOC_DEALLOCATOR_IDX(deallocator, idx) ISC_ATTR_MALLOC 81 #define ISC_ATTR_DEALLOCATOR_IDX(deallocator, idx) 83 #define ISC_ATTR_MALLOC_DEALLOCATOR_IDX(deallocator, idx) [all...] |
/netbsd-current/external/gpl3/binutils.old/dist/bfd/doc/ |
H A D | chew.c | 179 addr (buffer, idx) 181 unsigned int idx; 183 return buffer->ptr + idx; 254 skip_white_and_stars (src, idx) 256 unsigned int idx; 259 while ((c = at (src, idx)), 264 && at (src, idx +1) != '/' 265 && at (src, idx -1) != '\n')) 266 idx++; 267 return idx; 288 unsigned int idx = 0; /* Pos in input buffer */ variable 441 unsigned int idx = 0; local 512 unsigned int idx; local 583 unsigned int idx = 0; local 615 unsigned int idx = 0; local 665 unsigned int idx = 0; local 751 unsigned int idx = 0; local 806 unsigned int idx = 0; local 918 int idx = 0; local 1005 int idx = 0; local 1150 int idx; local [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/bfd/doc/ |
H A D | chew.c | 178 addr (buffer, idx) 180 unsigned int idx; 182 return buffer->ptr + idx; 253 skip_white_and_stars (src, idx) 255 unsigned int idx; 258 while ((c = at (src, idx)), 263 && at (src, idx +1) != '/' 264 && at (src, idx -1) != '\n')) 265 idx++; 266 return idx; 287 unsigned int idx = 0; /* Pos in input buffer */ variable 440 unsigned int idx = 0; local 511 unsigned int idx; local 582 unsigned int idx = 0; local 614 unsigned int idx = 0; local 664 unsigned int idx = 0; local 750 unsigned int idx = 0; local 805 unsigned int idx = 0; local 917 int idx = 0; local 1004 int idx = 0; local 1149 int idx; local [all...] |
/netbsd-current/external/gpl3/binutils/dist/bfd/doc/ |
H A D | chew.c | 129 unsigned int idx = 0; /* Pos in input buffer */ variable 231 addr (string_type *buffer, unsigned int idx) argument 233 return buffer->ptr + idx; 291 skip_white_and_stars (string_type *src, unsigned int idx) argument 294 while ((c = at (src, idx)), 299 && at (src, idx +1) != '/' 300 && at (src, idx -1) != '\n')) 301 idx++; 302 return idx; 306 skip_past_newline_1 (string_type *ptr, unsigned int idx) argument 398 unsigned int idx = 0; local 469 unsigned int idx; local 540 unsigned int idx = 0; local 572 unsigned int idx = 0; local 622 unsigned int idx = 0; local 708 unsigned int idx = 0; local 763 unsigned int idx = 0; local 800 iscommand(string_type *ptr, unsigned int idx) argument 824 copy_past_newline(string_type *ptr, unsigned int idx, string_type *dst) argument 870 int idx = 0; local 957 int idx = 0; local 1100 int idx; local [all...] |
/netbsd-current/external/gpl3/gdb/dist/bfd/doc/ |
H A D | chew.c | 129 unsigned int idx = 0; /* Pos in input buffer */ variable 231 addr (string_type *buffer, unsigned int idx) argument 233 return buffer->ptr + idx; 291 skip_white_and_stars (string_type *src, unsigned int idx) argument 294 while ((c = at (src, idx)), 299 && at (src, idx +1) != '/' 300 && at (src, idx -1) != '\n')) 301 idx++; 302 return idx; 306 skip_past_newline_1 (string_type *ptr, unsigned int idx) argument 398 unsigned int idx = 0; local 469 unsigned int idx; local 540 unsigned int idx = 0; local 572 unsigned int idx = 0; local 622 unsigned int idx = 0; local 708 unsigned int idx = 0; local 763 unsigned int idx = 0; local 800 iscommand(string_type *ptr, unsigned int idx) argument 824 copy_past_newline(string_type *ptr, unsigned int idx, string_type *dst) argument 870 int idx = 0; local 957 int idx = 0; local 1100 int idx; local [all...] |
/netbsd-current/crypto/external/bsd/openssl.old/dist/include/internal/ |
H A D | sslconf.h | 15 const SSL_CONF_CMD *conf_ssl_get(size_t idx, const char **name, size_t *cnt); 16 int conf_ssl_name_find(const char *name, size_t *idx); 17 void conf_ssl_get_cmd(const SSL_CONF_CMD *cmd, size_t idx, char **cmdstr,
|
/netbsd-current/crypto/external/bsd/openssl/dist/include/internal/ |
H A D | sslconf.h | 16 const SSL_CONF_CMD *conf_ssl_get(size_t idx, const char **name, size_t *cnt); 17 int conf_ssl_name_find(const char *name, size_t *idx); 18 void conf_ssl_get_cmd(const SSL_CONF_CMD *cmd, size_t idx, char **cmdstr,
|