Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 13 of 13) sorted by relevance

/device/lge/hammerhead/liblight/
Dlights.c67 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/generic/goldfish/audio/
Daudio_hw.c184 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/grouper/liblights/
Dlights.c43 int bytes = sprintf(buffer, "%d\n", value); in write_int() local
44 int amt = write(fd, buffer, bytes); in write_int()
/device/asus/grouper/audio/
Daudio_hw.c612 size_t bytes) in out_write() argument
619 size_t in_frames = bytes / frame_size; in out_write()
759 usleep(bytes * 1000000 / audio_stream_frame_size(&stream->common) / in out_write()
763 return bytes; in out_write()
926 size_t bytes) in in_read() argument
931 size_t frames_rq = bytes / audio_stream_frame_size(&stream->common); in in_read()
963 ret = pcm_read(in->pcm, in->buffer, bytes * 2); in in_read()
969 ret = pcm_read(in->pcm, buffer, bytes); in in_read()
980 memset(buffer, 0, bytes); in in_read()
984 usleep(bytes * 1000000 / audio_stream_frame_size(&stream->common) / in in_read()
[all …]
/device/samsung/manta/audio/
Daudio_hw.c1132 size_t bytes) in out_write() argument
1163 memset((void *)buffer, 0, bytes); in out_write()
1168 ret = pcm_write(out->pcm[i], (void *)buffer, bytes); in out_write()
1173 out->written += bytes / (out->config.channels * sizeof(short)); in out_write()
1179 usleep(bytes * 1000000 / audio_stream_frame_size(&stream->common) / in out_write()
1183 return bytes; in out_write()
1422 size_t bytes) in in_read() argument
1427 size_t frames_rq = bytes / audio_stream_frame_size(&stream->common); in in_read()
1463 memset(buffer, 0, bytes); in in_read()
1467 usleep(bytes * 1000000 / audio_stream_frame_size(&stream->common) / in in_read()
[all …]
/device/lge/mako/camera/inc/
Domx_jpeg_common.h258 OMX_IN OMX_U32 bytes,
267 OMX_IN OMX_U32 bytes);
/device/samsung/manta/liblights/
Dlights.c82 int bytes = sprintf(buffer, "%d\n", value); in write_int() local
83 int amt = write(fd, buffer, bytes); in write_int()
/device/asus/grouper/keymaster/
Dkeymaster_grouper.cpp223 Unique_CK_BYTE bytes(new CK_BYTE[bignumSize]); in bignum_to_array() local
225 unsigned char* tmp = reinterpret_cast<unsigned char*>(bytes.get()); in bignum_to_array()
231 return new ByteArray(bytes.release(), bignumSize); in bignum_to_array()
/device/asus/tilapia/self-extractors/nvidia/staging/keymaster/
Dkeymaster_grouper.cpp223 Unique_CK_BYTE bytes(new CK_BYTE[bignumSize]); in bignum_to_array() local
225 unsigned char* tmp = reinterpret_cast<unsigned char*>(bytes.get()); in bignum_to_array()
231 return new ByteArray(bytes.release(), bignumSize); in bignum_to_array()
/device/asus/grouper/self-extractors/nvidia/staging/keymaster/
Dkeymaster_grouper.cpp223 Unique_CK_BYTE bytes(new CK_BYTE[bignumSize]); in bignum_to_array() local
225 unsigned char* tmp = reinterpret_cast<unsigned char*>(bytes.get()); in bignum_to_array()
231 return new ByteArray(bytes.release(), bignumSize); in bignum_to_array()
/device/generic/goldfish/opengl/system/renderControl_enc/
DREADME19 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/lge/mako/
DWCNSS_qcom_cfg.ini138 # Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.
/device/asus/flo/
DWCNSS_qcom_cfg.ini138 # Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.