Home
last modified time | relevance | path

Searched refs:pzName (Results 1 – 5 of 5) sorted by relevance

/NextBSD/contrib/ntp/sntp/libopts/
HDnested.c192 pNV->pzName = pNV->v.strVal; in add_string()
214 pNV->pzName = pNV->v.strVal + d_len + 1; in add_string()
217 memcpy(pNV->pzName, name, nm_len); in add_string()
218 pNV->pzName[ nm_len ] = NUL; in add_string()
257 new_val->pzName = (char *)(new_val + 1); in add_bool()
258 memcpy(new_val->pzName, name, nm_len); in add_bool()
259 new_val->pzName[ nm_len ] = NUL; in add_bool()
294 new_val->pzName = (char *)(new_val + 1); in add_number()
295 memcpy(new_val->pzName, name, nm_len); in add_number()
296 new_val->pzName[ nm_len ] = NUL; in add_number()
[all …]
HDrestore.c137 char const * pzName = pOpts->pzProgName; in optionRestore() local
138 if (pzName == NULL) { in optionRestore()
139 pzName = pOpts->pzPROGNAME; in optionRestore()
140 if (pzName == NULL) in optionRestore()
141 pzName = zNil; in optionRestore()
143 fprintf(stderr, zNoState, pzName); in optionRestore()
HDconfigfile.c249 char const * pzName, char const * pzVal) in optionFindNextValue() argument
254 (void)pzName; in optionFindNextValue()
336 if (strcmp(opt_val->pzName, vname) == 0) { in optionGetValue()
518 char * pzName = txt++; in handle_cfg() local
529 load_opt_line(opts, ost, pzName, dir, OPTION_LOAD_UNCOOKED); in handle_cfg()
585 load_opt_line(opts, ost, pzName, dir, OPTION_LOAD_UNCOOKED); in handle_cfg()
923 char * pzName = ++txt; in handle_struct() local
949 load_opt_line(opts, ost, pzName, dir, mode); in handle_struct()
968 txt = trim_xml_text(txt, pzName, mode); in handle_struct()
990 load_opt_line(opts, ost, pzName, dir, mode); in handle_struct()
HDsave.c351 fprintf(fp, NULL_ATR_FMT, ovp->pzName); in prt_value()
355 prt_string(fp, ovp->pzName, ovp->v.strVal); in prt_value()
366 fprintf(fp, TYPE_ATR_FMT, ovp->pzName, typ); in prt_value()
386 fprintf(fp, END_XML_FMT, ovp->pzName); in prt_value()
392 fprintf(fp, NUMB_ATR_FMT, ovp->pzName, ovp->v.longVal); in prt_value()
396 fprintf(fp, BOOL_ATR_FMT, ovp->pzName, in prt_value()
401 prt_val_list(fp, ovp->pzName, ovp->v.nestVal); in prt_value()
/NextBSD/contrib/ntp/sntp/libopts/autoopts/
HDoptions.h151 char * pzName; ///< name of the sub-option member