Searched refs:od (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Dboolean.c40 * arg: + tOptDesc * + od + the descriptor for this arg +
48 optionBooleanVal(tOptions * opts, tOptDesc * od) argument
53 if (INQUERY_CALL(opts, od))
56 if (od->optArg.argString == NULL) {
57 od->optArg.argBool = false;
61 switch (*(od->optArg.argString)) {
64 long val = strtol(od->optArg.argString, &pz, 0);
77 if (od->optArg.argString[1] != 'f')
82 if (od->fOptState & OPTST_ALLOC_ARG) {
83 AGFREE(od
[all...]
H A Dtime.c35 * arg: + tOptDesc * + od + the descriptor for this arg +
41 optionTimeVal(tOptions * opts, tOptDesc * od) argument
45 if (INQUERY_CALL(opts, od))
48 val = parse_duration(od->optArg.argString);
50 fprintf(stderr, zNotDuration, opts->pzProgName, od->optArg.argString);
55 if (od->fOptState & OPTST_ALLOC_ARG) {
56 AGFREE(od->optArg.argString);
57 od->fOptState &= ~OPTST_ALLOC_ARG;
60 od->optArg.argInt = (long)val;
68 * arg: + tOptDesc * + od
74 optionTimeDate(tOptions * opts, tOptDesc * od) argument
[all...]
H A Dnumeric.c101 * arg: + tOptDesc * + od + the descriptor for this arg +
107 optionNumericVal(tOptions * opts, tOptDesc * od) argument
116 if (INQUERY_CALL(opts, od) || (od->optArg.argString == NULL))
122 * emitted by passing a NULL od pointer. Also bail out
125 if ( (od == NULL)
126 || (od->optArg.argString == NULL)
127 || ((od->fOptState & OPTST_RESET) != 0))
131 val = strtol(od->optArg.argString, &pz, 0);
132 if ((pz == od
[all...]
H A Dstack.c42 * arg: + tOptDesc * + od + the descriptor for this arg +
48 optionUnstackArg(tOptions * opts, tOptDesc * od) argument
52 if (INQUERY_CALL(opts, od))
55 arg_list = (tArgList *)od->optCookie;
62 od->fOptState &= OPTST_PERSISTENT_MASK;
63 if ((od->fOptState & OPTST_INITENABLED) == 0)
64 od->fOptState |= OPTST_DISABLED;
73 if (regcomp(&re, od->optArg.argString, REG_NOSUB) != 0)
137 if (strcmp(pzSrc, od->optArg.argString) == 0) {
165 od
234 optionStackArg(tOptions * opts, tOptDesc * od) argument
[all...]
H A Dautoopts.c114 tOptDesc * od = o_st->pOD; local
115 tOptProc * opt_proc = od->pOptProc;
116 if (od->fOptState & OPTST_ALLOC_ARG)
117 AGFREE(od->optArg.argString);
119 od->optArg.argString = o_st->pzOptArg;
126 && ((od->fOptState & OPTST_NO_INIT) != 0)
134 * entry. (It may not be od->optChar[0], if this is an
138 if (od->optEquivIndex != NO_EQUIVALENT) {
139 tOptDesc * eqv_od = opts->pOptDesc + od->optEquivIndex;
146 if ((od
370 tOptDesc * od = opts->pOptDesc + opts->specOptIdx.save_opts; local
[all...]
H A Dusage.c60 prt_conflicts(tOptions * opts, tOptDesc * od);
63 prt_one_vendor(tOptions * opts, tOptDesc * od,
70 prt_extd_usage(tOptions * opts, tOptDesc * od, char const * title);
77 prt_preamble(tOptions * opts, tOptDesc * od, arg_types_t * at);
80 prt_one_usage(tOptions * opts, tOptDesc * od, arg_types_t * at);
289 tOptDesc * od = opts->pOptDesc + ix; local
290 while (od->optUsage != AOUSE_HELP) {
293 od++;
298 help[1] = od->optValue;
305 strncpy(help + 2, od
640 prt_conflicts(tOptions * opts, tOptDesc * od) argument
700 prt_one_vendor(tOptions * opts, tOptDesc * od, arg_types_t * argtp, char const * usefmt) argument
772 tOptDesc * od = opts->pOptDesc; local
817 prt_extd_usage(tOptions * opts, tOptDesc * od, char const * title) argument
997 prt_preamble(tOptions * opts, tOptDesc * od, arg_types_t * at) argument
1030 prt_one_usage(tOptions * opts, tOptDesc * od, arg_types_t * at) argument
1093 tOptDesc * od = opts->pOptDesc; local
1205 tOptDesc * od = opts->pOptDesc; local
[all...]
H A Dalias.c35 too_many_occurrences(tOptions * opts, tOptDesc * od) argument
38 char const * eqv = (od->optEquivIndex != NO_EQUIVALENT) ? zequiv : zNil;
42 if (od->optMaxCt > 1)
43 fprintf(stderr, zat_most, od->optMaxCt, od->pz_Name, eqv);
45 fprintf(stderr, zonly_one, od->pz_Name, eqv);
H A Dcheck.c35 has_conflict(tOptions * pOpts, tOptDesc * od) argument
37 if (od->pOptMust != NULL) {
38 int const * must = od->pOptMust;
45 od->pz_Name, ood->pz_Name);
51 if (od->pOptCant != NULL) {
52 int const * cant = od->pOptCant;
59 od->pz_Name, ood->pz_Name);
H A Dmakeshell.c43 text_to_var(tOptions * opts, teTextTo which, tOptDesc * od);
55 emit_action(tOptions * opts, tOptDesc * od);
58 emit_inaction(tOptions * opts, tOptDesc * od);
285 * @param[in] od for TT_VERSION, it is the version option
288 text_to_var(tOptions * opts, teTextTo which, tOptDesc * od) argument
332 if (od->fOptState & OPTST_ALLOC_ARG) {
333 AGFREE(od->optArg.argString);
334 od->fOptState &= ~OPTST_ALLOC_ARG;
336 od->optArg.argString = "c";
337 optionPrintVersion(opts, od);
437 tOptDesc * od = opts->pOptDesc; local
471 tOptDesc * od = opts->pOptDesc; local
534 emit_action(tOptions * opts, tOptDesc * od) argument
584 emit_inaction(tOptions * opts, tOptDesc * od) argument
609 tOptDesc * od = opts->pOptDesc; local
644 tOptDesc * od = opts->pOptDesc; local
715 tOptDesc * od = opts->pOptDesc; local
[all...]
H A Denum.c50 set_memb_names(tOptions * opts, tOptDesc * od, char const * const * nm_list,
54 check_membership_start(tOptDesc * od, char const ** argp, bool * invert);
57 find_member_bit(tOptions * opts, tOptDesc * od, char const * pz, int len,
256 tOptDesc od = { 0 }; local
257 od.optArg.argEnum = enum_val;
259 (*(pOD->pOptProc))(OPTPROC_RETURN_VALNAME, &od );
260 return od.optArg.argString;
368 set_memb_names(tOptions * opts, tOptDesc * od, char const * const * nm_list, argument
373 uintptr_t bits = (uintptr_t)od->optCookie & mask;
388 od
430 check_membership_start(tOptDesc * od, char const ** argp, bool * invert) argument
489 find_member_bit(tOptions * opts, tOptDesc * od, char const * pz, int len, char const * const * nm_list, unsigned int nm_ct) argument
519 optionMemberList(tOptDesc * od) argument
546 optionSetMembers(tOptions * opts, tOptDesc * od, char const * const * nm_list, unsigned int nm_ct) argument
[all...]
H A Dversion.c138 print_ver(tOptions * opts, tOptDesc * od, FILE * fp, bool call_exit) argument
150 if ( (od->fOptState & OPTST_ARG_OPTIONAL)
151 && (od->optArg.argString != NULL)
152 && (od->optArg.argString[0] != NUL))
154 ch = od->optArg.argString[0];
185 * arg: + tOptDesc * + od + the descriptor for this arg +
191 optionPrintVersion(tOptions * opts, tOptDesc * od) argument
193 print_ver(opts, od, print_exit ? stderr : stdout, true);
200 * arg: + tOptDesc * + od + the descriptor for this arg +
209 optionPrintVersionAndReturn(tOptions * opts, tOptDesc * od) argument
225 optionVersionStderr(tOptions * opts, tOptDesc * od) argument
[all...]
H A Dsave.c42 prt_entry(FILE * fp, tOptDesc * od, char const * l_arg);
66 prt_enum_arg(FILE * fp, tOptDesc * od);
69 prt_set_arg(FILE * fp, tOptDesc * od);
72 prt_file_arg(FILE * fp, tOptDesc * od, tOptions * opts);
274 * @param[in] od the option descriptor to print
278 prt_entry(FILE * fp, tOptDesc * od, char const * l_arg) argument
290 (! DISABLED_OPT(od) || (od->optEquivIndex != NO_EQUIVALENT))
291 ? od->pz_Name
292 : od
623 prt_enum_arg(FILE * fp, tOptDesc * od) argument
647 prt_set_arg(FILE * fp, tOptDesc * od) argument
668 prt_file_arg(FILE * fp, tOptDesc * od, tOptions * opts) argument
720 tOptDesc * od; local
[all...]
H A Dpgusage.c102 * arg: + tOptDesc * + od + the descriptor for this arg +
110 optionPagedUsage(tOptions * opts, tOptDesc * od) argument
113 if ((od->fOptState & OPTST_RESET) != 0)
129 if ((od->fOptState & OPTST_RESET) != 0)
H A Dinit.c194 tOptDesc * od = NULL; local
206 od = opts->pOptDesc + opts->specOptIdx.save_opts + 1;
207 if (DISABLED_OPT(od))
228 if ((od != NULL) && ! DISABLED_OPT(od))
/freebsd-11-stable/usr.bin/hexdump/tests/
H A Dod_test.sh40 od -c d_od_cflag.in
43 od -c d_od_cflag.in
/freebsd-11-stable/crypto/openssh/
H A Dsftp-glob.c65 fudge_readdir(struct SFTP_OPENDIR *od) argument
74 if (od->dir[od->offset] == NULL)
84 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN);
86 strlcpy(ret->d_name, od->dir[od->offset++]->filename,
104 fudge_closedir(struct SFTP_OPENDIR *od) argument
106 free_sftp_dirents(od->dir);
107 free(od);
[all...]
/freebsd-11-stable/stand/common/
H A Ddisk.c86 struct open_disk *od; local
89 od = (struct open_disk *)dev->dd.d_opendata;
96 offset *= (od->sectorsize / 512);
102 blocks * od->sectorsize, (char *)buf, NULL));
110 struct open_disk *od; local
118 od = (struct open_disk *)pa->dev->dd.d_opendata;
119 sectsize = od->sectorsize;
160 struct open_disk *od; local
164 od = (struct open_disk *)dev->dd.d_opendata;
168 return (ptable_iterate(od
174 struct open_disk *od; local
187 struct open_disk *od; local
200 struct open_disk *od = dev->dd.d_opendata; local
226 struct open_disk *od; local
364 struct open_disk *od; local
[all...]
H A Dpart.c984 bd_open_pc98(struct open_disk *od, struct i386_devdesc *dev) argument
1000 od->od_nslices = 0;
1001 if (od->od_flags & BD_FLOPPY) {
1005 if (bd_read(od, 0, 1, buf)) {
1022 if (bd_read(od, 1, 1, buf)) {
1030 bcopy(buf + PC98_PARTOFF, &od->od_slicetab,
1032 od->od_nslices = PC98_NPARTS; /* extended slices start here */
1033 od->od_flags |= BD_PARTTABOK;
1034 dptr = &od->od_slicetab[0];
1047 if (slice >= od
1129 bd_closedisk(struct open_disk *od) argument
[all...]
/freebsd-11-stable/sys/mips/cavium/cryptocteon/
H A Dcavium_crypto.c325 struct octo_sess *od,
336 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL ||
338 dprintf("%s: Bad parameters od=%p iov=%p iovlen=%jd "
340 "icv_off=%d ivp=%p\n", __func__, od, iov, iovlen,
348 CVMX_PREFETCH0(od->octo_enckey);
352 CVMX_MT_3DES_KEY(((uint64_t *) od->octo_enckey)[0], 0);
353 if (od->octo_encklen == 24) {
354 CVMX_MT_3DES_KEY(((uint64_t *) od->octo_enckey)[1], 1);
355 CVMX_MT_3DES_KEY(((uint64_t *) od->octo_enckey)[2], 2);
356 } else if (od
324 octo_des_cbc_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
383 octo_des_cbc_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
443 octo_aes_cbc_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
512 octo_aes_cbc_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
583 octo_null_md5_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
685 octo_null_sha1_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
790 octo_des_cbc_md5_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
938 octo_des_cbc_md5_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
1089 octo_des_cbc_sha1_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
1240 octo_des_cbc_sha1_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
1393 octo_aes_cbc_md5_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
1570 octo_aes_cbc_md5_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
1746 octo_aes_cbc_sha1_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
1942 octo_aes_cbc_sha1_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument
[all...]
H A Dcryptocteon.c342 struct octo_sess *od; local
373 od = sc->sc_sessions[lid];
403 if (crd->crd_alg == od->octo_encalg) enccrd = crd;
404 if (crd->crd_alg == od->octo_macalg) maccrd = crd;
407 if (crd->crd_alg == od->octo_encalg) enccrd = crd;
408 if (crd->crd_alg == od->octo_macalg) maccrd = crd;
424 enccrd->crd_inject, od->octo_ivsize, (caddr_t) ivp);
449 od->octo_iov[iovcnt].iov_base = mtod(m, void *);
450 od->octo_iov[iovcnt].iov_len = m->m_len;
453 iovlen += od
[all...]
H A Dcryptocteonvar.h37 typedef int octo_encrypt_t(struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp);
38 typedef int octo_decrypt_t(struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp);
/freebsd-11-stable/sys/arm/xscale/pxa/
H A Dpxa_obio.c102 struct obio_device *od; local
126 for (od = obio_devices; od->od_name != NULL; od++) {
127 resource_list_init(&od->od_resources);
129 resource_list_add(&od->od_resources, SYS_RES_MEMORY, 0,
130 od->od_base, od->od_base + od->od_size, od
150 struct obio_device *od; local
196 struct obio_device *od; local
215 struct obio_device *od; local
230 struct obio_device *od; local
292 struct obio_device *od; local
357 struct obio_device *od; local
[all...]
/freebsd-11-stable/usr.bin/hexdump/
H A DMakefile8 MAN= hexdump.1 od.1
10 LINKS= ${BINDIR}/hexdump ${BINDIR}/od
/freebsd-11-stable/contrib/netbsd-tests/lib/libppath/
H A Dt_ppath.c432 prop_dictionary_t d, od; local
442 od = prop_dictionary_copy(d);
444 if (!dictionary_equals(od, d)) {
445 oext = prop_dictionary_externalize(od);
510 if (!dictionary_equals(od, d)) {
511 oext = prop_dictionary_externalize(od);
519 if (dictionary_equals(od, nd)) {
520 oext = prop_dictionary_externalize(od);
528 rc = ppath_set_bool(od, p, false);
531 rc = ppath_set_string(od, p
571 prop_dictionary_t d, od; local
702 prop_dictionary_t d, od; local
796 prop_dictionary_t d, od; local
[all...]
/freebsd-11-stable/release/scripts/
H A Dmm-mtree.sh122 od=${TEMPROOT}/usr/obj
124 MAKEOBJDIRPREFIX=$od ${MM_MAKE} _obj SUBDIR_OVERRIDE=etc &&
125 MAKEOBJDIRPREFIX=$od ${MM_MAKE} everything SUBDIR_OVERRIDE=etc &&
126 MAKEOBJDIRPREFIX=$od ${MM_MAKE} DESTDIR=${TEMPROOT} distribution;} ||

Completed in 191 milliseconds

123