Home
last modified time | relevance | path

Searched refs:ssize_t (Results 1 – 25 of 185) sorted by relevance

12345678

/device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/Device/
DIIO.h30 typedef ssize_t (EFIAPI *cIIO_Read) (struct __filedes *filp, size_t BufferSize, VOID *Buffer);
32 typedef ssize_t (EFIAPI *cIIO_Write) (struct __filedes *filp, const char *buf, ssize_t n);
34 typedef ssize_t (EFIAPI *cIIO_Echo) (struct __filedes *filp, wchar_t EChar, BOOLEAN EchoIsOK);
75 ssize_t IIO_CanonRead (struct __filedes *filp);
76 ssize_t IIO_NonCanonRead (struct __filedes *filp);
77 ssize_t IIO_WriteOne (struct __filedes *filp, cFIFO *Buf, wchar_t InCh);
78 ssize_t IIO_EchoOne (struct __filedes *filp, wchar_t InCh, BOOLEAN EchoIsOK);
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Duio.h53 typedef _BSD_SSIZE_T_ ssize_t; typedef
114 ssize_t preadv(int, const struct iovec *, int, off_t);
115 ssize_t pwritev(int, const struct iovec *, int, off_t);
117 ssize_t readv(int, const struct iovec *, int);
118 ssize_t writev(int, const struct iovec *, int);
Dsocket.h96 typedef _BSD_SSIZE_T_ ssize_t; typedef
551 ssize_t recv(int, void *, size_t, int);
552 ssize_t recvfrom(int, void * __restrict, size_t, int,
554 ssize_t recvmsg(int, struct msghdr *, int);
555 ssize_t send(int, const void *, size_t, int);
556 ssize_t sendto(int, const void *,
558 ssize_t sendmsg(int, const struct msghdr *, int);
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/InteractiveIO/
DIIO.c63 ssize_t
72 ssize_t NumRead; in IIO_Read()
140 ssize_t
145 ssize_t N in IIO_Write()
152 ssize_t NumConsumed; in IIO_Write()
153 ssize_t NumProc; in IIO_Write()
223 …NumProc = (ssize_t)EstimateWtoM((const wchar_t *)gMD->UString, UNICODE_STRING_MAX * sizeof(wchar_t… in IIO_Write()
261 ssize_t
270 ssize_t NumWritten; in IIO_Echo()
273 ssize_t NumProc; in IIO_Echo()
[all …]
DNonCanonRead.c32 ssize_t
40 ssize_t NumRead; in IIO_NonCanonRead()
/device/huawei/angler/thermal/
Dthermal.c74 static ssize_t read_temperature(int sensor_num, int type, const char *name, float mult, in read_temperature()
107 static ssize_t get_cpu_temperatures(temperature_t *list, size_t size) { in get_cpu_temperatures()
115 ssize_t result = read_temperature(CPU_SENSORS[cpu], DEVICE_TEMPERATURE_CPU, CPU_LABEL[cpu], in get_cpu_temperatures()
125 static ssize_t get_temperatures(thermal_module_t *module, temperature_t *list, size_t size) { in get_temperatures()
126 ssize_t result = 0; in get_temperatures()
177 static ssize_t get_cpu_usages(thermal_module_t *module, cpu_usage_t *list) { in get_cpu_usages()
179 ssize_t read; in get_cpu_usages()
/device/lge/bullhead/thermal/
Dthermal.c74 static ssize_t read_temperature(const char *file_name, const char *temperature_format, int type, in read_temperature()
105 static ssize_t get_cpu_temperatures(temperature_t *list, size_t size) { in get_cpu_temperatures()
117 ssize_t result = read_temperature(file_name, "%f", DEVICE_TEMPERATURE_CPU, CPU_LABEL[cpu], in get_cpu_temperatures()
126 static ssize_t get_temperatures(thermal_module_t *module, temperature_t *list, size_t size) { in get_temperatures()
127 ssize_t result = 0; in get_temperatures()
179 static ssize_t get_cpu_usages(thermal_module_t *module, cpu_usage_t *list) { in get_cpu_usages()
181 ssize_t read; in get_cpu_usages()
/device/google/wahoo/thermal/
Dthermal-helper.cpp100 static ssize_t readTemperature(int sensor_num, TemperatureType type, const char *name, float mult, in readTemperature()
136 static ssize_t getCpuTemperatures(hidl_vec<Temperature> *temperatures) { in getCpuTemperatures()
144ssize_t result = readTemperature(kCpuTsensOffset[cpu] + gTsensOffset, TemperatureType::CPU, kCpuLa… in getCpuTemperatures()
154 ssize_t fillTemperatures(hidl_vec<Temperature> *temperatures) { in fillTemperatures()
155 ssize_t result = 0; in fillTemperatures()
206 ssize_t fillCpuUsages(hidl_vec<CpuUsage> *cpuUsages) { in fillCpuUsages()
208 ssize_t read; in fillCpuUsages()
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Drecv.c43 ssize_t
51 ssize_t BytesRead; in recv()
Dwrite.c30 ssize_t
39 ssize_t BytesWritten; in BslSocketWrite()
Dread.c35 ssize_t
44 ssize_t BytesRead; in BslSocketRead()
Drecvfrom.c47 ssize_t
58 ssize_t LengthInBytes; in recvfrom()
65 ssize_t TotalBytes; in recvfrom()
DSocketInternals.h156 ssize_t
177 ssize_t
Dsendto.c47 ssize_t
58 ssize_t LengthInBytes; in sendto()
/device/google/contexthub/sensorhal/
Dhubconnection.h85 ssize_t read(sensors_event_t *ev, size_t size);
86 ssize_t write(const sensors_event_t *ev, size_t n);
112 ssize_t decrementIfWakeEventLocked(int32_t sensor);
276 void postOsLog(uint8_t *buf, ssize_t len);
277 void processAppData(uint8_t *buf, ssize_t len);
278 ssize_t processBuf(uint8_t *buf, size_t len);
286 ssize_t sendCmd(const void *buf, size_t count);
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
Dmultibyte_Utf8.c193 ssize_t Len, // Max Number of bytes to convert in DecodeOneStateful()
253 ssize_t NumBytes; in OneWcToMcLen()
303 ssize_t Estimate; in EstimateWtoM()
305 ssize_t NumBytes; in EstimateWtoM()
386 ssize_t
561 RetVal = DecodeOneStateful(pwc, s, (ssize_t)n, ps); in mbrtowc()
901 ssize_t MaxBytes; in wcsrtombs()
906 MaxBytes = (ssize_t)Limit; in wcsrtombs()
/device/google/contexthub/util/common/
Dfile.h36 ssize_t read(void *data, size_t size);
37 ssize_t write(const void *data, size_t size);
Dring.h32 ssize_t write(const sensors_event_t *ev, size_t size);
33 ssize_t read(sensors_event_t *ev, size_t size);
/device/asus/fugu/power/
Dpower.c42 static ssize_t sysfs_write(char *path, char *s) in sysfs_write()
45 ssize_t len; in sysfs_write()
65 static ssize_t sysfs_read(char *path, char *s, int num_bytes) in sysfs_read()
68 ssize_t count; in sysfs_read()
/device/asus/fugu/libaudio/
DAudioStreamIn.h50 ssize_t read(void* buffer, size_t bytes);
79 ssize_t readFrames_l(void* buffer, ssize_t frames);
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c42 static ssize_t tuneserver_send_command_rsp(tuningserver_t *tsctrl, in tuneserver_send_command_rsp()
45 ssize_t rc; in tuneserver_send_command_rsp()
79 static ssize_t tuneserver_ack(uint16_t a, uint32_t b, tuningserver_t *tsctrl) in tuneserver_ack()
81 ssize_t rc; in tuneserver_ack()
98 static ssize_t tuneserver_send_command_ack( uint8_t ack, in tuneserver_send_command_ack()
101 ssize_t rc; in tuneserver_send_command_ack()
288 static ssize_t tuneserver_ack_onaccept_initprotocol(tuningserver_t *tsctrl) in tuneserver_ack_onaccept_initprotocol()
290 ssize_t rc = 0; in tuneserver_ack_onaccept_initprotocol()
342 static ssize_t prevserver_send_command_rsp(tuningserver_t *tsctrl, in prevserver_send_command_rsp()
345 ssize_t rc; in prevserver_send_command_rsp()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c42 static ssize_t tuneserver_send_command_rsp(tuningserver_t *tsctrl, in tuneserver_send_command_rsp()
45 ssize_t rc; in tuneserver_send_command_rsp()
79 static ssize_t tuneserver_ack(uint16_t a, uint32_t b, tuningserver_t *tsctrl) in tuneserver_ack()
81 ssize_t rc; in tuneserver_ack()
98 static ssize_t tuneserver_send_command_ack( uint8_t ack, in tuneserver_send_command_ack()
101 ssize_t rc; in tuneserver_send_command_ack()
288 static ssize_t tuneserver_ack_onaccept_initprotocol(tuningserver_t *tsctrl) in tuneserver_ack_onaccept_initprotocol()
290 ssize_t rc = 0; in tuneserver_ack_onaccept_initprotocol()
342 static ssize_t prevserver_send_command_rsp(tuningserver_t *tsctrl, in prevserver_send_command_rsp()
345 ssize_t rc; in prevserver_send_command_rsp()
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c49 static ssize_t tuneserver_send_command_rsp(tuningserver_t *tsctrl, in tuneserver_send_command_rsp()
52 ssize_t rc; in tuneserver_send_command_rsp()
86 static ssize_t tuneserver_ack(uint16_t a, uint32_t b, tuningserver_t *tsctrl) in tuneserver_ack()
88 ssize_t rc; in tuneserver_ack()
105 static ssize_t tuneserver_send_command_ack( uint8_t ack, in tuneserver_send_command_ack()
108 ssize_t rc; in tuneserver_send_command_ack()
295 static ssize_t tuneserver_ack_onaccept_initprotocol(tuningserver_t *tsctrl) in tuneserver_ack_onaccept_initprotocol()
297 ssize_t rc = 0; in tuneserver_ack_onaccept_initprotocol()
349 static ssize_t prevserver_send_command_rsp(tuningserver_t *tsctrl, in prevserver_send_command_rsp()
352 ssize_t rc; in prevserver_send_command_rsp()
[all …]
/device/google/contexthub/util/stm32_flash/
Dflash.c42 static inline size_t pad(ssize_t length) in pad()
47 static inline size_t tot_len(ssize_t length) in tot_len()
53 ssize_t write_byte(int fd, uint8_t byte) in write_byte()
55 ssize_t ret; in write_byte()
86 ssize_t length = 0; in main()
/device/generic/goldfish/include/
Dqemu_pipe.h37 ssize_t n = TEMP_FAILURE_RETRY(read(fd, p, remaining)); in ReadFully()
49 ssize_t n = TEMP_FAILURE_RETRY(write(fd, p, remaining)); in WriteFully()

12345678