/external/zxing/core/ |
H A D | core.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ... |
/external/yaffs2/yaffs2/direct/ |
H A D | yaffs_fileem2k.c | 64 static char *NToName(char *buf,int n) argument 66 sprintf(buf,"emfile%d",n); 67 return buf;
|
H A D | yaffsfs.c | 510 int yaffs_read(int fd, void *buf, unsigned int nbyte) argument 547 nRead = yaffs_ReadDataFromFile(obj,buf,pos,nbyte); 571 int yaffs_write(int fd, const void *buf, unsigned int nbyte) argument 603 nWritten = yaffs_WriteDataToFile(obj,buf,pos,nbyte,writeThrough); 821 static int yaffsfs_DoStat(yaffs_Object *obj,struct yaffs_stat *buf) argument 830 if(obj && buf) 832 buf->st_dev = (int)obj->myDev->genericDevice; 833 buf->st_ino = obj->objectId; 834 buf->st_mode = obj->yst_mode & ~S_IFMT; // clear out file type bits 838 buf 864 yaffsfs_DoStatOrLStat(const char *path, struct yaffs_stat *buf,int doLStat) argument 894 yaffs_stat(const char *path, struct yaffs_stat *buf) argument 899 yaffs_lstat(const char *path, struct yaffs_stat *buf) argument 904 yaffs_fstat(int fd, struct yaffs_stat *buf) argument 1379 yaffs_readlink(const char *path, char *buf, int bufsiz) argument [all...] |
/external/yaffs2/yaffs2/mtdemul/ |
H A D | nandemul2k.c | 281 size_t *retlen, u_char *buf); 283 size_t *retlen, u_char *buf, u_char *oob_buf, struct nand_oobinfo *dummy); 285 size_t *retlen, u_char *buf); 287 size_t *retlen, const u_char *buf); 289 size_t *retlen, const u_char *buf, 292 size_t *retlen, const u_char *buf); 309 size_t *retlen, u_char *buf) 311 return nand_read_ecc (mtd, from, len, retlen, buf, NULL,NULL); 319 size_t *retlen, u_char *buf, u_char *oob_buf,struct nand_oobinfo *oobsel) 358 nandemul2k_Read(buf, pag 308 nand_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument 318 nand_read_ecc(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf, u_char *oob_buf,struct nand_oobinfo *oobsel) argument 376 nand_read_oob(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) argument 411 nand_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument 420 nand_write_ecc(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf, u_char *oob_buf, struct nand_oobinfo *dummy) argument 480 nand_write_oob(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) argument [all...] |
/external/yaffs2/yaffs2/ |
H A D | yaffs_fs.c | 61 #define yaffs_devname(sb, buf) bdevname(sb->s_bdev, buf) 67 #define yaffs_devname(sb, buf) kdevname(sb->s_dev) 103 static ssize_t yaffs_file_write(struct file *f, const char *buf, size_t n, 153 static int yaffs_statfs(struct dentry *dentry, struct kstatfs *buf); 155 static int yaffs_statfs(struct super_block *sb, struct kstatfs *buf); 157 static int yaffs_statfs(struct super_block *sb, struct statfs *buf); 800 static ssize_t yaffs_file_write(struct file *f, const char *buf, size_t n, argument 833 nWritten = yaffs_WriteDataToFile(obj, buf, ipos, n, 0); 1276 static int yaffs_statfs(struct dentry *dentry, struct kstatfs *buf) argument 1281 yaffs_statfs(struct super_block *sb, struct kstatfs *buf) argument 1285 yaffs_statfs(struct super_block *sb, struct statfs *buf) argument [all...] |
/external/zlib/src/contrib/blast/ |
H A D | blast.c | 416 local unsigned inf(void *how, unsigned char **buf) argument 420 *buf = hold; 424 local int outf(void *how, unsigned char *buf, unsigned len) argument 426 return fwrite(buf, 1, len, (FILE *)how) != len;
|
/external/zlib/src/contrib/inflate86/ |
H A D | inffast.S | 179 #define buf 28 /* char[ 12 ] */ define 328 leal buf(%esp), %edi 329 rep movsb /* memcpy( buf, in, avail_in ) */ 332 rep stosb /* memset( &buf[ avail_in ], 0, 12 - avail_in ) */ 333 leal buf(%esp), in_r /* in = buf */ 1275 leal buf(%esp), %ebx 1277 jne .L_buf_not_used /* if buf != last */ 1279 subl %ebx, in_r /* in -= buf */
|
/external/zlib/src/contrib/iostream2/ |
H A D | zstream.h | 87 int read(void* buf, size_t len) { argument 88 return ::gzread(m_fp, buf, len); 208 int write(const void* buf, size_t len) { argument 209 return ::gzwrite(m_fp, (voidp) buf, len);
|
/external/zlib/src/contrib/iostream3/ |
H A D | test.cc | 15 char buf[80]; local 27 while (inf.getline(buf,80,'\n')) { 28 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n"; 43 while (inf.getline(buf,80,'\n')) { 44 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n";
|
/external/zlib/src/contrib/minizip/ |
H A D | crypt.h | 91 unsigned char* buf, /* where to write header */ 124 buf[n] = (unsigned char)zencode(pkeys, pcrc_32_tab, header[n], t); 126 buf[n++] = (unsigned char)zencode(pkeys, pcrc_32_tab, (int)(crcForCrypting >> 16) & 0xff, t); 127 buf[n++] = (unsigned char)zencode(pkeys, pcrc_32_tab, (int)(crcForCrypting >> 24) & 0xff, t); 90 crypthead(const char* passwd, unsigned char* buf, int bufSize, unsigned long* pkeys, const z_crc_t* pcrc_32_tab, unsigned long crcForCrypting) argument
|
H A D | ioapi.c | 88 static uLong ZCALLBACK fread_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size)); 89 static uLong ZCALLBACK fwrite_file_func OF((voidpf opaque, voidpf stream, const void* buf,uLong size)); 132 static uLong ZCALLBACK fread_file_func (voidpf opaque, voidpf stream, void* buf, uLong size) argument 135 ret = (uLong)fread(buf, 1, (size_t)size, (FILE *)stream); 139 static uLong ZCALLBACK fwrite_file_func (voidpf opaque, voidpf stream, const void* buf, uLong size) argument 142 ret = (uLong)fwrite(buf, 1, (size_t)size, (FILE *)stream);
|
H A D | iowin32.c | 36 uLong ZCALLBACK win32_read_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size)); 37 uLong ZCALLBACK win32_write_file_func OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); 197 uLong ZCALLBACK win32_read_file_func (voidpf opaque, voidpf stream, void* buf,uLong size) argument 206 if (!ReadFile(hFile, buf, size, &ret, NULL)) 219 uLong ZCALLBACK win32_write_file_func (voidpf opaque,voidpf stream,const void* buf,uLong size) argument 228 if (!WriteFile(hFile, buf, size, &ret, NULL))
|
H A D | miniunz.c | 323 void* buf; local 337 buf = (void*)malloc(size_buf); 338 if (buf==NULL) 435 err = unzReadCurrentFile(uf,buf,size_buf); 442 if (fwrite(buf,err,1,fout)!=1) 470 free(buf);
|
H A D | minizip.c | 185 int getFileCrc(const char* filenameinzip,void*buf,unsigned long size_buf,unsigned long* result_crc) 202 size_read = (int)fread(buf,1,size_buf,fin); 211 calculate_crc = crc32(calculate_crc,buf,size_read); 259 void* buf=NULL; local 307 buf = (void*)malloc(size_buf); 308 if (buf==NULL) 420 err = getFileCrc(filenameinzip,buf,size_buf,&crcFile); 475 size_read = (int)fread(buf,1,size_buf,fin); 485 err = zipWriteInFileInZip (zf,buf,size_read); 518 free(buf); [all...] |
H A D | unzip.c | 415 unsigned char* buf; local 430 buf = (unsigned char*)ALLOC(BUFREADCOMMENT+4); 431 if (buf==NULL) 451 if (ZREAD64(*pzlib_filefunc_def,filestream,buf,uReadSize)!=uReadSize) 455 if (((*(buf+i))==0x50) && ((*(buf+i+1))==0x4b) && 456 ((*(buf+i+2))==0x05) && ((*(buf+i+3))==0x06)) 465 TRYFREE(buf); 481 unsigned char* buf; local 1684 unzReadCurrentFile(unzFile file, voidp buf, unsigned len) argument 1956 unzGetLocalExtrafield(unzFile file, voidp buf, unsigned len) argument [all...] |
H A D | zip.c | 225 local int add_data_in_datablock(linkedlist_data* ll, const void* buf, uLong len) argument 241 from_copy = (unsigned char*)buf; 289 unsigned char buf[8]; local 293 buf[n] = (unsigned char)(x & 0xff); 300 buf[n] = 0xff; 304 if (ZWRITE64(*pzlib_filefunc_def,filestream,buf,nbByte)!=(uLong)nbByte) 313 unsigned char* buf=(unsigned char*)dest; local 316 buf[n] = (unsigned char)(x & 0xff); 324 buf[n] = 0xff; 482 unsigned char* buf; local 544 unsigned char* buf; local 1402 zipWriteInFileInZip(zipFile file,const void* buf,unsigned int len) argument [all...] |
/external/zlib/src/contrib/puff/ |
H A D | pufftest.c | 63 void *buf, *swap; local 67 buf = malloc(size = 4096); 68 if (buf == NULL) 73 *len += fread((char *)buf + *len, 1, size - *len, in); 76 if (size == *len || (swap = realloc(buf, size)) == NULL) { 77 free(buf); 78 buf = NULL; 81 buf = swap; 85 return buf;
|
/external/zlib/src/examples/ |
H A D | gun.c | 89 local unsigned in(void *in_desc, z_const unsigned char **buf) argument 97 *buf = next; 131 local int out(void *out_desc, unsigned char *buf, unsigned len) argument 137 me->crc = crc32(me->crc, buf, len); 145 ret = (int)write(me->outfile, buf, ret); 148 buf += ret;
|
H A D | gzappend.c | 172 int size; /* 1 << size is bytes in buf */ 174 unsigned char *buf; /* buffer */ member in struct:__anon34352 184 len = read(in->fd, in->buf, 1 << in->size); 187 in->next = in->buf; 272 gz.buf = malloc(CHUNK); 273 if (gz.buf == NULL) bye("out of memory", ""); 356 if (read(gz.fd, gz.buf, 1) != 1) bye("reading after seek on ", name); 357 *gz.buf = (unsigned char)(*gz.buf ^ (1 << ((8 - lastbit) & 7))); 359 if (write(gz.fd, gz.buf, [all...] |
H A D | gzjoin.c | 83 unsigned char *buf; /* allocated buffer of length CHUNK */ member in struct:__anon34353 92 if (in->buf != NULL) 93 free(in->buf); 107 in->buf = malloc(CHUNK); 109 if (in->buf == NULL || in->fd == -1) { 114 in->next = in->buf; 129 in->next = in->buf; 131 len = (long)read(in->fd, in->buf + in->left, CHUNK - in->left); 183 if (read(in->fd, in->buf, 1) != 1) 321 start = in->buf; [all...] |
H A D | gzlog.c | 413 unsigned char buf[HEAD + EXTRA]; local 416 read(log->fd, buf, HEAD + EXTRA) != HEAD + EXTRA || 417 memcmp(buf, log_gzhead, HEAD)) { 420 log->first = PULL8(buf + HEAD); 421 log->last = PULL8(buf + HEAD + 8); 422 log->ccrc = PULL4(buf + HEAD + 16); 423 log->clen = PULL4(buf + HEAD + 20); 424 log->tcrc = PULL4(buf + HEAD + 24); 425 log->tlen = PULL4(buf + HEAD + 28); 426 log->stored = PULL2(buf 465 unsigned char buf[6]; local 505 unsigned char buf[8]; local 615 unsigned char buf[DICT]; local 913 unsigned char *data, buf[5]; local [all...] |
H A D | zran.c | 242 /* Use the index to read len bytes from offset into buf, return bytes read or 245 than len, indicating how much as actually read into buf. This function 250 unsigned char *buf, int len) 298 strm.next_out = buf; 360 unsigned char buf[CHUNK]; local 396 len = extract(in, index, offset, buf, CHUNK); 401 fwrite(buf, 1, len, stdout); 249 extract(FILE *in, struct access *index, off_t offset, unsigned char *buf, int len) argument
|
/external/zlib/src/ |
H A D | gzlib.c | 36 static char buf[1024]; local 56 if (chars > sizeof (buf) - 1) { 57 chars = sizeof (buf) - 1; 61 wcstombs(buf, msgbuf, chars + 1); 65 sprintf(buf, "unknown win32 error (%ld)", error); 69 return buf;
|
H A D | gzread.c | 20 local int gz_load(state, buf, len, have) 22 unsigned char *buf; 30 ret = read(state->fd, buf + *have, len - *have); 288 int ZEXPORT gzread(file, buf, len) 290 voidp buf; 326 /* get len bytes to buf, or less than len if at the end */ 332 memcpy(buf, state->x.next, n); 356 if (gz_load(state, (unsigned char *)buf, len, &n) == -1) 363 strm->next_out = (unsigned char *)buf; 372 buf 391 unsigned char buf[1]; local [all...] |
H A D | gzwrite.c | 165 int ZEXPORT gzwrite(file, buf, len) 167 voidpc buf; 218 memcpy(state->in + have, buf, copy); 221 buf = (const char *)buf + copy; 234 strm->next_in = (z_const Bytef *)buf; 250 unsigned char buf[1]; local 286 buf[0] = c; 287 if (gzwrite(file, buf, 1) != 1)
|