Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dfastfind.c203 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s/%s", path, findnames[k]); in findopen()
204 if (!eaccess(fp->encode.file, R_OK|W_OK)) in findopen()
206 path = fp->encode.file; in findopen()
209 if (strchr(findnames[k], '/') && (b = strrchr(fp->encode.file, '/'))) in findopen()
212 if (!stat(fp->encode.file, &st) && st.st_uid == uid && (st.st_mode & S_IWUSR)) in findopen()
215 path = fp->encode.file; in findopen()
225 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s", path); in findopen()
226 path = fp->encode.file; in findopen()
232 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s", path); in findopen()
233 if (b = strrchr(fp->encode.file, '/')) in findopen()
[all …]
H A Dfindlib.h119 #define encode code.code_encode macro
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dupdate.c467 unsigned encode; in wrt() local
482 encode = (update_cmd == ELF_C_WRIMAGE) ? _elf_sys_encoding() : in wrt()
541 if (elf_xlatetof(&dst, &src, encode) == 0) in wrt()
566 if (elf_xlatetof(&dst, &src, encode) == 0) { in wrt()
656 if (elf_xlatetof(&dst, &d->db_data, encode) == 0) { in wrt()
685 if (elf_xlatetof(&dst, &src, encode) == 0) { in wrt()
815 unsigned encode; in _elfxx_update() local
817 ELFACCESSDATA(encode, _elf_encode) in _elfxx_update()
818 if (encode == ELFDATANONE) { in _elfxx_update()
824 eh->e_ident[EI_DATA] = (Byte)encode; in _elfxx_update()
[all …]
H A Dbegin.c132 unsigned encode; in _elf_config() local
158 ELFACCESSDATA(encode, _elf_encode) in _elf_config()
160 (elf->ed_encode != encode)) { in _elf_config()
H A Dgelf.c430 gelf_xlatetof(Elf *elf, Elf_Data *dst, const Elf_Data *src, unsigned encode) in gelf_xlatetof() argument
439 return (elf32_xlatetof(dst, src, encode)); in gelf_xlatetof()
441 return (elf64_xlatetof(dst, src, encode)); in gelf_xlatetof()
449 gelf_xlatetom(Elf *elf, Elf_Data *dst, const Elf_Data *src, unsigned encode) in gelf_xlatetom() argument
458 return (elf32_xlatetom(dst, src, encode)); in gelf_xlatetom()
460 return (elf64_xlatetom(dst, src, encode)); in gelf_xlatetom()
H A Dxlate.m4551 /* x32 [dst_version - 1] [src_version - 1] [encode - 1] [type]
857 xlate(Elf_Data *dst, const Elf_Data *src, unsigned encode, int tof)
868 if (--encode >= (ELFDATANUM - 1)) {
885 f = x32[dver][sver][encode][type].x_tof;
889 f = x32[dver][sver][encode][type].x_tom;
898 if ((_encode == (encode + 1)) && (dsz == ssz)) {
922 elf32_xlatetof(Elf_Data *dst, const Elf_Data *src, unsigned encode)
924 return (xlate(dst, src, encode, 1));
929 elf32_xlatetom(Elf_Data *dst, const Elf_Data *src, unsigned encode)
931 return (xlate(dst, src, encode, 0));
H A Dxlate64.m4609 * x64 [dst_version - 1] [src_version - 1] [encode - 1] [type]
848 xlate(Elf_Data *dst, const Elf_Data *src, unsigned encode, int tof)
859 if (--encode >= (ELFDATANUM - 1)) {
876 f = x64[dver][sver][encode][type].x_tof;
880 f = x64[dver][sver][encode][type].x_tom;
889 if ((_encode == (encode + 1)) && (dsz == ssz)) {
913 elf64_xlatetof(Elf_Data *dst, const Elf_Data *src, unsigned encode)
915 return (xlate(dst, src, encode, 1));
920 elf64_xlatetom(Elf_Data *dst, const Elf_Data *src, unsigned encode)
922 return (xlate(dst, src, encode, 0));
/illumos-gate/usr/src/uts/intel/io/imc/
H A Dimc.c2649 imc_ioctl_decode(imc_t *imc, mc_encode_ioc_t *encode) in imc_ioctl_decode() argument
2655 if (!imc_decode_pa(imc, encode->mcei_pa, &dec)) { in imc_ioctl_decode()
2656 encode->mcei_err = (uint32_t)dec.ids_fail; in imc_ioctl_decode()
2657 encode->mcei_errdata = dec.ids_fail_data; in imc_ioctl_decode()
2661 encode->mcei_errdata = 0; in imc_ioctl_decode()
2662 encode->mcei_err = 0; in imc_ioctl_decode()
2663 encode->mcei_board = 0; in imc_ioctl_decode()
2668 encode->mcei_chip = i; in imc_ioctl_decode()
2673 encode->mcei_die = 0; in imc_ioctl_decode()
2674 encode->mcei_mc = dec.ids_tadid; in imc_ioctl_decode()
[all …]
/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Dzen_umc.c3624 zen_umc_ioctl_decode(zen_umc_t *umc, mc_encode_ioc_t *encode) in zen_umc_ioctl_decode() argument
3630 if (!zen_umc_decode_pa(umc, encode->mcei_pa, &dec)) { in zen_umc_ioctl_decode()
3631 encode->mcei_err = (uint32_t)dec.dec_fail; in zen_umc_ioctl_decode()
3632 encode->mcei_errdata = dec.dec_fail_data; in zen_umc_ioctl_decode()
3636 encode->mcei_errdata = 0; in zen_umc_ioctl_decode()
3637 encode->mcei_err = 0; in zen_umc_ioctl_decode()
3638 encode->mcei_chan_addr = dec.dec_norm_addr; in zen_umc_ioctl_decode()
3639 encode->mcei_rank_addr = UINT64_MAX; in zen_umc_ioctl_decode()
3640 encode->mcei_board = 0; in zen_umc_ioctl_decode()
3643 encode->mcei_chip = sock; in zen_umc_ioctl_decode()
[all …]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_ldap.c81 static int encode = 0; variable
244 encode = 1; in init_ldap()
250 encode = 1; in init_ldap()
344 if (encode) in ldap_match()
429 if (encode) in ldap_match()
665 if (encode) in mastermap_callback_ldap()
681 if (encode) in mastermap_callback_ldap()
804 if (encode) in directmap_callback()
930 if (encode) in readdir_callback()
/illumos-gate/usr/src/cmd/mandoc/
H A Dterm.c38 static void encode(struct termp *, const char *, size_t);
554 encode(p, nbrsp, 1); in term_word()
561 encode(p, word, ssz); in term_word()
581 encode(p, cp, ssz); in term_word()
621 encode(p, "pdf", 3); in term_word()
623 encode(p, "ps", 2); in term_word()
625 encode(p, "ascii", 5); in term_word()
627 encode(p, "utf8", 4); in term_word()
699 encode(p, cp, ssz); in term_word()
742 encode(p, cp, strlen(cp)); in term_word()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Duuencode.c66 static void encode(FILE *, FILE *, int);
156 encode(in, stdout, base64flag); in main()
180 encode(FILE *in, FILE *out, int base64) in encode() function
/illumos-gate/usr/src/contrib/ast/src/cmd/msgcc/
H A Dmsgcvt.c411 encode(Sfio_t* op, register int c) in encode() function
455 encode(op, c); in msg2html()
532 encode(op, c); in msg2html()
575 encode(op, c); in msg2html()
608 encode(op, c); in msg2html()
/illumos-gate/usr/src/cmd/spell/
H A Dspellin.c38 int encode(long, long *);
125 i = encode(x, &w1); in main()
H A Dhuff.c133 encode(long k, long *py) in encode() function
/illumos-gate/usr/src/lib/libsqlite/
H A DMakefile.com24 encode.o \
73 $(SRCDIR)/encode.c \
H A Dmain.mk77 $(TOP)/src/encode.c \
288 encode.o: $(TOP)/src/encode.c
289 $(TCCX) -c $(TOP)/src/encode.c
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dnlist.c77 static unsigned encode; /* data encoding if an ELF file */ variable
128 encode = (unsigned)magic_buf[EI_DATA]; in nlist()
338 if (elf32_xlatetom(ddst, dsrc, encode) != ddst) { in elf_read()
/illumos-gate/usr/src/lib/libkmf/ber_der/
H A DMakefile.com30 encode.o \
/illumos-gate/usr/src/data/locale/tools/
H A Dmkwidths.py31 u8str = unichr(val).encode('utf-8')
/illumos-gate/usr/src/ucbcmd/stty/
H A Dsttyparse.c40 static int gct(), eq(), encode();
267 if(!encode(cb, term)) {
414 static int encode(cb, term) in encode() function
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dexternal.c158 oparams->encode = NULL; in external_server_mech_step()
377 oparams->encode = NULL; in external_client_mech_step()
/illumos-gate/usr/src/lib/sasl_plugins/login/
H A Dlogin.c235 oparams->encode = NULL; in login_server_mech_step()
487 oparams->encode = NULL; in login_client_mech_step()
/illumos-gate/usr/src/lib/sasl_plugins/plain/
H A Dplain.c224 oparams->encode = NULL; in plain_server_mech_step()
448 oparams->encode = NULL; in plain_client_mech_step()
/illumos-gate/usr/src/lib/sasl_plugins/gssapi/
H A Dgssapi.c1244 oparams->encode = NULL;
1249 oparams->encode=&gssapi_integrity_encode;
1254 oparams->encode = &gssapi_privacy_encode;
1951 oparams->encode = &gssapi_privacy_encode;
1957 oparams->encode = &gssapi_integrity_encode;
1967 oparams->encode = NULL;

12