Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/ntp/sntp/libopts/
Dgenshell.c409 res = (char *)VOIDP(_(pz)); in AO_gettext()
411 res = (char *)VOIDP(_(pz)); in AO_gettext()
413 res = (char *)VOIDP(_(pz)); in AO_gettext()
450 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
460 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
461 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
462 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
463 coerce_it(VOIDP(&(opts->pzUsageTitle))); in translate_option_strings()
464 coerce_it(VOIDP(&(opts->pzExplain))); in translate_option_strings()
465 coerce_it(VOIDP(&(opts->pzDetail))); in translate_option_strings()
[all …]
Dautoopts.h110 #define C(_t,_p) ((_t)VOIDP(_p))
260 #define AGREALOC(_p, _c, _w) ao_realloc(VOIDP(_p), (size_t)_c)
261 #define AGFREE(_p) free(VOIDP(_p))
270 #define ao_free(_p) free(VOIDP(_p))
372 # define MAP_FAILED VOIDP(-1)
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()
Dinit.c100 char const ** pp = VOIDP(&(opts->pzProgName)); in validate_struct()
109 pname = VOIDP(pz); in validate_struct()
111 pp = (char const **)VOIDP(&(opts->pzProgPath)); in validate_struct()
Dnested.c648 tOptionValue * new_val = (tOptionValue *)VOIDP(*(pnew_val++)); in unload_arg_list()
706 arg_list->apzArgs[iy+1] = VOIDP(old_v); in sort_list()
707 old_v = (tOptionValue *)VOIDP(arg_list->apzArgs[--iy]); in sort_list()
716 arg_list->apzArgs[iy+1] = VOIDP(new_v); in sort_list()
840 void * p = VOIDP(*(av++)); in optionNestedVal()
851 addArgListEntry(&(od->optCookie), VOIDP(opt_val)); in optionNestedVal()
Dfile.c110 pOD->optCookie = VOIDP(pOD->optArg.argString); in open_file_fd()
134 pOD->optCookie = VOIDP(pOD->optArg.argString); in fopen_file_fp()
Dconfigfile.c187 const void ** poptv = VOIDP(argl->apzArgs); in optionFindValue()
269 const void ** poptv = VOIDP(argl->apzArgs); in optionFindNextValue()
329 const void ** ovlist = VOIDP(arg_list->apzArgs); in optionGetValue()
388 const void ** o_list = VOIDP(arg_list->apzArgs); in optionNextValue()
934 txt = VOIDP(parse_attrs( in handle_struct()
1140 char const ** pp = VOIDP(&(opts->pzProgName)); in optionFileLoad()
Dsave.c456 opt_list = VOIDP(al->apzArgs); in prt_val_list()
491 opt_list = VOIDP(al->apzArgs); in prt_nested()
632 prt_entry(fp, od, VOIDP(od->optArg.argString)); in prt_enum_arg()
768 prt_entry(fp, p, VOIDP(p->optArg.argInt)); in optionSaveFile()
Denum.c524 res = VOIDP(od->optArg.argString); in optionMemberList()
637 od->optCookie = VOIDP(res); in optionSetMembers()
642 od->optCookie = VOIDP(0); in optionSetMembers()
Dmakeshell.c408 pp = VOIDP(&(opts->pzProgPath)); in emit_usage()
410 pp = VOIDP(&(opts->pzProgName)); in emit_usage()
780 size_t inct = fread(VOIDP(scan), 1, (size_t)stbf.st_size, fp); in load_old_output()
909 char ** pp = VOIDP(&(optionParseShellOptions->pzProgName)); in genshelloptUsage()
Dfind.c83 *arg_pp = VOIDP(p); in parse_opt()
714 def_opt = VOIDP(&(opts->specOptIdx.default_opt)); in find_opt()
Denv.c85 pOpts->origArgVect = VOIDP(v - sizeof(char *)); in doPrognameEnv()
Dtext_mmap.c64 #define MAP_FAILED_PTR (VOIDP(MAP_FAILED))
Dputshell.c299 pOD->optCookie = VOIDP(~0UL); in print_membership()
/freebsd-9-stable/contrib/ntp/ntpsnmpd/
Dntpsnmpd-opts.c471 res = (char *)VOIDP(_(pz)); in AO_gettext()
473 res = (char *)VOIDP(_(pz)); in AO_gettext()
475 res = (char *)VOIDP(_(pz)); in AO_gettext()
512 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
522 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
523 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
524 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
525 coerce_it(VOIDP(&(opts->pzUsageTitle))); in translate_option_strings()
526 coerce_it(VOIDP(&(opts->pzExplain))); in translate_option_strings()
527 coerce_it(VOIDP(&(opts->pzDetail))); in translate_option_strings()
[all …]
/freebsd-9-stable/contrib/ntp/ntpdc/
Dntpdc-opts.c713 res = (char *)VOIDP(_(pz)); in AO_gettext()
715 res = (char *)VOIDP(_(pz)); in AO_gettext()
717 res = (char *)VOIDP(_(pz)); in AO_gettext()
754 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
764 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
765 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
766 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
767 coerce_it(VOIDP(&(opts->pzUsageTitle))); in translate_option_strings()
768 coerce_it(VOIDP(&(opts->pzExplain))); in translate_option_strings()
769 coerce_it(VOIDP(&(opts->pzDetail))); in translate_option_strings()
[all …]
/freebsd-9-stable/contrib/ntp/ntpq/
Dntpq-opts.c758 res = (char *)VOIDP(_(pz)); in AO_gettext()
760 res = (char *)VOIDP(_(pz)); in AO_gettext()
762 res = (char *)VOIDP(_(pz)); in AO_gettext()
799 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
809 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
810 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
811 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
812 coerce_it(VOIDP(&(opts->pzUsageTitle))); in translate_option_strings()
813 coerce_it(VOIDP(&(opts->pzExplain))); in translate_option_strings()
814 coerce_it(VOIDP(&(opts->pzDetail))); in translate_option_strings()
[all …]
/freebsd-9-stable/contrib/ntp/sntp/
Dsntp-opts.c939 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptSteplimit()
975 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptNtpversion()
1090 res = (char *)VOIDP(_(pz)); in AO_gettext()
1092 res = (char *)VOIDP(_(pz)); in AO_gettext()
1094 res = (char *)VOIDP(_(pz)); in AO_gettext()
1131 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
1141 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
1142 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
1143 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
1144 coerce_it(VOIDP(&(opts->pzUsageTitle))); in translate_option_strings()
[all …]
/freebsd-9-stable/contrib/ntp/util/
Dntp-keygen-opts.c1051 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptImbits()
1110 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptModulus()
1226 res = (char *)VOIDP(_(pz)); in AO_gettext()
1228 res = (char *)VOIDP(_(pz)); in AO_gettext()
1230 res = (char *)VOIDP(_(pz)); in AO_gettext()
1267 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
1277 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
1278 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
1279 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
1280 coerce_it(VOIDP(&(opts->pzUsageTitle))); in translate_option_strings()
[all …]
/freebsd-9-stable/contrib/ntp/ntpd/
Dntpd-opts.c1446 res = (char *)VOIDP(_(pz)); in AO_gettext()
1448 res = (char *)VOIDP(_(pz)); in AO_gettext()
1450 res = (char *)VOIDP(_(pz)); in AO_gettext()
1487 char ** ppz = (char**)VOIDP(&(option_xlateable_txt)); in translate_option_strings()
1497 coerce_it(VOIDP(&(opts->pzCopyright))); in translate_option_strings()
1498 coerce_it(VOIDP(&(opts->pzCopyNotice))); in translate_option_strings()
1499 coerce_it(VOIDP(&(opts->pzFullVersion))); in translate_option_strings()
1500 coerce_it(VOIDP(&(opts->pzUsageTitle))); in translate_option_strings()
1501 coerce_it(VOIDP(&(opts->pzExplain))); in translate_option_strings()
1502 coerce_it(VOIDP(&(opts->pzDetail))); in translate_option_strings()
[all …]
/freebsd-9-stable/contrib/ntp/sntp/libopts/autoopts/
Doptions.h85 #undef VOIDP
91 #define VOIDP(_a) ((void *)(uintptr_t)(_a)) macro
739 #define TEXT_MMAP_FAILED_ADDR(a) (VOIDP(a) == VOIDP(MAP_FAILED))
/freebsd-9-stable/contrib/ntp/
DCommitLog5086 - Use VOIDP instead of a (char*) cast
5090 - use VOIDP() to replace a complicated double cast
5115 - use VOIDP() instead of cast via (void**)