Home
last modified time | relevance | path

Searched refs:JSONText (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/llvm/utils/yaml-bench/
DYAMLBench.cpp146 llvm::StringRef Description, llvm::StringRef JSONText) { in benchmark() argument
151 for (llvm::StringRef::iterator I = JSONText.begin(), in benchmark()
152 E = JSONText.end(); in benchmark()
161 yaml::scanTokens(JSONText); in benchmark()
170 llvm::yaml::Stream stream(JSONText, SM); in benchmark()
177 std::string JSONText; in createJSONText() local
178 llvm::raw_string_ostream Stream(JSONText); in createJSONText()
181 while (JSONText.size() < MemoryBytes) { in createJSONText()
188 if (JSONText.size() < MemoryBytes) Stream << ","; in createJSONText()
193 return JSONText; in createJSONText()
/external/llvm/utils/yaml-bench/
DYAMLBench.cpp148 , llvm::StringRef JSONText) { in benchmark() argument
152 for (llvm::StringRef::iterator I = JSONText.begin(), in benchmark()
153 E = JSONText.end(); in benchmark()
161 yaml::scanTokens(JSONText); in benchmark()
169 llvm::yaml::Stream stream(JSONText, SM); in benchmark()
176 std::string JSONText; in createJSONText() local
177 llvm::raw_string_ostream Stream(JSONText); in createJSONText()
180 while (JSONText.size() < MemoryBytes) { in createJSONText()
187 if (JSONText.size() < MemoryBytes) Stream << ","; in createJSONText()
192 return JSONText; in createJSONText()