| /freebsd-14.2/usr.bin/rpcgen/ |
| H A D | rpc_scan.c | 53 #define startcomment(where) (where[0] == '/' && where[1] == '*') argument 54 #define endcomment(where) (where[-1] == '*' && where[0] == '/') argument 193 for (where++; *where; where++) { in get_token() 214 where++; in get_token() 218 where++; in get_token() 222 where++; in get_token() 226 where++; in get_token() 230 where++; in get_token() 234 where++; in get_token() 238 where++; in get_token() [all …]
|
| /freebsd-14.2/libexec/rtld-elf/arm/ |
| H A D | reloc.c | 92 Elf_Addr *where; in _rtld_relocate_nonplt_self() local 159 addend = *where; in reloc_nonplt_object() 180 *where = (*where & 0xff000000) | (tmp & 0x00ffffff); in reloc_nonplt_object() 183 obj->path, (void *)*where, where, defobj->path); in reloc_nonplt_object() 197 *where = tmp; in reloc_nonplt_object() 212 *where = tmp; in reloc_nonplt_object() 246 *where = tmp; in reloc_nonplt_object() 263 *where = tmp; in reloc_nonplt_object() 284 *where = tmp; in reloc_nonplt_object() 357 Elf_Addr *where; in reloc_plt() local [all …]
|
| /freebsd-14.2/sys/riscv/riscv/ |
| H A D | elf_machdep.c | 297 Elf64_Addr *where; in elf_reloc_internal() local 310 insn32p = (uint32_t *)where; in elf_reloc_internal() 330 before64 = *where; in elf_reloc_internal() 331 *where = addr + addend; in elf_reloc_internal() 335 before64, *where); in elf_reloc_internal() 343 before64 = *where; in elf_reloc_internal() 344 *where = addr; in elf_reloc_internal() 348 before64, *where); in elf_reloc_internal() 352 before64 = *where; in elf_reloc_internal() 357 before64, *where); in elf_reloc_internal() [all …]
|
| /freebsd-14.2/usr.sbin/kldxref/ |
| H A D | ef_mips.c | 50 char *where; in ef_mips_reloc() local 59 where = (char *)dest + (relbase + rel->r_offset - dataoff); in ef_mips_reloc() 75 if (where < (char *)dest || where >= (char *)dest + len) in ef_mips_reloc() 81 addend = le64dec(where); in ef_mips_reloc() 83 addend = be64dec(where); in ef_mips_reloc() 86 addend = le32dec(where); in ef_mips_reloc() 88 addend = be32dec(where); in ef_mips_reloc() 96 le64enc(where, addr); in ef_mips_reloc() 98 be64enc(where, addr); in ef_mips_reloc() 103 le32enc(where, addr); in ef_mips_reloc() [all …]
|
| H A D | ef_amd64.c | 47 char *where; in ef_amd64_reloc() local 56 where = (char *)dest + (relbase + rel->r_offset - dataoff); in ef_amd64_reloc() 63 where = (char *)dest + (relbase + rela->r_offset - dataoff); in ef_amd64_reloc() 72 if (where < (char *)dest || where >= (char *)dest + len) in ef_amd64_reloc() 80 addend = le32dec(where); in ef_amd64_reloc() 83 addend = le64dec(where); in ef_amd64_reloc() 93 le64enc(where, addr); in ef_amd64_reloc() 97 le32enc(where, addr); in ef_amd64_reloc() 101 le64enc(where, addr); in ef_amd64_reloc() 105 le64enc(where, addr); in ef_amd64_reloc()
|
| H A D | ef_powerpc.c | 47 char *where; in ef_ppc_reloc() local 55 where = (char *)dest + (relbase + rela->r_offset - dataoff); in ef_ppc_reloc() 64 if (where < (char *)dest || where >= (char *)dest + len) in ef_ppc_reloc() 72 le64enc(where, addr); in ef_ppc_reloc() 74 be64enc(where, addr); in ef_ppc_reloc() 76 be32enc(where, addr); in ef_ppc_reloc() 80 be32enc(where, addr); in ef_ppc_reloc() 85 le64enc(where, addr); in ef_ppc_reloc() 87 be64enc(where, addr); in ef_ppc_reloc()
|
| H A D | ef_i386.c | 47 char *where; in ef_i386_reloc() local 56 where = (char *)dest + (relbase + rel->r_offset - dataoff); in ef_i386_reloc() 63 where = (char *)dest + (relbase + rela->r_offset - dataoff); in ef_i386_reloc() 72 if (where < (char *)dest || where >= (char *)dest + len) in ef_i386_reloc() 76 addend = le32dec(where); in ef_i386_reloc() 81 le32enc(where, addr); in ef_i386_reloc() 85 le32enc(where, addr); in ef_i386_reloc() 89 le32enc(where, addr); in ef_i386_reloc()
|
| H A D | ef_arm.c | 48 char *where; in ef_arm_reloc() local 57 where = (char *)dest + (relbase + rel->r_offset - dataoff); in ef_arm_reloc() 64 where = (char *)dest + (relbase + rela->r_offset - dataoff); in ef_arm_reloc() 73 if (where < (char *)dest || where >= (char *)dest + len) in ef_arm_reloc() 77 addend = le32dec(where); in ef_arm_reloc() 82 le32enc(where, addr); in ef_arm_reloc() 86 le32enc(where, addr); in ef_arm_reloc()
|
| H A D | ef_aarch64.c | 45 char *where; in ef_aarch64_reloc() local 53 where = (char *)dest + (relbase + rela->r_offset - dataoff); in ef_aarch64_reloc() 62 if (where < (char *)dest || where >= (char *)dest + len) in ef_aarch64_reloc() 68 le64enc(where, addr); in ef_aarch64_reloc() 72 le64enc(where, addr); in ef_aarch64_reloc()
|
| H A D | ef_riscv.c | 50 char *where; in ef_riscv_reloc() local 58 where = (char *)dest + (relbase + rela->r_offset - dataoff); in ef_riscv_reloc() 67 if (where < (char *)dest || where >= (char *)dest + len) in ef_riscv_reloc() 73 le64enc(where, addr); in ef_riscv_reloc() 77 le64enc(where, addr); in ef_riscv_reloc()
|
| /freebsd-14.2/contrib/less/ |
| H A D | prompt.c | 154 pos = position(where); in curr_byte() 155 while (pos == NULL_POSITION && where >= 0 && where < sc_height-1) in curr_byte() 156 pos = position(++where); in curr_byte() 248 pos = curr_byte(where); in protochar() 258 linenum = currline(where); in protochar() 330 pos = curr_byte(where); in protochar() 466 int where; in pr_expand() local 489 where = 0; in pr_expand() 491 if (!cond(c, where)) in pr_expand() 505 where = 0; in pr_expand() [all …]
|
| /freebsd-14.2/libexec/rtld-elf/aarch64/ |
| H A D | reloc.c | 161 where[1] = rela->r_addend; in reloc_tlsdesc() 170 where[1] = obj->tlsoffset + offs; in reloc_tlsdesc() 190 Elf_Addr *where; in reloc_plt() local 196 *where += (Elf_Addr)obj->relocbase; in reloc_plt() 234 Elf_Addr *where, target; in reloc_jmpslots() local 262 Elf_Addr *where, target, *ptr; in reloc_iresolve_one() local 269 *where = target; in reloc_iresolve_one() 313 Elf_Addr *where, target; in reloc_gnu_ifunc() local 350 *where = target; in reloc_jmpslot() 372 Elf_Addr *where, symval; in reloc_non_plt() local [all …]
|
| /freebsd-14.2/stand/common/ |
| H A D | reloc_elf.c | 53 Elf64_Addr *where, val; in __elfN() local 65 where = (Elf_Addr *)((char *)data + relbase + rel->r_offset - in __elfN() 88 if ((char *)where < (char *)data || (char *)where >= (char *)data + len) in __elfN() 92 addend = *where; in __elfN() 111 memcpy(where, &val, sizeof(val)); in __elfN() 122 *where = val; in __elfN() 132 Elf_Addr addend, addr, *where, val; in __elfN() 159 if ((char *)where < (char *)data || (char *)where >= (char *)data + len) in __elfN() 163 addend = *where; in __elfN() 174 *where = addr; in __elfN() [all …]
|
| /freebsd-14.2/libexec/rtld-elf/i386/ |
| H A D | reloc.c | 203 *where += symval; in reloc_non_plt() 211 *where += symval - (Elf_Addr)where; in reloc_non_plt() 228 *where = symval; in reloc_non_plt() 254 *where += add; in reloc_non_plt() 256 *where -= add; in reloc_non_plt() 289 Elf_Addr *where/*, val*/; in reloc_plt() local 322 Elf_Addr *where, target; in reloc_jmpslots() local 365 *where = target; in reloc_jmpslot() 373 Elf_Addr *where, target; in reloc_iresolve_one() local 379 *where = target; in reloc_iresolve_one() [all …]
|
| /freebsd-14.2/sys/arm/arm/ |
| H A D | elf_machdep.c | 163 load_ptr(Elf_Addr *where) in load_ptr() argument 167 if (RELOC_ALIGNED_P(where)) in load_ptr() 168 return *where; in load_ptr() 176 if (RELOC_ALIGNED_P(where)) in store_ptr() 177 *where = val; in store_ptr() 188 Elf_Addr *where; in elf_reloc_internal() local 200 addend = load_ptr(where); in elf_reloc_internal() 218 if (load_ptr(where) != addr) in elf_reloc_internal() 219 store_ptr(where, addr); in elf_reloc_internal() 232 store_ptr(where, addr + load_ptr(where)); in elf_reloc_internal() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | ilist.h | 165 iterator insert(iterator where, pointer New) { 167 return base_list_type::insert(where, *New); 178 return insert(++where, New); 204 iterator erase(iterator where) { 205 this->deleteNode(remove(where)); 206 return where; 266 void splice(iterator where, iplist_impl &L2) { 272 if (where == first || where == last) return; // No change 273 transfer(where, L2, first, last); 279 splice(where, L2, iterator(N)); [all …]
|
| /freebsd-14.2/libexec/rtld-elf/powerpc/ |
| H A D | reloc.c | 133 Elf_Addr *where; in reloc_non_plt_self() local 262 *(Elf_Addr **)where = *where * sizeof(Elf_Addr) in reloc_nonplt_object() 274 if (*where != symval) { in reloc_nonplt_object() 275 *where = symval; in reloc_nonplt_object() 415 where[2] = 0x7d8903a6; in reloc_plt_object() 416 where[3] = 0x4e800420; in reloc_plt_object() 482 Elf_Addr *where; in reloc_jmpslots() local 504 *where = 0; in reloc_jmpslots() 628 *where = target; in reloc_iresolve() 645 *where = target; in reloc_iresolve() [all …]
|
| /freebsd-14.2/libexec/rtld-elf/powerpc64/ |
| H A D | reloc.c | 128 Elf_Addr *where; in reloc_non_plt_self() local 164 Elf_Addr *where, symval = 0; in reloc_nonplt_object() local 233 *where = symval + rela->r_addend; in reloc_nonplt_object() 257 *(Elf_Addr **)where = *where * sizeof(Elf_Addr) in reloc_nonplt_object() 269 if (*where != symval) { in reloc_nonplt_object() 270 *where = symval; in reloc_nonplt_object() 443 Elf_Addr *where; in reloc_jmpslots() local 468 *where = 0; in reloc_jmpslots() 572 Elf_Addr *where, target, *ptr; in reloc_iresolve() 587 *where = target; in reloc_iresolve() [all …]
|
| /freebsd-14.2/libexec/rtld-elf/amd64/ |
| H A D | reloc.c | 135 Elf_Addr *where, symval; in reloc_non_plt() local 216 where32 = (Elf32_Addr *)where; in reloc_non_plt() 222 *where = symval + rela->r_addend; in reloc_non_plt() 248 *where = symval; in reloc_non_plt() 336 Elf_Addr *where; in reloc_plt() local 342 *where += (Elf_Addr)obj->relocbase; in reloc_plt() 369 Elf_Addr *where, target; in reloc_jmpslots() local 412 *where = target; in reloc_jmpslot() 420 Elf_Addr *where, target, *ptr; in reloc_iresolve_one() local 427 *where = target; in reloc_iresolve_one() [all …]
|
| /freebsd-14.2/sys/arm64/arm64/ |
| H A D | elf_machdep.c | 165 *where |= (Elf32_Addr)val; in reloc_instr_imm() 179 Elf_Addr *where, addr, addend, val; in elf_reloc_internal() local 189 addend = *where; in elf_reloc_internal() 226 error = reloc_instr_imm((Elf32_Addr *)where, in elf_reloc_internal() 227 addr + addend - (Elf_Addr)where, 15, 2); in elf_reloc_internal() 233 error = reloc_instr_imm((Elf32_Addr *)where, in elf_reloc_internal() 234 addr + addend - (Elf_Addr)where, 20, 2); in elf_reloc_internal() 241 error = reloc_instr_imm((Elf32_Addr *)where, in elf_reloc_internal() 250 *where = addr + addend; in elf_reloc_internal() 255 if (*where != val) in elf_reloc_internal() [all …]
|
| /freebsd-14.2/sys/i386/i386/ |
| H A D | elf_machdep.c | 176 Elf_Addr *where; in elf_reloc_internal() local 188 addend = *where; in elf_reloc_internal() 206 if (*where != addr) in elf_reloc_internal() 207 *where = addr; in elf_reloc_internal() 221 if (*where != addr) in elf_reloc_internal() 222 *where = addr; in elf_reloc_internal() 230 if (*where != addr) in elf_reloc_internal() 231 *where = addr; in elf_reloc_internal() 249 if (*where != addr) in elf_reloc_internal() 250 *where = addr; in elf_reloc_internal() [all …]
|
| /freebsd-14.2/libexec/rtld-elf/riscv/ |
| H A D | reloc.c | 154 Elf_Addr *where; in reloc_plt() local 158 where = (Elf_Addr *)(obj->relocbase + rela->r_offset); in reloc_plt() 159 *where += (Elf_Addr)obj->relocbase; in reloc_plt() 179 Elf_Addr *where; in reloc_jmpslots() local 231 reloc_jmpslot(Elf_Addr *where, Elf_Addr target, in reloc_jmpslot() argument 238 if (*where != target && !ld_bind_not) in reloc_jmpslot() 239 *where = target; in reloc_jmpslot() 255 Elf_Addr *where; in reloc_non_plt() local 298 *where += (Elf_Addr)defobj->tlsindex; in reloc_non_plt() 336 *where += (Elf_Addr)(def->st_value + rela->r_addend in reloc_non_plt() [all …]
|
| /freebsd-14.2/sys/amd64/amd64/ |
| H A D | elf_machdep.c | 280 Elf64_Addr *where, val; in elf_reloc_internal() local 300 addend = *(Elf32_Addr *)where; in elf_reloc_internal() 303 addend = *where; in elf_reloc_internal() 334 if (*where != val) in elf_reloc_internal() 335 *where = val; in elf_reloc_internal() 374 if (*where != addr) in elf_reloc_internal() 375 *where = addr; in elf_reloc_internal() 381 if (*where != val) in elf_reloc_internal() 382 *where = val; in elf_reloc_internal() 388 if (*where != val) in elf_reloc_internal() [all …]
|
| /freebsd-14.2/stand/libsa/ |
| H A D | lseek.c | 64 lseek(int fd, off_t offset, int where) in lseek() argument 79 switch (where) { in lseek() 101 if (f->f_ralen != 0 && where != SEEK_END) { in lseek() 106 switch (where) { in lseek() 129 if (where == SEEK_CUR) in lseek() 137 return (f->f_ops->fo_seek)(f, offset, where); in lseek()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | range_tree.c | 103 zfs_btree_index_t where; in range_tree_stat_verify() local 108 rs = zfs_btree_next(&rt->rt_root, &where, &where)) { in range_tree_stat_verify() 294 zfs_btree_index_t where; in range_tree_add_impl() local 446 zfs_btree_index_t where; in range_tree_remove_impl() local 520 if (zfs_btree_next(&rt->rt_root, &where, &where) != NULL) in range_tree_remove_impl() 646 zfs_btree_index_t where; in range_tree_find_in() local 654 rs = zfs_btree_next(&rt->rt_root, &where, &where); in range_tree_find_in() 727 rs != NULL; rs = zfs_btree_next(&rt->rt_root, &where, &where)) { in range_tree_walk() 776 curr = zfs_btree_next(&removefrom->rt_root, &where, &where); in range_tree_remove_xor_add_segment() 821 next = zfs_btree_next(&removefrom->rt_root, &where, &where); in range_tree_remove_xor_add_segment() [all …]
|