/device/generic/opengl-transport/host/commands/emugen/ |
D | ApiGen.h | 36 int readSpec(const std::string & filename); 69 int genOpcodes(const std::string &filename); 70 int genAttributesTemplate(const std::string &filename); 71 int genProcTypes(const std::string &filename, SideType side); 72 int genFuncTable(const std::string &filename, SideType side); 74 int genContext(const std::string &filename, SideType side); 75 int genContextImpl(const std::string &filename, SideType side); 77 int genEntryPoints(const std::string &filename, SideType side); 79 int genEncoderHeader(const std::string &filename); 80 int genEncoderImpl(const std::string &filename); [all …]
|
D | ApiGen.cpp | 69 int ApiGen::genProcTypes(const std::string &filename, SideType side) in genProcTypes() argument 71 FILE *fp = fopen(filename.c_str(), "wt"); in genProcTypes() 73 perror(filename.c_str()); in genProcTypes() 130 int ApiGen::genFuncTable(const std::string &filename, SideType side) in genFuncTable() argument 132 FILE *fp = fopen(filename.c_str(), "wt"); in genFuncTable() 134 perror(filename.c_str()); in genFuncTable() 161 int ApiGen::genContext(const std::string & filename, SideType side) in genContext() argument 163 FILE *fp = fopen(filename.c_str(), "wt"); in genContext() 165 perror(filename.c_str()); in genContext() 223 int ApiGen::genEntryPoints(const std::string & filename, SideType side) in genEntryPoints() argument [all …]
|
D | main.cpp | 30 void usage(const char *filename) in usage() argument 32 fprintf(stderr, "Usage: %s [options] <base name>\n", filename); in usage() 103 std::string filename = inDir + "/" + baseName + SPEC_EXTENSION; in main() local 104 if (apiEntries.readSpec(filename) < 0) { in main() 105 perror(filename.c_str()); in main()
|
D | TypeFactory.cpp | 51 int TypeFactory::initFromFile(const std::string &filename) in initFromFile() argument 57 FILE *fp = fopen(filename.c_str(), "rt"); in initFromFile() 59 perror(filename.c_str()); in initFromFile()
|
/device/google/cuttlefish_vmm/x86_64-linux-gnu/ |
D | Android.bp | 20 filename: "9p_device.policy", 26 filename: "balloon_device.policy", 32 filename: "block_device.policy", 38 filename: "common_device.policy", 44 filename: "cras_audio_device.policy", 50 filename: "fs_device.policy", 56 filename: "gpu_device.policy", 62 filename: "input_device.policy", 68 filename: "net_device.policy", 74 filename: "null_audio_device.policy", [all …]
|
/device/google/cuttlefish_vmm/aarch64-linux-gnu/ |
D | Android.bp | 20 filename: "9p_device.policy", 26 filename: "balloon_device.policy", 32 filename: "block_device.policy", 38 filename: "common_device.policy", 44 filename: "cras_audio_device.policy", 50 filename: "fs_device.policy", 56 filename: "gpu_device.policy", 62 filename: "input_device.policy", 68 filename: "net_device.policy", 74 filename: "null_audio_device.policy", [all …]
|
/device/google/coral/json-c/ |
D | json_util.c | 67 struct json_object* json_object_from_file(const char *filename) in json_object_from_file() argument 74 if((fd = open(filename, O_RDONLY)) < 0) { in json_object_from_file() 76 filename, strerror(errno)); in json_object_from_file() 90 filename, strerror(errno)); in json_object_from_file() 101 int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags) in json_object_to_file_ext() argument 112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext() 114 filename, strerror(errno)); in json_object_to_file_ext() 129 filename, strerror(errno)); in json_object_to_file_ext() 143 int json_object_to_file(const char *filename, struct json_object *obj) in json_object_to_file() argument 145 return json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN); in json_object_to_file()
|
D | json_util.h | 33 extern struct json_object* json_object_from_file(const char *filename); 34 extern int json_object_to_file(const char *filename, struct json_object *obj); 35 extern int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags);
|
/device/google/crosshatch/json-c/ |
D | json_util.c | 67 struct json_object* json_object_from_file(const char *filename) in json_object_from_file() argument 74 if((fd = open(filename, O_RDONLY)) < 0) { in json_object_from_file() 76 filename, strerror(errno)); in json_object_from_file() 90 filename, strerror(errno)); in json_object_from_file() 101 int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags) in json_object_to_file_ext() argument 112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext() 114 filename, strerror(errno)); in json_object_to_file_ext() 129 filename, strerror(errno)); in json_object_to_file_ext() 143 int json_object_to_file(const char *filename, struct json_object *obj) in json_object_to_file() argument 145 return json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN); in json_object_to_file()
|
D | json_util.h | 33 extern struct json_object* json_object_from_file(const char *filename); 34 extern int json_object_to_file(const char *filename, struct json_object *obj); 35 extern int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags);
|
/device/google/bonito/json-c/ |
D | json_util.c | 67 struct json_object* json_object_from_file(const char *filename) in json_object_from_file() argument 74 if((fd = open(filename, O_RDONLY)) < 0) { in json_object_from_file() 76 filename, strerror(errno)); in json_object_from_file() 90 filename, strerror(errno)); in json_object_from_file() 101 int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags) in json_object_to_file_ext() argument 112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext() 114 filename, strerror(errno)); in json_object_to_file_ext() 129 filename, strerror(errno)); in json_object_to_file_ext() 143 int json_object_to_file(const char *filename, struct json_object *obj) in json_object_to_file() argument 145 return json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN); in json_object_to_file()
|
D | json_util.h | 33 extern struct json_object* json_object_from_file(const char *filename); 34 extern int json_object_to_file(const char *filename, struct json_object *obj); 35 extern int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags);
|
/device/google/wahoo/usb/ |
D | Usb.cpp | 52 static int32_t readFile(const std::string &filename, std::string *contents) { in readFile() argument 58 fp = fopen(filename.c_str(), "r"); in readFile() 69 ALOGE("fopen failed in readFile %s, errno=%d", filename.c_str(), errno); in readFile() 75 static int32_t writeFile(const std::string &filename, in writeFile() argument 80 fp = fopen(filename.c_str(), "w"); in writeFile() 85 ALOGE("fputs failed in writeFile %s", filename.c_str()); in writeFile() 90 ALOGE("fopen failed in writeFile %s, errno=%d", filename.c_str(), errno); in writeFile() 141 std::string filename = in switchToDrp() local 145 if (filename != "") { in switchToDrp() 146 fp = fopen(filename.c_str(), "w"); in switchToDrp() [all …]
|
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/ |
D | Android.bp | 59 filename: "index.html", 66 filename: "style.css", 73 filename: "logcat.js", 80 filename: "cf_webrtc.js", 87 filename: "app.js", 94 filename: "server.crt", 101 filename: "server.key", 108 filename: "server.p12", 115 filename: "trusted.pem",
|
/device/google/coral/usb/ |
D | Usb.cpp | 58 int32_t readFile(const std::string &filename, std::string *contents) { in readFile() argument 64 fp = fopen(filename.c_str(), "r"); in readFile() 82 int32_t writeFile(const std::string &filename, const std::string &contents) { in writeFile() argument 86 fp = fopen(filename.c_str(), "w"); in writeFile() 91 if ((ret != EOF) && !readFile(filename, &written) && written == contents) in writeFile() 206 std::string filename = appendRoleNodeHelper(std::string(portName.c_str()), PortRoleType::MODE); in switchToDrp() local 209 if (filename != "") { in switchToDrp() 210 fp = fopen(filename.c_str(), "w"); in switchToDrp() 225 std::string filename = appendRoleNodeHelper(std::string(portName.c_str()), newRole.type); in switchMode() local 230 if (filename == "") { in switchMode() [all …]
|
/device/google/bonito/usb/ |
D | Usb.cpp | 47 int32_t readFile(const std::string &filename, std::string *contents) { in readFile() argument 53 fp = fopen(filename.c_str(), "r"); in readFile() 115 std::string filename = in switchToDrp() local 119 if (filename != "") { in switchToDrp() 120 fp = fopen(filename.c_str(), "w"); in switchToDrp() 136 std::string filename = in switchMode() local 142 if (filename == "") { in switchMode() 147 fp = fopen(filename.c_str(), "w"); in switchMode() 216 std::string filename = in switchRole() local 222 if (filename == "") { in switchRole() [all …]
|
/device/google/crosshatch/usb/ |
D | Usb.cpp | 49 int32_t readFile(const std::string &filename, std::string *contents) { in readFile() argument 55 fp = fopen(filename.c_str(), "r"); in readFile() 117 std::string filename = in switchToDrp() local 121 if (filename != "") { in switchToDrp() 122 fp = fopen(filename.c_str(), "w"); in switchToDrp() 138 std::string filename = in switchMode() local 144 if (filename == "") { in switchMode() 149 fp = fopen(filename.c_str(), "w"); in switchMode() 218 std::string filename = in switchRole() local 224 if (filename == "") { in switchRole() [all …]
|
/device/google/coral/pixelstats/ |
D | service.cpp | 31 #define MAXIM_DIR(filename) "/sys/class/power_supply/maxfg/" #filename argument 32 #define UFSHC_PATH(filename) "/sys/devices/platform/soc/1d84000.ufshc/" #filename argument
|
/device/google/cuttlefish/tools/ |
D | make_manifest.sh | 89 filename=$(basename $path) 98 if [ ! "${path}" -ef "${FLAGS_tftpdir}/${filename}" ]; then 102 unset filename 105 addKVToManifest "${key}" "${filename}"
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | gen_entries.py | 121 def gen_functions_header(entries, prefix_name, verbatim, filename, with_args): argument 154 def gen_dll_wrapper(entries, prefix_name, verbatim, filename): argument 249 def parse_file(filename, lines, mode): argument 257 print >> sys.stderr, "ERROR: %s:%s" % (filename, error) 268 gen_dll_wrapper(entries, prefix_name, verbatim, filename) 274 gen_functions_header(entries, prefix_name, verbatim, filename, False) 276 gen_functions_header(entries, prefix_name, verbatim, filename, True)
|
/device/google/cuttlefish/host/commands/launch/ |
D | flag_forwarder.cc | 81 const std::string& help, const std::string& filename, in DynamicFlag() argument 83 : SubprocessFlag(subprocess, name), help_(help), filename_(filename), in DynamicFlag() 156 flag_info.filename, in MakeDynamicFlag() 162 flag_info.filename, in MakeDynamicFlag() 168 flag_info.filename, in MakeDynamicFlag() 174 flag_info.filename, in MakeDynamicFlag() 180 flag_info.filename, in MakeDynamicFlag() 186 flag_info.filename, in MakeDynamicFlag() 192 flag_info.filename, in MakeDynamicFlag() 219 flag_info.filename = xmlContent(xmlChildWithName(flag, "file")); in FlagsForSubprocess()
|
/device/linaro/dragonboard/qcom/tqftpserv/ |
D | tqftpserv.c | 202 const char *filename; in handle_rrq() local 220 filename = p; in handle_rrq() 232 printf("[TQFTP] RRQ: %s (%s)\n", filename, mode); in handle_rrq() 276 fd = translate_open(filename, O_RDONLY); in handle_rrq() 278 printf("[TQFTP] unable to open %s (%d), reject\n", filename, errno); in handle_rrq() 315 const char *filename; in handle_wrq() local 321 filename = buf + 2; in handle_wrq() 322 mode = buf + 2 + strlen(filename) + 1; in handle_wrq() 330 printf("[TQFTP] WRQ: %s (%s)\n", filename, mode); in handle_wrq() 332 fd = translate_open(filename, O_WRONLY | O_CREAT); in handle_wrq() [all …]
|
/device/generic/goldfish/tools/ |
D | mk_combined_img.py | 14 def check_sparse(filename): argument 16 with open(filename, 'rb') as i: 98 def clear_partition_table(filename): argument 100 print("%s --clear %s" % (sgdisk, filename)) 101 shell_command([sgdisk, '--clear', filename])
|
/device/google/crosshatch/pixelstats/ |
D | service.cpp | 31 #define UFSHC_PATH(filename) "/sys/devices/platform/soc/1d84000.ufshc/" #filename argument
|
/device/linaro/hikey/hifi/xaf/host-apf/playback/ |
D | xa_playback.c | 97 char *filename; 106 filename = argv[1]; 107 file = fopen(filename, "rb"); 109 fprintf(stderr, "Unable to open file '%s'\n", filename); 116 fprintf(stderr, "Error: '%s' is not a riff/wave file\n", filename);
|