Lines Matching defs:string
157 #include <string.h>
176 char *string; // for string & symbol
568 "idref", "number", "string", 0
1007 heuristic is that double-quoting is unnecessary unless the string
1139 produced a string with the wrong number of "%s"s. */
2028 /* find end of string */
2049 // copy out string in tempString
2085 // printf("string %s\n", tempString);
2390 object->string = getString(STATE);
2391 if (!object->string) {
2408 if (!strcmp(tag, "string")) {
2410 object->string = (char *)malloc(1);
2411 object->string[0] = 0;
2414 object->string = getString(STATE);
2415 if (!object->string) {
2419 || strcmp(tag, "string")) {
2454 // the middle of the parsed string we just bail with pointers hanging
2503 if (o->string) {
2504 // printf("OSUnserializeXML: freeing object o=%x string=%x\n", (int)o, (int)o->string);
2505 free(o->string);
2650 OSString *string;
2652 string = OSString::withCString(o->string);
2653 if (o->idref >= 0) rememberObject(state, o->idref, string);
2655 free(o->string);
2656 o->string = 0;
2657 o->object = string;