Lines Matching refs:newstring
1123 char *string, *newstring;
1148 newstring = string;
1152 newstring = LispMalloc(length + 1);
1154 memcpy(newstring, string, offset);
1156 memcpy(newstring + end, string + end, length - end);
1157 newstring[length] = '\0';
1161 newstring[offset] = toupper(string[offset]);
1164 result = LSTRING2(newstring, length);
1195 char *string, *newstring;
1220 newstring = string;
1224 newstring = LispMalloc(length + 1);
1226 memcpy(newstring, string, offset);
1228 memcpy(newstring + end, string + end, length - end);
1229 newstring[length] = '\0';
1232 newstring[offset] = tolower(string[offset]);
1235 result = LSTRING2(newstring, length);
1266 char *string, *newstring;
1305 newstring = string;
1309 newstring = LispMalloc(length + 1);
1310 memcpy(newstring, string, length);
1311 newstring[length] = '\0';
1317 newstring[offset] = toupper(string[offset]);
1321 if (isalnum(newstring[offset]))
1322 newstring[offset] = tolower(string[offset]);
1329 result = LSTRING2(newstring, length);