Home
last modified time | relevance | path

Searched refs:return_data (Results 1 – 4 of 4) sorted by relevance

/external/vulkan-validation-layers/tests/
Dvktestframework.cpp617 char **return_data = (char **)malloc(sizeof(char *) * (maxSourceStrings + 1)); in ReadFileData() local
639 return_data[0] = (char *)malloc(count + 2); in ReadFileData()
640 return_data[0][0] = '\0'; in ReadFileData()
642 return return_data; in ReadFileData()
649 return_data[i] = (char *)malloc(len + 2); in ReadFileData()
650 memcpy(return_data[i], fdata + ptr_len, len); in ReadFileData()
651 return_data[i][len] = '\0'; in ReadFileData()
663 return return_data; in ReadFileData()
/external/deqp-deps/glslang/StandAlone/
DStandAlone.cpp1753 char* return_data = (char*)malloc(count + 1); // freed in FreeFileData() in ReadFileData() local
1754 if ((int)fread(return_data, 1, count, in) != count) { in ReadFileData()
1755 free(return_data); in ReadFileData()
1759 return_data[count] = '\0'; in ReadFileData()
1762 return return_data; in ReadFileData()
/external/angle/third_party/vulkan-deps/glslang/src/StandAlone/
DStandAlone.cpp1977 char* return_data = (char*)malloc(count + 1); // freed in FreeFileData() in ReadFileData() local
1978 if ((int)fread(return_data, 1, count, in) != count) { in ReadFileData()
1979 free(return_data); in ReadFileData()
1983 return_data[count] = '\0'; in ReadFileData()
1986 return return_data; in ReadFileData()
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DScriptInterpreterPython.cpp2587 llvm::StringRef return_data(py_string.GetString()); in GetSyntheticTypeName() local
2588 if (!return_data.empty()) { in GetSyntheticTypeName()
2589 buffer.assign(return_data.data(), return_data.size()); in GetSyntheticTypeName()
3114 llvm::StringRef return_data(py_string.GetString()); in GetShortHelpForCommandObject() local
3115 dest.assign(return_data.data(), return_data.size()); in GetShortHelpForCommandObject()