Lines Matching refs:value

93 static int version_sanity(const char *value, char **subv);
200 xlator_start_if(const Meta_info meta_info, const int token, char *value)
206 errlog(TRACING, "xlator_start_if %s", value);
224 seterrline(Curline, meta_info.mi_filename, kw, value);
233 err = sscanf(value, "%s", rhs);
266 * processes spec keyword-value pairs
272 char *value)
279 seterrline(Curline, meta_info.mi_filename, key, value);
282 "take_kvpair called. ext_cnt=%d token=%d key=%s value=%s",
283 meta_info.mi_ext_cnt, token, key, value);
296 errlog(TRACING, "Version found. Setting Version to %s", value);
302 p = strrchr(value, '\n');
304 while (p >= value && isspace(*p)) {
311 switch (version_sanity(value, &subv)) {
335 errlog(FATAL, "Error: bad return value from "
341 Iface.IF_version = getversion(value);
348 if (value[0] != '\0') {
350 if (set_supported_arch(value)) {
366 "%s\tSupported_Arch=%d", Curfun, value, Supported_Arch);
377 p = strrchr(value, '\n');
379 while (p >= value && isspace(*p)) {
385 if (value[0] != '\0') {
386 if (strcmp(value, "direct") == 0) {
388 } else if (strcmp(value, "nodirect") == 0) {
390 } else if (strcmp(value, "protected") == 0) {
394 "Error: Invalid binding value: %s", value);
401 "Interface %s has binding value: "
402 "%s", Curfun, value);
417 token, value);
420 p = strrchr(value, '\n');
422 while (p >= value && isspace(*p)) {
431 Iface.IF_filter = getfilter(value);
433 Iface.IF_auxiliary = getfilter(value);
454 xlator_end_if(const Meta_info M, const char *value)
642 getversion(const char *value)
654 errlog(VERBOSE, "getversion: value=%s", value);
656 if (strchr(value, '=') != NULL) {
657 if ((v = strstr(value, arch)) != NULL) {
673 p = strdup(value);
697 * arch=path item in value, i.e. for TargetArchStr the interface is
701 getfilter(const char *value)
713 errlog(VERBOSE, "getfilter: value=%s", value);
715 if (strchr(value, '=') != NULL) {
716 if ((v = strstr(value, arch)) != NULL) {
732 p = strdup(value);
760 version_sanity(const char *value, char **subv)
765 if (strchr(value, '=')) {
767 v = strdup(value);
801 if (valid_version(value)) {
804 *subv = strdup(value);