/device/generic/goldfish/opengl/system/egl/ |
D | ClientAPIExts.cpp | 29 #define FUNC_TYPE(fname) __egl_ ## fname ## _t argument 30 #define API_ENTRY(fname,params,args) \ argument 31 typedef void (GL_APIENTRY *FUNC_TYPE(fname)) params; 33 #define API_ENTRY_RET(rtype,fname,params,args) \ argument 34 typedef rtype (GL_APIENTRY *FUNC_TYPE(fname)) params; 46 #define API_ENTRY(fname,params,args) \ argument 47 FUNC_TYPE(fname) fname; 49 #define API_ENTRY_RET(rtype,fname,params,args) \ argument 50 API_ENTRY(fname,params,args) 66 #define API_ENTRY(fname,params,args) \ in initClientFuncs() argument [all …]
|
D | ClientAPIExts.h | 25 void* getProcAddress(const char *fname);
|
/device/google/contexthub/util/nanoapp_cmd/ |
D | nanoapp_cmd.c | 164 FILE *openFile(const char *fname, const char *mode) in openFile() argument 166 FILE *f = fopen(fname, mode); in openFile() 168 …__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "Failed to open %s: err=%d [%s]", fname, errno, st… in openFile() 169 printf("\nFailed to open %s: err=%d [%s]\n", fname, errno, strerror(errno)); in openFile() 247 bool fileWriteData(const char *fname, const void *data, size_t size) in fileWriteData() argument 252 fd = open(fname, O_WRONLY); in fileWriteData() 254 …__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "Failed to open %s: err=%d [%s]", fname, errno, st… in fileWriteData() 255 printf("\nFailed to open %s: err=%d [%s]\n", fname, errno, strerror(errno)); in fileWriteData() 261 …__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "Failed to write to %s; err=%d [%s]", fname, errno… in fileWriteData() 262 printf("\nFailed to write %s; err=%d [%s]\n", fname, errno, strerror(errno)); in fileWriteData()
|
/device/google/dragon/sensor_hub/ |
D | cros_ec_sensors.cpp | 406 char fname[PATH_MAX]; in cros_ec_sysfs_set_input_attr() local 410 snprintf(fname, sizeof(fname), "%s%s/%s", IIO_DIR, path, attr); in cros_ec_sysfs_set_input_attr() 411 fname[sizeof(fname) - 1] = '\0'; in cros_ec_sysfs_set_input_attr() 413 fd = open(fname, O_WRONLY); in cros_ec_sysfs_set_input_attr() 416 fname, fd, strerror(errno)); in cros_ec_sysfs_set_input_attr() 424 ALOGE("fname = %s, value = %s\n", fname, value); in cros_ec_sysfs_set_input_attr()
|
/device/htc/flounder/sensor_hub/libsensors/ |
D | CwMcuSensor.cpp | 72 char fname[PATH_MAX]; in sysfs_set_input_attr() local 76 snprintf(fname, sizeof(fname), "%s/%s", mDevPath, attr); in sysfs_set_input_attr() 77 fname[sizeof(fname) - 1] = '\0'; in sysfs_set_input_attr() 79 fd = open(fname, O_WRONLY); in sysfs_set_input_attr() 81 ALOGE("%s: fname = %s, fd = %d, failed: %s\n", __func__, fname, fd, strerror(errno)); in sysfs_set_input_attr()
|