Searched refs:length (Results 26 - 41 of 41) sorted by relevance

12

/system/extras/ext4_utils/
H A Dext4_utils.h49 static inline void *mmap64(void *addr, size_t length, int prot, int flags, argument
52 return __mmap2(addr, length, prot, flags, fd, offset >> 12);
/system/core/libcorkscrew/
H A Dsymbol_table.c70 size_t length = sb.st_size; local
71 char* base = mmap(NULL, length, PROT_READ, MAP_PRIVATE, fd, 0);
196 munmap(base, length);
/system/core/init/
H A Dproperty_service.c325 int fd, length; local
536 int fd, length; local
550 length = read(fd, value, sizeof(value) - 1);
551 if (length >= 0) {
552 value[length] = 0;
H A Dinit_parser.c264 ERROR("invalid zero-length prop name in '%s'\n", src);
547 int length = equals - name; local
548 if (length > PROP_NAME_MAX) {
551 memcpy(prop_name, name, length);
552 prop_name[length] = 0;
/system/extras/libublock/
H A Dublock.c144 out_h->status = (ub_ctx->ops->read)(out_buf, in_h->length, in_h->offset);
147 *out_len = sizeof(*out_h) + in_h->length;
175 out_h->status = (ub_ctx->ops->write)(in_buf, in_h->length, in_h->offset);
/system/extras/bugmailer/src/com/android/commands/sendbug/
H A DSendBug.java46 if (args.length == 1) {
48 } else if (args.length == 2) {
/system/security/keystore-engine/
H A Deng_keystore.cpp171 const size_t replyLen = reply.length();
229 Unique_EVP_PKEY pkey(d2i_PUBKEY(NULL, &tmp, reply.length()));
/system/core/adb/
H A Dusb_linux.c210 unsigned char length = bufptr[0]; local
215 bufptr += length;
217 if (length != USB_DT_INTERFACE_SIZE) {
296 bufptr += length;
H A Dtransport_local.c88 int length = p->msg.data_length; local
96 if(writex(t->sfd, &p->msg, sizeof(amessage) + length)) {
/system/media/camera/src/
H A Dcamera_metadata.c72 * With the total length of the whole packet being camera_metadata.size bytes.
452 size_t length = dst->data_count - entry->data.offset - data_bytes; local
453 memmove(start, end, length);
503 size_t length = dst->data_count - entry->data.offset - entry_bytes; local
504 memmove(start, end, length);
/system/core/toolbox/
H A Dnandread.c145 oobbuf.length = mtdinfo.oobsize;
231 int len = ecclayout.oobfree[i].length;
/system/extras/tests/sdcard/
H A Dplot_sdcard.py67 def RescaleTo(self, length):
68 factor = len(self.data) / length
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h306 uint8_t length; member in struct:__anon4
325 uint8_t length; member in struct:__anon6
1445 uint16_t length; member in struct:__anon142
1537 uint8_t length; member in struct:__anon153
1545 uint8_t length; member in struct:__anon154
1735 uint8_t length; member in struct:__anon177
2210 uint8_t length; member in struct:__anon230
2471 uint8_t length; member in struct:hci_inquiry_req
/system/vold/
H A DDevmapper.cpp229 tgt->length = numSectors;
H A Dcryptfs.c111 /* compute length in bytes */
114 /* return length in sectors */
286 /* Make sure it's 16 Kbytes in length */
357 /* Convert a binary key of specified length into an ascii hex string equivalent,
422 tgt->length = crypt_ftr->fs_size;
531 SLOGE("EVP_Encryption length check failed with %d, %d bytes\n", encrypted_len, final_len);
/system/core/libsparse/
H A Doutput_file.c51 static inline void *mmap64(void *addr, size_t length, int prot, int flags, argument
54 return __mmap2(addr, length, prot, flags, fd, offset >> 12);
382 /* Round up the fill length to a multiple of the block size */
417 /* Round up the data length to a multiple of the block size */

Completed in 5456 milliseconds

12