Lines Matching refs:value
86 int (*result)(const uint32_t *context, const char *name, const char *value), const uint32_t *context)
99 char *value = name;
101 while (*value != '\0') {
102 if (*value == '=') {
103 (*value) = '\0';
104 value = value + 1;
107 value++;
112 while ((tmp < value) && (*tmp != '\0')) {
121 if (*value == '\0') {
132 // Skip spaces for value
133 while (isspace(*value) && (*value != '\0')) {
134 value++;
137 // Trim the ending spaces of value
138 char *pos = value + strlen(value);
140 while (isspace(*pos) && pos > value) {
145 // Strip starting and ending " for value
146 if ((*value == '"') && (pos > value) && (*pos == '"')) {
147 value = value + 1;
150 return result(context, name, value);