Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 56) sorted by relevance

123

/device/asus/grouper/keymaster/
Dkeymaster_grouper.cpp97 void setLength(size_t length) { in setLength() argument
98 mLength = length; in setLength()
101 size_t length() const { in length() function in ByteArray
243 if (RAND_pseudo_bytes(reinterpret_cast<unsigned char*>(id->get()), id->length()) < 0) { in generate_random_id()
251 Unique_ByteArray handleBlob(new ByteArray(sizeof(uint32_t) + objId->length())); in keyblob_save()
260 memcpy(tmp, objId->get(), objId->length()); in keyblob_save()
262 *key_blob_length = handleBlob->length(); in keyblob_save()
370 {CKA_ID, objId->get(), objId->length()}, in tee_generate_keypair()
379 {CKA_ID, objId->get(), objId->length()}, in tee_generate_keypair()
467 {CKA_ID, objId->get(), objId->length()}, in tee_import_keypair()
[all …]
/device/asus/tilapia/self-extractors/nvidia/staging/keymaster/
Dkeymaster_grouper.cpp97 void setLength(size_t length) { in setLength() argument
98 mLength = length; in setLength()
101 size_t length() const { in length() function in ByteArray
243 if (RAND_pseudo_bytes(reinterpret_cast<unsigned char*>(id->get()), id->length()) < 0) { in generate_random_id()
251 Unique_ByteArray handleBlob(new ByteArray(sizeof(uint32_t) + objId->length())); in keyblob_save()
260 memcpy(tmp, objId->get(), objId->length()); in keyblob_save()
262 *key_blob_length = handleBlob->length(); in keyblob_save()
370 {CKA_ID, objId->get(), objId->length()}, in tee_generate_keypair()
379 {CKA_ID, objId->get(), objId->length()}, in tee_generate_keypair()
467 {CKA_ID, objId->get(), objId->length()}, in tee_import_keypair()
[all …]
/device/asus/grouper/self-extractors/nvidia/staging/keymaster/
Dkeymaster_grouper.cpp97 void setLength(size_t length) { in setLength() argument
98 mLength = length; in setLength()
101 size_t length() const { in length() function in ByteArray
243 if (RAND_pseudo_bytes(reinterpret_cast<unsigned char*>(id->get()), id->length()) < 0) { in generate_random_id()
251 Unique_ByteArray handleBlob(new ByteArray(sizeof(uint32_t) + objId->length())); in keyblob_save()
260 memcpy(tmp, objId->get(), objId->length()); in keyblob_save()
262 *key_blob_length = handleBlob->length(); in keyblob_save()
370 {CKA_ID, objId->get(), objId->length()}, in tee_generate_keypair()
379 {CKA_ID, objId->get(), objId->length()}, in tee_generate_keypair()
467 {CKA_ID, objId->get(), objId->length()}, in tee_import_keypair()
[all …]
/device/generic/goldfish/camera/
DEmulatedCameraHotplugThread.cpp149 int length = TEMP_FAILURE_RETRY( in threadLoop() local
152 if (length < 0) { in threadLoop()
160 ALOGV("%s: Read %d bytes from inotify FD", __FUNCTION__, length); in threadLoop()
163 while (i < length) { in threadLoop()
349 int length; in readFile() local
351 length = TEMP_FAILURE_RETRY( in readFile()
357 __FUNCTION__, filePath.string(), length, buffer[0]); in readFile()
359 if (length == 0) { // EOF in readFile()
DEmulatedCamera.cpp488 reinterpret_cast<char*>(malloc(sizeof(char) * (params.length()+1))); in getParameters()
489 memset(ret_str, 0, params.length()+1); in getParameters()
491 strncpy(ret_str, params.string(), params.length()+1); in getParameters()
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DglUtils.cpp437 void glUtilsPackStrings(char *ptr, char **strings, GLint *length, GLsizei count) in glUtilsPackStrings() argument
444 if (length == NULL || length[i] < 0) { in glUtilsPackStrings()
448 l = length[i]; in glUtilsPackStrings()
457 int glUtilsCalcShaderSourceLen( char **strings, GLint *length, GLsizei count) in glUtilsCalcShaderSourceLen() argument
462 if (length == NULL || length[i] < 0) { in glUtilsCalcShaderSourceLen()
465 l = length[i]; in glUtilsCalcShaderSourceLen()
DglUtils.h58 void glUtilsPackStrings(char *ptr, char **strings, GLint *length, GLsizei count);
59 int glUtilsCalcShaderSourceLen(char **strings, GLint *length, GLsizei count);
/device/generic/goldfish/opengl/system/GLESv2_enc/
Dgl2_entry.cpp63 …void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size…
64 …void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* siz…
74 void glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog);
77 void glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog);
79 void glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source);
106 …inary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length);
107 …void glShaderSource(GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length
153 …void glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat,…
154 void glProgramBinaryOES(GLuint program, GLenum binaryFormat, const GLvoid* binary, GLint length);
172 …void glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei* length, GLchar* groupS…
[all …]
Dgl2_enc.h79 …enc(void *self , GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLen…
80 …enc(void *self , GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLen…
90 …void glGetProgramInfoLog_enc(void *self , GLuint program, GLsizei bufsize, GLsizei* length, GLchar…
93 …void glGetShaderInfoLog_enc(void *self , GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* …
95 …void glGetShaderSource_enc(void *self , GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* s…
122 …elf , GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length);
123 …e_enc(void *self , GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length);
169 …void glGetProgramBinaryOES_enc(void *self , GLuint program, GLsizei bufSize, GLsizei* length, GLen…
170 …inaryOES_enc(void *self , GLuint program, GLenum binaryFormat, const GLvoid* binary, GLint length);
188 …rGroupStringAMD_enc(void *self , GLuint group, GLsizei bufSize, GLsizei* length, GLchar* groupStri…
[all …]
Dgl2_enc.cpp927 …enc(void *self , GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLen… in glGetActiveAttrib_enc() argument
933 const unsigned int __size_length = ((length != NULL) ? (sizeof(GLsizei)) : 0); in glGetActiveAttrib_enc()
950 if (length != NULL) stream->readback(length, __size_length); in glGetActiveAttrib_enc()
956 …enc(void *self , GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLen… in glGetActiveUniform_enc() argument
962 const unsigned int __size_length = ((length != NULL) ? (sizeof(GLsizei)) : 0); in glGetActiveUniform_enc()
979 if (length != NULL) stream->readback(length, __size_length); in glGetActiveUniform_enc()
1159 void glGetProgramInfoLog_enc(void *self , GLuint program, GLsizei bufsize, GLsizei* length, GLchar*… in glGetProgramInfoLog_enc() argument
1177 stream->readback(length, __size_length); in glGetProgramInfoLog_enc()
1219 void glGetShaderInfoLog_enc(void *self , GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* i… in glGetShaderInfoLog_enc() argument
1225 const unsigned int __size_length = ((length != NULL) ? (sizeof(GLsizei)) : 0); in glGetShaderInfoLog_enc()
[all …]
/device/samsung/manta/recovery/
Drecovery_updater.c54 size_t length, size_t out_offset) { in copy_block() argument
60 if (fwrite(data+in_offset, 1, length, f) != length) { in copy_block()
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_preview.c156 int cbcr_off = newFrame->buffer + newFrame->planes[0].length; in dumpFrameToFile()
158 …ength = %d cbcr_off length = %d", __func__, newFrame->planes[0].length,newFrame->planes[1].length); in dumpFrameToFile()
160 write(file_fd, (const void *)(y_off), newFrame->planes[0].length); in dumpFrameToFile()
162 (newFrame->planes[1].length * newFrame->num_planes)); in dumpFrameToFile()
306 bufs[i].planes[0].length = planes[0];
312 bufs[i].planes[j].length = planes[j];
317 bufs[i].planes[j-1].length;
388 bufs[i].planes[0].length = frame_offset_info->mp[0].len; in mm_stream_initbuf()
394 bufs[i].planes[j].length = frame_offset_info->mp[j].len; in mm_stream_initbuf()
399 bufs[i].planes[j-1].length; in mm_stream_initbuf()
Dmm_qcamera_snapshot.c225 reg_buf.def.buf.mp[0].planes[0].length = planes_main[0]; in mm_app_prepare_raw_snapshot_buf()
230 reg_buf.def.buf.mp[0].planes[j].length = planes_main[j]; in mm_app_prepare_raw_snapshot_buf()
234 reg_buf.def.buf.mp[0].planes[j-1].length; in mm_app_prepare_raw_snapshot_buf()
964 bufs[i].planes[0].length = planes[0];
970 bufs[i].planes[j].length = planes[j];
975 bufs[i].planes[j-1].length;
1038 bufs[i].planes[0].length = planes[0];
1044 bufs[i].planes[j].length = planes[j];
1049 bufs[i].planes[j-1].length;
Dmm_qcamera_video.c163 bufs[i].planes[0].length = planes[0];
169 bufs[i].planes[j].length = planes[j];
174 bufs[i].planes[j-1].length;
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3Mem.cpp113 cache_inv_data.length = mMemInfo[index].size; in cacheOpsInternal()
119 cache_inv_data.handle, cache_inv_data.length, in cacheOpsInternal()
205 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
210 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
215 bufDef.planes[i-1].length; in getBufDef()
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c216 cache_inv_data.length = mem_info->size; in mm_app_cache_ops()
222 cache_inv_data.handle, cache_inv_data.length, in mm_app_cache_ops()
252 frame->planes[i].length); in mm_app_dump_frame()
299 app_bufs[i].buf.planes[0].length = frame_offset_info->mp[0].len; in mm_app_alloc_bufs()
304 app_bufs[i].buf.planes[j].length = frame_offset_info->mp[j].len; in mm_app_alloc_bufs()
309 app_bufs[i].buf.planes[j-1].length; in mm_app_alloc_bufs()
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DColorWheel.java138 return colors[colors.length - 1]; in interpColor()
141 float p = unit * (colors.length - 1); in interpColor()
DColorLEDController.java98 int spanStart = labelText.length(); in attachToView()
/device/lge/mako/camera/mm-camera-interface/
Dmm_camera.c43 cam_ctrl_type type, uint32_t length, void *value);
45 cam_ctrl_type type, uint32_t length, void *value, int timeout);
411 cam_ctrl_type type, uint32_t length, void *value) in mm_camera_send_native_ctrl_cmd() argument
417 ctrl_cmd.length = (uint16_t)length; in mm_camera_send_native_ctrl_cmd()
434 cam_ctrl_type type, uint32_t length, void *value,int timeout) in mm_camera_send_native_ctrl_timeout_cmd() argument
440 ctrl_cmd.length = (uint16_t)length; in mm_camera_send_native_ctrl_timeout_cmd()
/device/lge/mako/camera/QCamera/HAL/core/src/
DQCameraHWI_Record.cpp353 cache_inv_data.length = frame->video.video.frame->ion_alloc.len; in processRecordFrame()
499 mRecordBuf.video.video.buf.mp[cnt].planes[0].length = planes[0]; in initEncodeBuffers()
503 mRecordBuf.video.video.buf.mp[cnt].planes[j].length = planes[j]; in initEncodeBuffers()
508 mRecordBuf.video.video.buf.mp[cnt].planes[j-1].length; in initEncodeBuffers()
DQCameraHWI_Preview.cpp606 mDisplayBuf.preview.buf.mp[i].planes[0].length = planes[0]; in initDisplayBuffers()
612 mDisplayBuf.preview.buf.mp[i].planes[j].length = planes[j]; in initDisplayBuffers()
618 mDisplayBuf.preview.buf.mp[i].planes[j-1].length; in initDisplayBuffers()
623 mDisplayBuf.preview.buf.mp[i].planes[j].length, in initDisplayBuffers()
735 mDisplayBuf.preview.buf.mp[i].planes[0].length = planes[0]; in initPreviewOnlyBuffers()
741 mDisplayBuf.preview.buf.mp[i].planes[j].length = planes[j]; in initPreviewOnlyBuffers()
747 mDisplayBuf.preview.buf.mp[i].planes[j-1].length; in initPreviewOnlyBuffers()
752 mDisplayBuf.preview.buf.mp[i].planes[j].length, in initPreviewOnlyBuffers()
881 cache_inv_data.length = frame->def.frame->ion_alloc.len; in processPreviewFrameWithDisplay()
1111 cache_inv_data.length = frame->def.frame->ion_alloc.len; in processPreviewFrameWithOutDisplay()
/device/lge/mako/camera/
DQCameraHWI_Record.cpp352 cache_inv_data.length = frame->video.video.frame->ion_alloc.len; in processRecordFrame()
498 mRecordBuf.video.video.buf.mp[cnt].planes[0].length = planes[0]; in initEncodeBuffers()
502 mRecordBuf.video.video.buf.mp[cnt].planes[j].length = planes[j]; in initEncodeBuffers()
507 mRecordBuf.video.video.buf.mp[cnt].planes[j-1].length; in initEncodeBuffers()
DQCameraHWI_Preview.cpp646 mDisplayBuf.preview.buf.mp[i].planes[0].length = planes[0]; in initDisplayBuffers()
652 mDisplayBuf.preview.buf.mp[i].planes[j].length = planes[j]; in initDisplayBuffers()
658 mDisplayBuf.preview.buf.mp[i].planes[j-1].length; in initDisplayBuffers()
663 mDisplayBuf.preview.buf.mp[i].planes[j].length, in initDisplayBuffers()
785 mDisplayBuf.preview.buf.mp[i].planes[0].length = planes[0]; in initPreviewOnlyBuffers()
791 mDisplayBuf.preview.buf.mp[i].planes[j].length = planes[j]; in initPreviewOnlyBuffers()
797 mDisplayBuf.preview.buf.mp[i].planes[j-1].length; in initPreviewOnlyBuffers()
802 mDisplayBuf.preview.buf.mp[i].planes[j].length, in initPreviewOnlyBuffers()
941 cache_inv_data.length = frame->def.frame->ion_alloc.len; in processPreviewFrameWithDisplay()
1181 cache_inv_data.length = frame->def.frame->ion_alloc.len; in processPreviewFrameWithOutDisplay()
/device/asus/flo/camera/QCamera2/HAL/
DQCameraMem.cpp122 cache_inv_data.length = mMemInfo[index].size; in cacheOpsInternal()
128 cache_inv_data.handle, cache_inv_data.length, in cacheOpsInternal()
214 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
219 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
224 bufDef.planes[i-1].length; in getBufDef()
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera.c53 uint32_t length,
57 uint32_t length,
1620 uint32_t length, in mm_camera_send_native_ctrl_cmd() argument
1624 length, value, in mm_camera_send_native_ctrl_cmd()
1630 uint32_t length, in mm_camera_send_native_ctrl_timeout_cmd() argument
1639 ctrl_cmd.length = (uint16_t)length; in mm_camera_send_native_ctrl_timeout_cmd()

123