Searched refs:size (Results 1 - 25 of 37) sorted by relevance

12

/device/samsung/tuna/reflash-bootloader/
H A Dreflash-bootloader.c83 static void read_file(const char *filename, char *buf, size_t size) argument
92 ret = read(fd, buf, size - 1);
127 static void zero_data(int to_fd, off_t to_offset, ssize_t size) argument
139 while (size != 0) {
140 to_write = size;
147 size -= ret;
153 ssize_t size)
170 while (size != 0) {
172 if (size > 0 && to_read > size)
151 verify_data(int to_fd, off_t to_offset, int from_fd, off_t from_offset, ssize_t size) argument
210 copy_data(int to_fd, off_t to_offset, int from_fd, off_t from_offset, ssize_t size) argument
[all...]
/device/samsung/crespo/include/
H A Ds3c_mem.h38 int size; member in struct:s3c_mem_alloc
44 int size; member in struct:s3c_mem_dma_param
H A Dsec_utils.h241 unsigned int size = 0; local
295 size = w * h;
298 // frame_size = size + ((size / 4) * 2);
299 frame_size = size + ((size >> 2) << 1);
/device/samsung/crespo/sec_mm/sec_omx/sec_osal/
H A DSEC_OSAL_Memory.h37 OMX_PTR SEC_OSAL_Malloc(OMX_U32 size);
H A DSEC_OSAL_Memory.c39 OMX_PTR SEC_OSAL_Malloc(OMX_U32 size) argument
44 return (OMX_PTR)malloc(size);
/device/samsung/crespo4g/recovery/
H A Drecovery_updater.c53 int size; member in struct:dpram_firmware
79 if (radio->size <= 0) {
84 printf("UpdateModemFn with %d bytes\n", radio->size);
96 fw.size = radio->size;
/device/samsung/crespo/libs3cjpeg/
H A DJpegEncoder.h191 void *getInBuf(uint64_t size);
192 void *getOutBuf(uint64_t *size);
193 void *getThumbInBuf(uint64_t size);
194 void *getThumbOutBuf(uint64_t *size);
195 jpg_return_status encode(unsigned int *size, exif_attribute_t *exifInfo);
196 jpg_return_status encodeThumbImg(unsigned int *size, bool useMain = true);
199 unsigned int *size,
H A DJpegEncoder.cpp167 void* JpegEncoder::getInBuf(uint64_t size) argument
172 if (size > JPG_FRAME_BUF_SIZE) {
173 ALOGE("The buffer size requested is too large");
180 void* JpegEncoder::getOutBuf(uint64_t *size) argument
190 *size = mArgs.enc_param->file_size;
194 void* JpegEncoder::getThumbInBuf(uint64_t size) argument
199 if (size > JPG_FRAME_THUMB_BUF_SIZE) {
200 ALOGE("The buffer size requested is too large");
207 void* JpegEncoder::getThumbOutBuf(uint64_t *size) argument
217 *size
221 encode(unsigned int *size, exif_attribute_t *exifInfo) argument
303 encodeThumbImg(unsigned int *size, bool useMain) argument
358 makeExif(unsigned char *exifOut, exif_attribute_t *exifInfo, unsigned int *size, bool useMainbufForThumb) argument
637 uint32_t size = width*height * 2; local
[all...]
/device/samsung/crespo/
H A Dreleasetools.py105 if d is None or len(d) > tf.size * common.OPTIONS.patch_threshold:
118 sf.size, sf.sha1, tf.size, tf.sha1),
119 "-", tf.size, tf.sha1, sf.sha1, "radio.img.p")
/device/samsung/toro/recovery/
H A Drecovery_updater.c44 result = update_cdma_modem(img->data, img->size);
H A Dupdate_cdma_modem.c52 int size; member in struct:dpram_firmware
91 fw.size = image_size;
/device/samsung/tuna/
H A Dreleasetools.py108 if d is None or len(d) > tf.size * common.OPTIONS.patch_threshold:
120 sf.size, sf.sha1, tf.size, tf.sha1),
121 "-", tf.size, tf.sha1, sf.sha1, "radio.img.p")
/device/samsung/toro/
H A Dreleasetools.py125 if d is None or len(d) > tf.size * common.OPTIONS.patch_threshold:
137 sf.size, sf.sha1, tf.size, tf.sha1),
138 "-", tf.size, tf.sha1, sf.sha1, "radio.img.p")
/device/samsung/crespo/libstagefrighthw/
H A DSEC_OMX_Plugin.cpp91 size_t size,
97 return (*mComponentNameEnum)(name, size, index);
89 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
H A DSEC_OMX_Plugin.h40 size_t size,
/device/asus/grouper/audio/
H A Daudio_route.c50 unsigned int size; member in struct:mixer_path
126 ar->mixer_path[ar->num_mixer_paths].size = 0;
158 if (path->size <= path->length) {
159 if (path->size == 0)
160 path->size = INITIAL_MIXER_PATH_SIZE;
162 path->size *= 2;
165 path->size * sizeof(struct mixer_setting));
H A Daudio_hw.c637 /* detect changes in screen ON/OFF state and adapt buffer size
638 * if needed. Do not change buffer size when routed to SCO device. */
663 /* The frame size is now half */
711 /* do not allow abrupt changes on buffer size. Increasing/decreasing
712 * the threshold by steps of 1/4th of the buffer size keeps the write
792 size_t size; local
799 size = (in->pcm_config->period_size * in_get_sample_rate(stream)) /
801 size = ((size + 15) / 16) * 16;
803 return size * audio_stream_frame_siz
1126 size_t size; local
[all...]
/device/samsung/crespo/libhwcomposer/
H A DSecHWCUtils.h83 int size; member in struct:hwc_win_info_t
/device/generic/goldfish/audio/
H A DAudioHardwareGeneric.cpp171 ::write(fd, result.string(), result.size());
251 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize());
263 ::write(fd, result.string(), result.size());
280 if (param.size()) {
359 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize());
371 ::write(fd, result.string(), result.size());
388 if (param.size()) {
/device/samsung/crespo/libaudio/
H A DAudioHardware.cpp107 for (size_t index = 0; index < mInputs.size(); index++) {
688 write(fd, result.string(), result.size());
693 snprintf(buffer, SIZE, "\n\t%d inputs opened:\n", mInputs.size());
695 for (size_t i = 0; i < mInputs.size(); i++) {
944 size_t size = sizeof(inputConfigTable)/sizeof(uint32_t)/INPUT_CONFIG_CNT; local
946 for (i = 0, prevDelta = 0xFFFFFFFF; i < size; i++, prevDelta = delta) {
959 for (size_t i = 0; i < mInputs.size(); i++) {
1333 ::write(fd, result.string(), result.size());
1375 if (param.size()) {
1567 ALOGV("processFrames(): mProcBuf %p size extende
1704 uint32_t size = sizeof(int); local
2192 size_t size = sizeof(inputConfigTable)/sizeof(uint32_t)/INPUT_CONFIG_CNT; local
[all...]
/device/samsung/crespo/libcamera/
H A DSecCamera.h307 int setPreviewImage(int index, unsigned char *buffer, int size);
315 unsigned char* getJpeg(unsigned char *snapshot_data, int snapshot_size, int *size);
442 void getThumbnailConfig(int *width, int *height, int *size);
H A DSecCamera.cpp1109 ALOGI("munmap():virt. addr %p size = %d\n",
1148 ALOGV("\nsnapshot dqueued buffer = %d snapshot_width = %d snapshot_height = %d, size = %d\n\n",
1230 void SecCamera::getPostViewConfig(int *width, int *height, int *size) argument
1235 *size = BACK_CAMERA_POSTVIEW_WIDE_WIDTH * BACK_CAMERA_POSTVIEW_HEIGHT * BACK_CAMERA_POSTVIEW_BPP / 8;
1239 *size = BACK_CAMERA_POSTVIEW_WIDTH * BACK_CAMERA_POSTVIEW_HEIGHT * BACK_CAMERA_POSTVIEW_BPP / 8;
1242 m_preview_width, *width, *height, *size);
1245 void SecCamera::getThumbnailConfig(int *width, int *height, int *size) argument
1250 *size = BACK_CAMERA_THUMBNAIL_WIDTH * BACK_CAMERA_THUMBNAIL_HEIGHT
1255 *size = FRONT_CAMERA_THUMBNAIL_WIDTH * FRONT_CAMERA_THUMBNAIL_HEIGHT
2996 int size local
[all...]
/device/samsung/crespo/sec_mm/sec_omx/sec_omx_component/common/
H A DSEC_OMX_Basecomponent.h62 int YSize; // [IN/OUT] input size of Y data
63 int CSize; // [IN/OUT] input size of CbCr data
167 OMX_ERRORTYPE SEC_OMX_Check_SizeVersion(OMX_PTR header, OMX_U32 size);
/device/samsung/tuna/recovery/
H A Drecovery_updater.c55 result = update_bootloader(img->data, img->size,
64 * The size of the userdata partition for HSPA Galaxy Nexus devices is incorrect
66 * the partition table, and makes the size of the userdata partition 1 sector
68 * incorrect size of the partition table, the crypto footer has saved that
69 * size, and tries to map that much data when decrypting. However, with the
70 * new partition table, that size is too big to be mapped, and the kernel
74 * The fix here is to recognize a crypto footer that has the wrong size, and
75 * update it to the new correct size. This program should be run as part of
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
H A DInputController.java67 if (switchIndex >= 0 && switchIndex < mSwitchDisplayers.size()) {

Completed in 387 milliseconds

12