Lines Matching full:newstring
93 char *newString = static_cast<char *>( malloc( length + 1 ) );94 JSON_ASSERT_MESSAGE( newString != 0, "Failed to allocate string value buffer" );95 memcpy( newString, value, length );96 newString[length] = 0;97 return newString;