/device/google/contexthub/util/nanotool/ |
calibrationfile.cpp | 120 AString json_str = json_root_->toString(); local 121 LOGD("Saving JSONObject to file (%zd bytes):\n%s", json_str.size(), 122 json_str.c_str()); 124 ssize_t bytes_written = file_->write(json_str.c_str(), json_str.size()); 125 if (bytes_written < 0 || static_cast<size_t>(bytes_written) != json_str.size()) { 126 LOGE("Write returned %zd, expected %zu", bytes_written, json_str.size());
|
/external/autotest/server/site_tests/autoupdate_EndToEndTest/ |
update_engine_performance_monitor.py | 251 json_str = monitor.run(signal.SIGTERM) variable 253 if json_str: 255 fifo.write(json_str) 270 json_str = fifo.read() variable 271 print json_str 277 json_str = monitor.run(signal.SIGINT) variable 278 if json_str: 279 print json_str
|
/hardware/qcom/msm8998/json-c/ |
json_util.c | 103 const char *json_str; local 118 if(!(json_str = json_object_to_json_string_ext(obj,flags))) { 123 wsize = (unsigned int)(strlen(json_str) & UINT_MAX); /* CAW: probably unnecessary, but the most 64bit safe */ 126 if((ret = write(fd, json_str + wpos, wsize-wpos)) < 0) {
|
/system/update_engine/update_manager/ |
evaluation_context.cc | 246 string json_str; 248 value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json_str); 249 base::TrimWhitespaceASCII(json_str, base::TRIM_TRAILING, &json_str); 251 return json_str;
|
/tools/test/connectivity/acts/framework/acts/ |
records.py | 197 def json_str(self): member in class:TestResultRecord 319 def json_str(self): member in class:TestResult 339 json_str = json.dumps(d, indent=4, sort_keys=True) 340 return json_str
|
test_runner.py | 609 f.write(self.results.json_str())
|
/tools/test/connectivity/acts/framework/tests/ |
acts_records_test.py | 62 self.assertTrue(record.json_str(), ("json str of the record should "
|
/external/v8/src/ |
d8.cc | 267 const char* json_str) { 274 String::NewFromUtf8(isolate, json_str, NewStringType::kNormal) 353 v8::Isolate* isolate, const char* json_str) { 356 TraceConfigParser::FillTraceConfig(isolate, trace_config, json_str); [all...] |