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/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/crosshatch/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/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/bonito/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/commands/assemble_cvd/ |
D | cf_bpttool.py | 1370 json_str = self._generate_json(partitions, settings) 1374 return json_str, gpt_bin 1609 (json_str, gpt_bin) = self.bpt.make_table(args.input, args.ab_suffixes, 1622 args.output_json.write(json_str)
|