Searched defs:sh (Results 1 - 25 of 133) sorted by relevance

123456

/freebsd-head/contrib/bmake/unit-tests/
H A Dsunshcmd.mk3 TEST1 :sh = echo hello macro
4 TEST2 :sh = ${BYECMD} macro
5 TEST3 = ${LATERCMD:sh}
/freebsd-head/usr.sbin/makefs/tests/
H A DMakefile9 SCRIPTS+= makefs_tests_common.sh
10 SCRIPTSNAME_makefs_tests_common.sh= makefs_tests_common.sh
/freebsd-head/usr.sbin/btxld/
H A Delfh.h36 Elf32_Shdr sh[4]; /* section header */ member in struct:elfh
/freebsd-head/usr.bin/less/
H A DMakefile9 SCRIPTS=lesspipe.sh zless.sh
10 SCRIPTSNAME_lesspipe.sh=lesspipe.sh
/freebsd-head/contrib/elftoolchain/libpe/
H A Dpe_symtab.c38 PE_SecHdr *sh; local
72 sh = &ps->ps_sh;
73 sh->sh_rawptr = 0xFFFFFFFFU;
74 sh->sh_rawsize = sz;
H A Dpe_section.c193 pe_update_section_header(PE_Scn *ps, PE_SecHdr *sh) argument
197 if (ps == NULL || sh == NULL) {
209 ps->ps_sh = *sh;
H A Dlibpe_coff.c232 PE_SecHdr *sh; local
310 sh = &ps->ps_sh;
313 ch->ch_symptr = sh->sh_rawptr;
319 strncmp(sh->sh_name, ".reloc", strlen(".reloc")) ==
322 reloc_rva = sh->sh_addr;
323 reloc_sz = sh->sh_virtsize;
H A Dlibpe_section.c99 PE_SecHdr *sh; local
117 sh = &ps->ps_sh;
123 memcpy(sh->sh_name, tmp, sizeof(sh->sh_name));
125 PE_READ32(hdr, sh->sh_virtsize);
126 PE_READ32(hdr, sh->sh_addr);
127 PE_READ32(hdr, sh->sh_rawsize);
128 PE_READ32(hdr, sh->sh_rawptr);
129 PE_READ32(hdr, sh->sh_relocptr);
130 PE_READ32(hdr, sh
190 PE_SecHdr *sh; local
261 PE_SecHdr *sh; local
313 PE_SecHdr *sh; local
421 PE_SecHdr *sh; local
471 PE_SecHdr *sh; local
[all...]
/freebsd-head/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_access.c36 GElf_Shdr *sh; local
53 sh = &e->eo_shdr[ndx];
55 ret_section->addr = sh->sh_addr;
56 ret_section->size = sh->sh_size;
58 ret_section->name = elf_strptr(e->eo_elf, e->eo_strndx, sh->sh_name);
/freebsd-head/contrib/elftoolchain/libelf/
H A Dgelf_shdr.c53 void *sh; local
62 if ((sh = _libelf_getshdr(s, ELFCLASSNONE)) == NULL)
69 sh32 = (Elf32_Shdr *) sh;
82 sh64 = (Elf64_Shdr *) sh;
/freebsd-head/lib/libc/gen/
H A Dpw_scan.c89 char *ep, *p, *sh; local
204 if (root && *p) { /* empty == /bin/sh */
206 if (!(sh = getusershell())) {
211 if (!strcmp(p, sh))
/freebsd-head/contrib/elftoolchain/elfcopy/
H A Dpe.c47 GElf_Shdr sh; local
122 if (gelf_getshdr(scn, &sh) == NULL) {
127 if ((name = elf_strptr(e, indx, sh.sh_name)) ==
147 poh.oh_textbase = (uint32_t) sh.sh_addr;
148 poh.oh_textsize = (uint32_t) roundup(sh.sh_size,
152 poh.oh_database = sh.sh_addr;
153 if (sh.sh_type == SHT_NOBITS)
155 roundup(sh.sh_size, poh.oh_filealign);
156 else if (sh.sh_flags & SHF_ALLOC)
158 roundup(sh
[all...]
H A Dbinary.c53 GElf_Shdr sh; local
72 if (gelf_getshdr(scn, &sh) == NULL) {
77 if ((sh.sh_flags & SHF_ALLOC) == 0 ||
78 sh.sh_type == SHT_NOBITS ||
79 sh.sh_size == 0)
81 if (baseoff == -1 || (off_t) sh.sh_offset < baseoff) {
82 baseoff = sh.sh_offset;
83 baseaddr = sh.sh_addr;
98 if (gelf_getshdr(scn, &sh) == NULL) {
103 if ((sh
145 GElf_Shdr sh; local
[all...]
/freebsd-head/usr.bin/chpass/
H A Dutil.c158 char *p, *sh; local
161 while ((sh = getusershell())) {
162 if (!strcmp(name, sh)) {
167 if ((p = strrchr(sh, '/')) && strcmp(name, p + 1) == 0) {
179 char *p, *sh, *ret; local
182 while ((sh = getusershell())) {
183 if (!strcmp(name, sh)) {
188 if ((p = strrchr(sh, '/')) && strcmp(name, p + 1) == 0) {
189 ret = strdup(sh);
/freebsd-head/contrib/ipfilter/tools/
H A Dipsyncm.c67 synchdr_t *sh; local
132 n1, (int) sizeof(*sh));
150 if (inbuf < sizeof(*sh)) {
154 sh = (synchdr_t *)buff;
155 len = ntohl(sh->sm_len);
156 magic = ntohl(sh->sm_magic);
166 printf("v:%d p:%d len:%d magic:%x", sh->sm_v,
167 sh->sm_p, len, magic);
169 if (sh->sm_cmd == SMC_CREATE)
171 else if (sh
[all...]
H A Dipsyncs.c67 synchdr_t *sh; local
150 n1, (int) sizeof(*sh));
168 if (inbuf < sizeof(*sh)) {
172 sh = (synchdr_t *)buff;
173 len = ntohl(sh->sm_len);
174 magic = ntohl(sh->sm_magic);
184 printf("v:%d p:%d len:%d magic:%x", sh->sm_v,
185 sh->sm_p, len, magic);
187 if (sh->sm_cmd == SMC_CREATE)
189 else if (sh
[all...]
/freebsd-head/usr.bin/tip/libacu/
H A Dv3451.c197 notin(char *sh, char *lg) argument
200 if (prefix(sh, lg))
/freebsd-head/sys/dev/ath/ath_hal/ar5312/
H A Dar5312_attach.c66 HAL_BUS_TAG st, HAL_BUS_HANDLE sh, uint16_t *eepromdata,
76 HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n",
77 __func__, sc, st, (void*) sh);
87 ar5212InitState(ahp, devid, sc, st, sh, status);
141 val = ((OS_REG_READ(ah, (AR5315_RSTIMER_BASE -((uint32_t) sh)) + AR5315_WREV)) >> AR5315_WREV_S)
151 val = OS_REG_READ(ah, (AR5312_RSTIMER_BASE - ((uint32_t) sh)) + 0x0020);
152 val = OS_REG_READ(ah, (AR5312_RSTIMER_BASE - ((uint32_t) sh)) + 0x0080);
154 val = ((OS_REG_READ(ah, (AR5312_RSTIMER_BASE - ((uint32_t) sh)) + AR5312_WREV)) >> AR5312_WREV_S) & AR5312_WREV_ID;
65 ar5312Attach(uint16_t devid, HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh, uint16_t *eepromdata, HAL_OPS_CONFIG *ah_config, HAL_STATUS *status) argument
/freebsd-head/tests/sys/cddl/zfs/bin/
H A Dmkfile.c66 int sh; local
77 sh = 0;
80 sh = 60;
83 sh = 50;
86 sh = 40;
89 sh = 30;
92 sh = 20;
95 sh = 10;
98 sh = 9;
106 if (sh) {
110 length <<= sh; local
[all...]
/freebsd-head/lib/msun/src/
H A Ds_clog.c48 double_t ax, ax2h, ax2l, axh, axl, ay, ay2h, ay2l, ayh, ayl, sh, sl, t; local
137 sh = ax2h;
139 _2sumF(sh, sl);
140 if (sh < 0.5 || sh >= 3)
141 return (CMPLX(log(ay2l + ax2l + sl + sh) / 2, v));
142 sh -= 1;
143 _2sum(sh, sl);
146 _2sum(sh, ax2l);
149 _2sumF(sh,
[all...]
H A Ds_clogf.c48 float_t ax, ax2h, ax2l, axh, axl, ay, ay2h, ay2l, ayh, ayl, sh, sl, t; local
137 sh = ax2h;
139 _2sumF(sh, sl);
140 if (sh < 0.5F || sh >= 3)
141 return (CMPLXF(logf(ay2l + ax2l + sl + sh) / 2, v));
142 sh -= 1;
143 _2sum(sh, sl);
146 _2sum(sh, ax2l);
149 _2sumF(sh,
[all...]
H A Ds_clogl.c63 long double sh, sl, t; local
154 sh = ax2h;
156 _2sumF(sh, sl);
157 if (sh < 0.5 || sh >= 3)
158 RETURNI(CMPLXL(logl(ay2l + ax2l + sl + sh) / 2, v));
159 sh -= 1;
160 _2sum(sh, sl);
163 _2sum(sh, ax2l);
166 _2sumF(sh,
[all...]
/freebsd-head/crypto/openssl/crypto/des/
H A Dcfb_enc.c37 unsigned int sh[4]; local
38 unsigned char *ovec = (unsigned char *)sh;
41 assert(sizeof(sh[0]) == 4); /* as this holds true for all, */
81 sh[0] = v0, sh[1] = v1, sh[2] = d0, sh[3] = d1;
90 v0 = sh[0], v1 = sh[1];
124 sh[
[all...]
/freebsd-head/sys/dev/ath/ath_hal/ar9001/
H A Dar9130_attach.c74 HAL_BUS_TAG st, HAL_BUS_HANDLE sh, uint16_t *eepromdata,
85 HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n",
86 __func__, sc, (void*) st, (void*) sh);
96 ar5416InitState(ahp5416, devid, sc, st, sh, status);
73 ar9130Attach(uint16_t devid, HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh, uint16_t *eepromdata, HAL_OPS_CONFIG *ah_config, HAL_STATUS *status) argument
/freebsd-head/sys/libkern/
H A Dqdivrem.c59 * Shift p[0]..p[len] left `sh' bits, ignoring any bits that
64 __shl(digit *p, int len, int sh) argument
69 p[i] = LHALF(p[i] << sh) | (p[i + 1] >> (HALF_BITS - sh));
70 p[i] = LHALF(p[i] << sh);

Completed in 128 milliseconds

123456