Searched defs:data (Results 1 - 25 of 7161) sorted by last modified time

1234567891011>>

/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DDecodeHandler.java62 * Decode the data within the viewfinder rectangle, and time how long it took. For efficiency,
65 * @param data The YUV preview frame.
69 private void decode(byte[] data, int width, int height) { argument
72 PlanarYUVLuminanceSource source = activity.getCameraManager().buildLuminanceSource(data, width, height);
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
H A DCameraManager.java144 * A single preview frame will be returned to the handler supplied. The data will arrive as byte[]
261 * @param data A preview frame.
266 public PlanarYUVLuminanceSource buildLuminanceSource(byte[] data, int width, int height) { argument
272 return new PlanarYUVLuminanceSource(data, width, height, rect.left, rect.top,
H A DPreviewCallback.java42 public void onPreviewFrame(byte[] data, Camera camera) { argument
47 cameraResolution.y, data);
/external/yaffs2/yaffs2/direct/
H A Dyaffs_fileem.c44 __u8 data[528]; // Data + spare member in struct:__anon34290
119 int yflash_WriteChunkToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, const yaffs_Spare *spare) argument
127 if(data)
130 written = write(filedisk.handle,data,512);
149 int yflash_ReadChunkFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_Spare *spare) argument
157 if(data)
160 nread = read(filedisk.handle,data,512);
H A Dyaffs_fileem2k.c39 __u8 data[PAGE_SIZE]; // Data + spare member in struct:__anon34293
142 int yflash_WriteChunkWithTagsToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, yaffs_ExtendedTags *tags) argument
152 if(data)
158 written = write(h,data,dev->nDataBytesPerChunk);
210 int yflash_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_ExtendedTags *tags) argument
220 if(data)
226 nread = read(h,data,dev->nDataBytesPerChunk);
H A Dyaffs_flashif.c38 __u8 data[528]; // Data + spare member in struct:__anon34296
115 int yflash_WriteChunkWithTagsToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, yaffs_ExtendedTags *tags) argument
127 if(data)
129 memcpy(ramdisk.block[blk]->page[pg].data,data,512);
137 memcpy(&ramdisk.block[blk]->page[pg].data[512],&pt,sizeof(pt));
145 int yflash_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_Tags *tags) argument
157 if(data)
159 memcpy(data,ramdisk.block[blk]->page[pg].data,51
[all...]
H A Dyaffs_ramdisk.c42 __u8 data[528]; // Data + spare member in struct:__anon34299
119 int yramdisk_WriteChunkWithTagsToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, yaffs_ExtendedTags *tags) argument
131 if(data)
133 memcpy(ramdisk.block[blk]->page[pg].data,data,512);
142 memcpy(&ramdisk.block[blk]->page[pg].data[512],&pt,sizeof(pt));
150 int yramdisk_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_ExtendedTags *tags) argument
162 if(data)
164 memcpy(data,ramdisk.block[blk]->page[pg].data,51
[all...]
H A Dyaffs_ramem2k.c56 __u8 data[PAGE_TOTAL_SIZE]; // Data + spare member in struct:__anon34302
192 int nandemul2k_WriteChunkWithTagsToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, yaffs_ExtendedTags *tags) argument
205 if(data)
207 x = ned.block[blk]->page[pg]->data;
211 x[i] &=data[i];
220 x = &ned.block[blk]->page[pg]->data[PAGE_DATA_SIZE];
226 if(tags || data)
235 int nandemul2k_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_ExtendedTags *tags) argument
248 if(data)
250 memcpy(data,ne
[all...]
/external/yaffs2/yaffs2/mtdemul/
H A Dnandemul2k.c68 __u8 data[PAGE_TOTAL_SIZE]; // Data + spare member in struct:__anon34308
107 memcpy(buffer,&ned.block[blk]->page[pg]->data[start],nBytes);
119 p = &ned.block[blk]->page[pg]->data[start];
610 /* Fill in remaining MTD driver data */
/external/yaffs2/yaffs2/utils/
H A Dmkyaffs2image.c220 static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes) argument
228 error = write(outFile,data,chunkSize);
467 //printf("%d data chunks written\n",chunk);
623 if((len >= 4) && (!strcmp(dir + len - 4, "data"))) {
628 fprintf(stderr,"Fixstats (-f) option requested but filesystem is not data or android!\n");
H A Dmkyaffsimage.c136 static void yaffs_CalcECC(const __u8 *data, yaffs_Spare *spare) argument
138 yaffs_ECCCalculate(data , spare->ecc1);
139 yaffs_ECCCalculate(&data[256] , spare->ecc2);
234 static int write_chunk(__u8 *data, __u32 objId, __u32 chunkId, __u32 nBytes) argument
239 error = write(outFile,data,512);
257 yaffs_CalcECC(data,&s);
476 printf("%d data chunks written\n",chunk);
/external/yaffs2/yaffs2/
H A Dyaffs_checkptrw.c219 int yaffs_CheckpointWrite(yaffs_Device *dev,const void *data, int nBytes) argument
225 __u8 * dataBytes = (__u8 *)data;
252 int yaffs_CheckpointRead(yaffs_Device *dev, void *data, int nBytes) argument
261 __u8 *dataBytes = (__u8 *)data;
H A Dyaffs_ecc.c21 * The ECC can correct single bit errors in a 256-byte page of data. Thus, two such ECC
28 * for each byte of data. These are instead provided in a table in bits7..2.
99 /* Calculate the ECC for a 256-byte block of data */
100 void yaffs_ECCCalculate(const unsigned char *data, unsigned char *ecc) argument
111 b = column_parity_table[*data++];
171 /* Correct the ECC on a 256 byte block of data */
173 int yaffs_ECCCorrect(unsigned char *data, unsigned char *read_ecc, argument
188 /* Single bit (recoverable) error in data */
228 data[byte] ^= (1 << bit);
253 * ECCxxxOther does ECC calcs on arbitrary n bytes of data
255 yaffs_ECCCalculateOther(const unsigned char *data, unsigned nBytes, yaffs_ECCOther * eccOther) argument
282 yaffs_ECCCorrectOther(unsigned char *data, unsigned nBytes, yaffs_ECCOther * read_ecc, const yaffs_ECCOther * test_ecc) argument
[all...]
H A Dyaffs_fs.c390 /* clear is called to tell the fs to release any per-inode data it holds */
1453 void *data, int silent)
1699 if(data && strcmp((char *) data, "erase") == 0) {
1746 static int yaffs_internal_read_super_mtd(struct super_block *sb, void *data,
1749 return yaffs_internal_read_super(1, sb, data, silent) ? 0 : -EINVAL;
1755 void *data, struct vfsmount *mnt)
1758 return get_sb_bdev(fs, flags, dev_name, data,
1764 void *data)
1767 return get_sb_bdev(fs, flags, dev_name, data,
1451 yaffs_internal_read_super(int yaffsVersion, struct super_block *sb, void *data, int silent) argument
[all...]
H A Dyaffs_guts.c50 const __u8 * data,
255 if( dev->srCache[i].data == buffer )
368 __u8 *data = yaffs_GetTempBuffer(dev, __LINE__); local
372 result = yaffs_ReadChunkWithTagsFromNAND(dev, chunkInNAND, data, &tags);
378 if (!yaffs_CheckFF(data, dev->nDataBytesPerChunk) || tags.chunkUsed) {
384 yaffs_ReleaseTempBuffer(dev, data, __LINE__);
391 const __u8 * data,
449 data, tags);
456 * Copy the data into the robustification buffer.
460 yaffs_HandleWriteChunkOk(dev, chunk, data, tag
390 yaffs_WriteNewChunkWithTagsToNAND(struct yaffs_DeviceStruct *dev, const __u8 * data, yaffs_ExtendedTags * tags, int useReserve) argument
503 yaffs_HandleWriteChunkOk(yaffs_Device * dev, int chunkInNAND, const __u8 * data, const yaffs_ExtendedTags * tags) argument
[all...]
H A Dyaffs_guts.h120 __u8 *data; member in struct:__anon34315
122 __u8 data[YAFFS_BYTES_PER_CHUNK]; member in struct:__anon34315
174 unsigned chunkId; /* If 0 then this is a header, else a data chunk */
175 unsigned byteCount; /* Only valid for data chunks */
227 /* Block data in RAM */
246 * At least one page holds valid data.
261 /* This block is assigned to holding checkpoint data.
276 __u32 needsRetiring:1; /* Data has failed on this block, need to get valid data off */
364 * - a directory (no data, has children links
365 * - a regular file (data
[all...]
H A Dyaffs_mtdif.c75 const __u8 * data, const yaffs_Spare * spare)
88 if (data && !spare)
90 &dummy, data);
100 ops.len = data ? dev->nDataBytesPerChunk : ops.ooblen;
101 ops.datbuf = (u8 *)data;
109 if (data && spare) {
113 &dummy, data, spareAsBytes,
118 &dummy, data, spareAsBytes,
121 if (data)
124 data);
74 nandmtd_WriteChunkToNAND(yaffs_Device * dev, int chunkInNAND, const __u8 * data, const yaffs_Spare * spare) argument
138 nandmtd_ReadChunkFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * data, yaffs_Spare * spare) argument
[all...]
H A Dyaffs_mtdif2.c56 //printk("nandmtd2_pt2buf: writing %d bytes of extra data into %d\n", packed_size, mtd->oobsize);
120 const __u8 * data,
137 ("nandmtd2_WriteChunkWithTagsToNAND chunk %d data %p tags %p"
138 TENDSTR), chunkInNAND, data, tags));
144 BUG(); /* both tags and data should always be present */
147 if (data) {
152 ops.datbuf = (__u8 *)data;
156 BUG(); /* both tags and data should always be present */
166 &dummy, data, dev->spareBuffer, NULL);
167 } else if (data) {
119 nandmtd2_WriteChunkWithTagsToNAND(yaffs_Device * dev, int chunkInNAND, const __u8 * data, const yaffs_ExtendedTags * tags) argument
180 nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * data, yaffs_ExtendedTags * tags) argument
[all...]
H A Dyaffs_tagscompat.c24 const __u8 * data,
59 void yaffs_CalcECC(const __u8 * data, yaffs_Spare * spare) argument
61 yaffs_ECCCalculate(data, spare->ecc1);
62 yaffs_ECCCalculate(&data[256], spare->ecc2);
166 int chunkInNAND, const __u8 * data,
177 return dev->writeChunkToNAND(dev, chunkInNAND, data, spare);
182 __u8 * data,
192 if (!spare && data) {
199 retVal = dev->readChunkFromNAND(dev, chunkInNAND, data, spare);
200 if (data
165 yaffs_WriteChunkToNAND(struct yaffs_DeviceStruct *dev, int chunkInNAND, const __u8 * data, yaffs_Spare * spare) argument
180 yaffs_ReadChunkFromNAND(struct yaffs_DeviceStruct *dev, int chunkInNAND, __u8 * data, yaffs_Spare * spare, yaffs_ECCResult * eccResult, int doErrorCorrection) argument
310 static __u8 data[YAFFS_BYTES_PER_CHUNK]; local
357 yaffs_HandleWriteChunkOk(yaffs_Device * dev, int chunkInNAND, const __u8 * data, const yaffs_Spare * spare) argument
403 yaffs_TagsCompatabilityWriteChunkWithTagsToNAND(yaffs_Device * dev, int chunkInNAND, const __u8 * data, const yaffs_ExtendedTags * eTags) argument
432 yaffs_TagsCompatabilityReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * data, yaffs_ExtendedTags * eTags) argument
[all...]
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DChecksumImpl.cs58 /// <param name="data">The data to update the checksum with</param>
59 /// <param name="offset">Where in <c>data</c> to start updating</param>
60 /// <param name="count">The number of bytes from <c>data</c> to use</param>
61 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
62 /// <exception cref="NullReferenceException"><c>data</c> is a null reference</exception>
66 public abstract void Update(byte[] data, int offset, int count); argument
71 /// <param name="data">The data to update the checksum with</param>
72 public void Update(byte[] data) argument
82 Update(string data) argument
92 Update(string data, Encoding encoding) argument
109 crc32(uint crc, int data, uint length) argument
133 Update(byte[] data, int offset, int count) argument
160 adler32(uint adler, int data, uint length) argument
184 Update(byte[] data, int offset, int count) argument
[all...]
H A DCodecBase.cs68 /// Occurs when more processed data are available.
86 /// Adds more data to the codec to be processed.
88 /// <param name="data">Byte array containing the data to be added to the codec</param>
89 /// <remarks>Adding data may, or may not, raise the <c>DataAvailable</c> event</remarks>
90 public void Add(byte[] data) argument
92 Add(data,0,data.Length);
96 /// Adds more data to the codec to be processed.
98 /// <param name="data">Byt
103 Add(byte[] data, int offset, int count) argument
168 copyInput(byte[] data, int startIndex, int count) argument
[all...]
H A DDeflater.cs16 /// Implements a data compressor, using the deflate algorithm in the ZLib dll
48 /// Adds more data to the codec to be processed.
50 /// <param name="data">Byte array containing the data to be added to the codec</param>
51 /// <param name="offset">The index of the first byte to add from <c>data</c></param>
53 /// <remarks>Adding data may, or may not, raise the <c>DataAvailable</c> event</remarks>
54 public override void Add(byte[] data, int offset, int count) argument
56 if (data == null) throw new ArgumentNullException();
58 if ((offset+count) > data.Length) throw new ArgumentException();
66 copyInput(data, inputInde
[all...]
H A DDotZLib.cs68 /// No compression at all. The data are passed straight through.
129 /// <param name="data">The data to update the checksum with</param>
130 void Update(byte[] data); argument
135 /// <param name="data">The data to update the checksum with</param>
136 /// <param name="offset">Where in <c>data</c> to start updating</param>
137 /// <param name="count">The number of bytes from <c>data</c> to use</param>
138 /// <exception cref="ArgumentException">The sum of offset and count is larger than the length of <c>data</c></exception>
139 /// <exception cref="ArgumentNullException"><c>data</
141 Update(byte[] data, int offset, int count) argument
148 Update(string data) argument
155 Update(string data, Encoding encoding) argument
169 DataAvailableHandler(byte[] data, int startIndex, int count) argument
186 Add(byte[] data) argument
195 Add(byte[] data, int offset, int count) argument
[all...]
H A DGZipStream.cs27 private static extern int gzwrite(IntPtr gzFile, int data, int length); argument
30 private static extern int gzread(IntPtr gzFile, int data, int length); argument
40 #region Private data
51 /// <param name="level">The compression level to use when adding data</param>
145 /// <param name="buffer">The destination data buffer</param>

Completed in 234 milliseconds

1234567891011>>