Searched refs:json_str (Results 1 – 6 of 6) sorted by relevance
/device/google/contexthub/util/nanotool/ |
D | calibrationfile.cpp | 120 AString json_str = json_root_->toString(); in Save() local 121 LOGD("Saving JSONObject to file (%zd bytes):\n%s", json_str.size(), in Save() 122 json_str.c_str()); in Save() 124 ssize_t bytes_written = file_->write(json_str.c_str(), json_str.size()); in Save() 125 if (bytes_written < 0 || static_cast<size_t>(bytes_written) != json_str.size()) { in Save() 126 LOGE("Write returned %zd, expected %zu", bytes_written, json_str.size()); in Save()
|
/device/google/coral/json-c/ |
D | json_util.c | 103 const char *json_str; in json_object_to_file_ext() local 118 if(!(json_str = json_object_to_json_string_ext(obj,flags))) { in json_object_to_file_ext() 123 …wsize = (unsigned int)(strlen(json_str) & UINT_MAX); /* CAW: probably unnecessary, but the most 64… in json_object_to_file_ext() 126 if((ret = write(fd, json_str + wpos, wsize-wpos)) < 0) { in json_object_to_file_ext()
|
/device/google/sunfish/json-c/ |
D | json_util.c | 103 const char *json_str; in json_object_to_file_ext() local 118 if(!(json_str = json_object_to_json_string_ext(obj,flags))) { in json_object_to_file_ext() 123 …wsize = (unsigned int)(strlen(json_str) & UINT_MAX); /* CAW: probably unnecessary, but the most 64… in json_object_to_file_ext() 126 if((ret = write(fd, json_str + wpos, wsize-wpos)) < 0) { in json_object_to_file_ext()
|
/device/google/redbull/json-c/ |
D | json_util.c | 103 const char *json_str; in json_object_to_file_ext() local 118 if(!(json_str = json_object_to_json_string_ext(obj,flags))) { in json_object_to_file_ext() 123 …wsize = (unsigned int)(strlen(json_str) & UINT_MAX); /* CAW: probably unnecessary, but the most 64… in json_object_to_file_ext() 126 if((ret = write(fd, json_str + wpos, wsize-wpos)) < 0) { in json_object_to_file_ext()
|
/device/google/cuttlefish/host/libs/web/http_client/ |
D | http_client.cc | 156 std::stringstream json_str; in PostToJson() local 157 json_str << data_to_write; in PostToJson() 158 return DownloadToJson(HttpMethod::kPost, url, headers, json_str.str()); in PostToJson()
|
/device/google/trout/tools/ |
D | bpttool | 1374 json_str = self._generate_json(partitions, settings) 1378 return json_str, gpt_bin 1613 (json_str, gpt_bin) = self.bpt.make_table(args.input, args.ab_suffixes, 1626 args.output_json.write(json_str)
|