Home
last modified time | relevance | path

Searched refs:VOIDP (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/ntp/sntp/libopts/
H A Dgenshell.c414 res = (char *)VOIDP(_(pz)); in AO_gettext()
416 res = (char *)VOIDP(_(pz)); in AO_gettext()
418 res = (char *)VOIDP(_(pz)); in AO_gettext()
455 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
465 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
466 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
467 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
468 coerce_it(VOIDP(&(opts->pzUsageTitle))); in translate_option_strings()
469 coerce_it(VOIDP(&(opts->pzExplain))); in translate_option_strings()
470 coerce_it(VOIDP(&(opts->pzDetail))); in translate_option_strings()
[all …]
H A Dstack.c194 *ppAL = VOIDP(pAL); in addArgListEntry()
210 pAL = (tArgList *)AGREALOC(VOIDP(pAL), sz, "expanded opt arg stack"); in addArgListEntry()
213 *ppAL = VOIDP(pAL); in addArgListEntry()
257 addArgListEntry(&(od->optCookie), VOIDP(pz)); in optionStackArg()
H A Dautoopts.h113 #define C(_t,_p) ((_t)VOIDP(_p))
263 #define AGREALOC(_p, _c, _w) ao_realloc(VOIDP(_p), (size_t)_c)
264 #define AGFREE(_p) free(VOIDP(_p))
273 #define ao_free(_p) free(VOIDP(_p))
375 # define MAP_FAILED VOIDP(-1)
H A Dnested.c606 tOptionValue * new_val = (tOptionValue *)VOIDP(*(pnew_val++)); in unload_arg_list()
664 arg_list->apzArgs[iy+1] = VOIDP(old_v); in sort_list()
665 old_v = (tOptionValue *)VOIDP(arg_list->apzArgs[--iy]); in sort_list()
674 arg_list->apzArgs[iy+1] = VOIDP(new_v); in sort_list()
809 void * p = VOIDP(*(av++)); in optionNestedVal()
820 addArgListEntry(&(od->optCookie), VOIDP(opt_val)); in optionNestedVal()
H A Denum.c172 char * pz = VOIDP(name); in find_name()
500 res = VOIDP(od->optArg.argString); in optionMemberList()
613 od->optCookie = VOIDP(res); in optionSetMembers()
618 od->optCookie = VOIDP(0); in optionSetMembers()
H A Dfile.c110 pOD->optCookie = VOIDP(pOD->optArg.argString); in open_file_fd()
134 pOD->optCookie = VOIDP(pOD->optArg.argString); in fopen_file_fp()
H A Dinit.c105 pname = VOIDP(pz); in validate_struct()
107 pp = (char const **)VOIDP(&(opts->pzProgPath)); in validate_struct()
H A Dmakeshell.c370 pp = VOIDP(&(opts->pzProgPath)); in emit_usage()
372 pp = VOIDP(&(opts->pzProgName)); in emit_usage()
742 size_t inct = fread(VOIDP(scan), 1, (size_t)stbf.st_size, fp); in load_old_output()
870 char ** pp = VOIDP(&(optionParseShellOptions->pzProgName)); in genshelloptUsage()
H A Denv.c79 pOpts->origArgVect = VOIDP(v - sizeof(char *)); in doPrognameEnv()
H A Dtext_mmap.c64 #define MAP_FAILED_PTR (VOIDP(MAP_FAILED))
H A Dsave.c728 prt_entry(fp, od, VOIDP(od->optArg.argString), save_fl); in prt_enum_arg()
899 prt_entry(fp, vod, VOIDP(vod->optArg.argInt), save_flags); in optionSaveFile()
H A Dconfigfile.c890 txt = VOIDP(parse_attrs( in handle_struct()
1096 char const ** pp = VOIDP(&(opts->pzProgName)); in optionFileLoad()
H A Dputshell.c283 pOD->optCookie = VOIDP(~0UL); in print_membership()
H A Dfind.c699 def_opt = VOIDP(&(opts->specOptIdx.default_opt)); in find_opt()
/freebsd/contrib/ntp/ntpsnmpd/
H A Dntpsnmpd-opts.c476 res = (char *)VOIDP(_(pz)); in AO_gettext()
478 res = (char *)VOIDP(_(pz)); in AO_gettext()
480 res = (char *)VOIDP(_(pz)); in AO_gettext()
517 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
527 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
528 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
529 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
530 coerce_it(VOIDP(&(opts->pzUsageTitle))); in translate_option_strings()
531 coerce_it(VOIDP(&(opts->pzExplain))); in translate_option_strings()
532 coerce_it(VOIDP( in translate_option_strings()
[all...]
/freebsd/contrib/ntp/ntpdc/
H A Dntpdc-opts.c745 res = (char *)VOIDP(_(pz)); in AO_gettext()
747 res = (char *)VOIDP(_(pz)); in AO_gettext()
749 res = (char *)VOIDP(_(pz)); in AO_gettext()
786 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
796 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
797 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
798 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
799 coerce_it(VOIDP(&(opts->pzUsageTitle))); in translate_option_strings()
800 coerce_it(VOIDP(&(opts->pzExplain))); in translate_option_strings()
801 coerce_it(VOIDP( in translate_option_strings()
[all...]
/freebsd/contrib/ntp/ntpq/
H A Dntpq-opts.c790 res = (char *)VOIDP(_(pz)); in AO_gettext()
792 res = (char *)VOIDP(_(pz)); in AO_gettext()
794 res = (char *)VOIDP(_(pz)); in AO_gettext()
831 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
841 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
842 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
843 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
844 coerce_it(VOIDP(&(opts->pzUsageTitle))); in translate_option_strings()
845 coerce_it(VOIDP(&(opts->pzExplain))); in translate_option_strings()
846 coerce_it(VOIDP( in translate_option_strings()
[all...]
/freebsd/contrib/ntp/sntp/
H A Dsntp-opts.c946 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptSteplimit()
982 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptNtpversion()
1097 res = (char *)VOIDP(_(pz)); in AO_gettext()
1099 res = (char *)VOIDP(_(pz)); in AO_gettext()
1101 res = (char *)VOIDP(_(pz)); in AO_gettext()
1138 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
1148 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
1149 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
1150 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
1151 coerce_it(VOIDP( in translate_option_strings()
[all...]
/freebsd/contrib/ntp/util/
H A Dntp-keygen-opts.c1056 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptImbits()
1115 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptModulus()
1231 res = (char *)VOIDP(_(pz)); in AO_gettext()
1233 res = (char *)VOIDP(_(pz)); in AO_gettext()
1235 res = (char *)VOIDP(_(pz)); in AO_gettext()
1272 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
1282 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
1283 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
1284 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
1285 coerce_it(VOIDP( in translate_option_strings()
[all...]
/freebsd/contrib/ntp/ntpd/
H A Dntpd-opts.c1451 res = (char *)VOIDP(_(pz)); in AO_gettext()
1453 res = (char *)VOIDP(_(pz)); in AO_gettext()
1455 res = (char *)VOIDP(_(pz)); in AO_gettext()
1492 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
1502 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
1503 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
1504 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
1505 coerce_it(VOIDP(&(opts->pzUsageTitle))); in translate_option_strings()
1506 coerce_it(VOIDP(&(opts->pzExplain))); in translate_option_strings()
1507 coerce_it(VOIDP( in translate_option_strings()
[all...]
/freebsd/contrib/ntp/sntp/libopts/autoopts/
H A Doptions.h85 #undef VOIDP
91 #define VOIDP(_a) ((void *)(uintptr_t)(_a)) macro
741 #define TEXT_MMAP_FAILED_ADDR(a) (VOIDP(a) == VOIDP(MAP_FAILED))
/freebsd/contrib/ntp/
H A DCommitLog25933 - Use VOIDP instead of a (char*) cast
25937 - use VOIDP() to replace a complicated double cast
25962 - use VOIDP() instead of cast via (void**)
[all...]