Lines Matching defs:string

219 	char* string = *_expression;
220 char* start = string;
229 // string is quoted (start has to be on the beginning of a string)
233 // set string to a valid start of the equation symbol
234 string = end + 2;
235 skipWhitespace(&string);
236 if (!_IsEquationChar(string[0])) {
237 *_expression = string;
243 while (string[0] != 0 && !_IsOperatorChar(string[0])
244 && !_IsEquationChar(string[0])) {
245 if (string[0] == '\\' && string[1] != 0)
246 string++;
247 string++;
250 // get the attribute string (and trim whitespace), in case
251 // the string was not quoted
252 end = string - 1;
256 // attribute string is empty (which is not allowed)
260 // At this point, "start" points to the beginning of the string, "end"
261 // points to the last character of the string, and "string" points to the
265 switch (*string) {
270 fOp = *(string + 1) == '='
274 fOp = *(string + 1) == '='
278 if (*(string + 1) != '=')
285 *_expression = string;
290 if (*(string + 1) == '=')
291 string++;
292 string++;
293 skipWhitespace(&string);
295 // allocate & copy the attribute string
301 start = string;
303 // string is quoted (start has to be on the beginning of a string)
307 string = end + 2;
308 skipWhitespace(&string);
310 while (string[0] && !_IsOperatorChar(string[0]) && string[0] != ')')
311 string++;
313 end = string - 1;
319 // whitespace character after the value string.
344 *_expression = string;
499 // to string.
529 // At this point, fIsPattern is only true if it's a string type, and fOp
546 // The empty string is a special case - we normally don't check
547 // for the trailing null byte, in the case for the empty string
745 // end points to the last character of the string - and the length
749 // the max. string in an index, it make sense to have it that way
794 char* string = fString;
801 strncpy(fValue.String, string, MAX_INDEX_KEY_LENGTH + 1);
809 fValue.Int32 = strtol(string, &string, 0);
813 fValue.Int32 = strtoul(string, &string, 0);
817 fValue.Int64 = strtoll(string, &string, 0);
821 fValue.Uint64 = strtoull(string, &string, 0);
825 fValue.Float = strtod(string, &string);
829 fValue.Double = strtod(string, &string);
840 // patterns are only allowed for string types
856 // fIsPattern is only true if it's a string type, and fOp OP_EQUAL, or
1095 PRINT(("Unexpected end of string: \"%s\"!\n", expr));
1208 char* string = *expr;
1210 if (*string == op && *(string + 1) == op) {