/device/lge/hammerhead/liblight/ |
D | lights.c | 67 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); in write_int() local 68 int amt = write(fd, buffer, bytes); in write_int() 88 int bytes = snprintf(buffer, sizeof(buffer), "%d %d\n", on, off); in write_on_off() local 89 int amt = write(fd, buffer, bytes); in write_on_off()
|
/device/lge/bullhead/liblight/ |
D | lights.c | 67 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); in write_int() local 68 int amt = write(fd, buffer, bytes); in write_int() 88 int bytes = snprintf(buffer, sizeof(buffer), "%d %d\n", on, off); in write_on_off() local 89 int amt = write(fd, buffer, bytes); in write_on_off()
|
/device/huawei/angler/liblight/ |
D | lights.c | 96 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); in write_int() local 97 ssize_t amt = write(fd, buffer, (size_t)bytes); in write_int() 118 int bytes = snprintf(buffer, sizeof(buffer), "%d %d\n", on, off); in write_on_off() local 119 int amt = write(fd, buffer, bytes); in write_on_off()
|
/device/generic/goldfish/audio/ |
D | audio_hw.c | 184 size_t bytes) in out_write() argument 191 bytes = write(adev->fd, buffer, bytes); in out_write() 194 return bytes; in out_write() 336 size_t bytes) in in_read() argument 343 bytes = read(adev->fd, buffer, bytes); in in_read() 344 if (adev->mic_mute && (bytes > 0)) { in in_read() 345 memset(buffer, 0, bytes); in in_read() 349 return bytes; in in_read()
|
/device/asus/fugu/libaudio/ |
D | AudioStreamIn.cpp | 254 ssize_t AudioStreamIn::read(void* buffer, size_t bytes) in read() argument 272 int ret = readFrames_l(buffer, bytes / getFrameSize()); in read() 277 memset(buffer, 0, bytes); in read() 284 usleep(bytes * 1000000 / getFrameSize() / mRequestedSampleRate); in read() 289 memset(buffer, 0, bytes); in read() 293 return bytes; in read()
|
D | AudioStreamOut.h | 69 ssize_t write(const void* buffer, size_t bytes); 141 ssize_t writeInternal(const void* buffer, size_t bytes);
|
D | AudioStreamOut.cpp | 574 ssize_t AudioStreamOut::write(const void* buffer, size_t bytes) in write() argument 581 bytes, data[0], data[1], data[2], data[3], in write() 651 (*I)->processOneChunk((uint8_t *)buffer, bytes, hasActiveOutputs, mInputFormat); in write() 657 uint32_t framesWritten = bytes / mInputFrameSize; in write() 668 return static_cast<ssize_t>(bytes); in write()
|
D | audio_hal_thunks.cpp | 184 size_t bytes) in out_write() argument 189 return tstream->impl->write(buffer, bytes); in out_write() 336 size_t bytes) in in_read() argument 341 return tstream->impl->read(buffer, bytes); in in_read()
|
D | AudioStreamIn.h | 50 ssize_t read(void* buffer, size_t bytes);
|
/device/htc/flounder/sensor_hub/libsensors/ |
D | SensorBase.cpp | 72 const char *path, const char *value, int bytes) in write_sys_attribute() argument 83 amt = write(fd, value, bytes); in write_sys_attribute()
|
D | SensorBase.h | 51 char const *path, char const *value, int bytes);
|
/device/htc/flounder/lights/ |
D | lights.c | 44 int bytes = snprintf(buffer, 20, "%d\n", value); in write_int() local 45 int amt = write(fd, buffer, bytes); in write_int()
|
/device/htc/flounder/audio/hal/ |
D | audio_hw.c | 2980 size_t bytes) in out_write() argument 2992 size_t in_frames = bytes / frame_size; in out_write() 3053 ALOGVV("%s: writing buffer (%d bytes) to compress device", __func__, bytes); in out_write() 3068 ret = compress_write(out->compr, buffer, bytes); in out_write() 3069 … ALOGVV("%s: writing buffer (%d bytes) to compress device returned %d", __func__, bytes, ret); in out_write() 3070 if (ret >= 0 && ret < (ssize_t)bytes) { in out_write() 3106 memset((void *)buffer, 0, bytes); in out_write() 3110 if (bytes * pcm_device->pcm_profile->config.rate / out->sample_rate + frame_size in out_write() 3113 … bytes * pcm_device->pcm_profile->config.rate / out->sample_rate + frame_size; in out_write() 3119 frames_rq = bytes / frame_size; in out_write() [all …]
|
/device/generic/goldfish/opengl/system/renderControl_enc/ |
D | README | 19 is the negative number of bytes required to store the string value 35 of required bytes is returned otherwise the function returns the number
|
/device/asus/flo/ |
D | WCNSS_qcom_cfg.ini | 138 # Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.
|
/device/lge/bullhead/wifi/ |
D | WCNSS_qcom_cfg.ini | 203 # Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.
|