Searched defs:buffer (Results 1 - 25 of 3822) 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/yaffs2/yaffs2/direct/
H A Ddtest.c20 unsigned char buffer[100]; local
25 while((ni = read(inh,buffer,100)) > 0)
27 no = yaffs_write(outh,buffer,ni);
43 unsigned char buffer[100]; local
47 memset(buffer,bval,100);
54 yaffs_write(outh,buffer,i);
619 char buffer[20]; local
675 memset(buffer,0,20);
676 r = yaffs_read(f,buffer,10);
677 printf("read %d \"%s\"\n",r,buffer);
876 char buffer[20]; local
1208 char buffer[100]; local
[all...]
/external/yaffs2/yaffs2/mtdemul/
H A Dnandemul2k.c101 static void nandemul2k_Read(void *buffer, int page, int start, int nBytes) argument
105 if(buffer && nBytes > 0)
107 memcpy(buffer,&ned.block[blk]->page[pg]->data[start],nBytes);
112 static void nandemul2k_Program(const void *buffer, int page, int start, int nBytes) argument
117 __u8 *b = (__u8 *)buffer;
121 while(buffer && nBytes>0)
/external/yaffs2/yaffs2/
H A Dyaffs_fs.c176 static int yaffs_readlink(struct dentry *dentry, char __user * buffer,
257 static int yaffs_readlink(struct dentry *dentry, char __user * buffer, argument
274 ret = vfs_readlink(dentry, buffer, buflen, alias);
553 char *buffer; local
587 buffer = kmap(page);
600 yaffs_WriteDataToFile(obj, buffer, page->index << PAGE_CACHE_SHIFT,
1890 * This also assumes the user has posted a read buffer large
H A Dyaffs_guts.c62 const __u8 * buffer,
83 static void yaffs_ReleaseTempBuffer(yaffs_Device * dev, __u8 * buffer,
182 * Temporary buffer manipulations.
198 return dev->tempBuffer[i].buffer;
220 static void yaffs_ReleaseTempBuffer(yaffs_Device * dev, __u8 * buffer, argument
225 if (dev->tempBuffer[i].buffer == buffer) {
231 if (buffer) {
234 (TSTR("Releasing unmanaged temp buffer in line %d" TENDSTR),
236 YFREE(buffer);
245 yaffs_IsManagedTempBuffer(yaffs_Device * dev, const __u8 * buffer) argument
352 yaffs_CheckFF(__u8 * buffer, int nBytes) argument
2369 __u8 *buffer = yaffs_GetTempBuffer(dev, __LINE__); local
2859 yaffs_ReadChunkDataFromObject(yaffs_Object * in, int chunkInInode, __u8 * buffer) argument
2936 yaffs_WriteChunkDataToObject(yaffs_Object * in, int chunkInInode, const __u8 * buffer, int nBytes, int useReserve) argument
3003 __u8 *buffer = NULL; local
3880 yaffs_ReadDataFromFile(yaffs_Object * in, __u8 * buffer, loff_t offset, int nBytes) argument
4000 yaffs_WriteDataToFile(yaffs_Object * in, const __u8 * buffer, loff_t offset, int nBytes, int writeThrough) argument
5887 YCHAR buffer[YAFFS_MAX_NAME_LENGTH + 1]; local
6013 __u8 *buffer = yaffs_GetTempBuffer(obj->myDev, __LINE__); local
[all...]
H A Dyaffs_guts.h518 __u8 *buffer; member in struct:__anon34332
519 int line; /* track from whence this buffer was allocated */
627 __u8 *spareBuffer; /* For mtdif2 use. Don't know the size of the buffer
827 int yaffs_ReadDataFromFile(yaffs_Object * obj, __u8 * buffer, loff_t offset,
829 int yaffs_WriteDataToFile(yaffs_Object * obj, const __u8 * buffer, loff_t offset,
890 int yaffs_CheckFF(__u8 * buffer, int nBytes);
H A Dyaffs_nand.c24 __u8 * buffer,
37 result = dev->readChunkWithTagsFromNAND(dev, realignedChunkInNAND, buffer,
42 buffer,
56 const __u8 * buffer,
79 return dev->writeChunkWithTagsToNAND(dev, chunkInNAND, buffer,
84 buffer,
23 yaffs_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * buffer, yaffs_ExtendedTags * tags) argument
54 yaffs_WriteChunkWithTagsToNAND(yaffs_Device * dev, int chunkInNAND, const __u8 * buffer, yaffs_ExtendedTags * tags) argument
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DGZipStream.cs145 /// <param name="buffer">The destination data buffer</param>
146 /// <param name="offset">The index of the first destination byte in <c>buffer</c></param>
149 /// <exception cref="ArgumentNullException">If <c>buffer</c> is null</exception>
151 /// <exception cref="ArgumentException">If <c>offset</c> + <c>count</c> is &gt; buffer.Length</exception>
154 public override int Read(byte[] buffer, int offset, int count) argument
157 if (buffer == null) throw new ArgumentNullException();
159 if ((offset+count) > buffer.Length) throw new ArgumentException();
162 GCHandle h = GCHandle.Alloc(buffer, GCHandleType.Pinned);
191 /// <param name="buffer"></para
199 Write(byte[] buffer, int offset, int count) argument
[all...]
/external/zlib/src/contrib/iostream/
H A Dzfstream.h64 gzfilebuf buffer; member in class:gzfilestream_common
/external/zlib/src/contrib/iostream3/
H A Dzfstream.h20 * @brief Gzipped file stream buffer class.
96 * @brief Number of characters available in stream buffer.
99 * This indicates number of characters in get area of stream buffer.
110 * buffer. Always buffered.
117 * @param c Extra character to add to buffer contents.
120 * This actually writes characters in stream buffer to
128 * @brief Installs external stream buffer.
129 * @param p Pointer to char buffer.
130 * @param n Size of external buffer.
140 * @brief Flush stream buffer t
207 char_type* buffer; member in class:gzfilebuf
[all...]
/external/zlib/src/contrib/minizip/
H A Dminiunz.c141 char *buffer ; local
148 buffer = (char*)malloc(len+1);
149 if (buffer==NULL)
154 strcpy(buffer,newdir);
156 if (buffer[len-1] == '/') {
157 buffer[len-1] = '\0';
159 if (mymkdir(buffer) == 0)
161 free(buffer);
165 p = buffer+1;
174 if ((mymkdir(buffer)
[all...]
H A Dmztools.c260 char buffer[8192]; local
261 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) {
262 if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) {
/external/zlib/src/contrib/untgz/
H A Duntgz.c91 char buffer[BLOCKSIZE]; member in union:tar_buffer
134 static char buffer[1024]; local
137 strcpy(buffer,arcname);
138 origlen = strlen(buffer);
142 strcpy(buffer+origlen,TGZsuffix[i]);
143 if (access(buffer,F_OK) == 0)
144 return buffer;
330 char *buffer = strdup(newdir); local
332 int len = strlen(buffer);
335 free(buffer);
388 union tar_buffer buffer; local
[all...]
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp253 /*you can both convert from vector to buffer&size and vica versa. If you use
254 init_buffer to take over a buffer and size, it is not needed to use cleanup*/
255 static void ucvector_init_buffer(ucvector* p, unsigned char* buffer, size_t size) argument
257 p->data = buffer;
319 unsigned lodepng_read32bitInt(const unsigned char* buffer) argument
321 return (buffer[0] << 24) | (buffer[1] << 16) | (buffer[2] << 8) | buffer[3];
325 /*buffer mus
326 lodepng_set32bitInt(unsigned char* buffer, unsigned value) argument
336 lodepng_add32bitInt(ucvector* buffer, unsigned value) argument
377 lodepng_save_file(const unsigned char* buffer, size_t buffersize, const char* filename) argument
3213 getPixelColorsRGBA8(unsigned char* buffer, size_t numpixels, unsigned has_alpha, const unsigned char* in, const LodePNGColorMode* mode, unsigned fix_png) argument
4808 unsigned char* buffer; local
5885 unsigned char* buffer; local
6041 load_file(std::vector<unsigned char>& buffer, const std::string& filename) argument
6056 save_file(const std::vector<unsigned char>& buffer, const std::string& filename) argument
6068 unsigned char* buffer = 0; local
6090 unsigned char* buffer = 0; local
6139 unsigned char* buffer; local
6163 unsigned char* buffer = NULL; local
6185 std::vector<unsigned char> buffer; local
6196 unsigned char* buffer; local
6219 unsigned char* buffer; local
6243 std::vector<unsigned char> buffer; local
[all...]
H A Dlodepng_util.cpp541 if(p + LEN > inlength) { error = 23; return; } //error: reading outside of in buffer
581 //IDAT data is put at the start of the in buffer
584 //error: size of the in buffer too small to contain next chunk
588 //error: size of the in buffer too small to contain next chunk
607 std::vector<unsigned char> out; //now the out buffer will be filled
642 unsigned long read32bitInt(const unsigned char* buffer) argument
644 return (buffer[0] << 24) | (buffer[1] << 16) | (buffer[2] << 8) | buffer[
[all...]
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dpitch_filter.c86 * buffer : a buffer where the sum of previous inputs and outputs
105 double buffer[PITCH_INTBUFFSIZE + QLOOKAHEAD]; member in struct:__anon33444
130 * out_data : pointer to a buffer where the filtered signal is written to.
131 * out_dg : [only used in kPitchFilterPreGain] pointer to a buffer
143 /* Index of |parameters->buffer| where the output is written to. */
145 /* Index of |parameters->buffer| where samples are read for fractional-lag
157 sum += parameters->buffer[pos_lag + m] * parameters->interpol_coeff[m];
202 /* Subtract from input and update buffer. */
204 parameters->buffer[po
[all...]
H A Dstructs.h101 //data buffer for pitch filter
115 //data buffer
116 double buffer[PITCH_WLPCBUFLEN]; member in struct:__anon33449
240 /* ms remaining in buffer when next packet will be sent */
/external/webrtc/src/modules/audio_processing/aec/
H A Daec_resampler.c27 short buffer[kResamplerBufferSize]; member in struct:__anon33472
55 memset(obj->buffer, 0, sizeof(obj->buffer));
91 memcpy(&obj->buffer[FRAME_LEN + kResamplingDelay],
100 y = &obj->buffer[FRAME_LEN]; // Point at current frame
127 // Shift buffer
128 memmove(obj->buffer,
129 &obj->buffer[size],
/external/webrtc/src/modules/audio_processing/test/testsupport/
H A Dframe_reader_unittest.cc57 WebRtc_UWord8 buffer[3]; local
58 bool result = frame_reader_->ReadFrame(buffer);
60 ASSERT_EQ(kInputFileContents[0], buffer[0]);
61 ASSERT_EQ(kInputFileContents[1], buffer[1]);
62 ASSERT_EQ(kInputFileContents[2], buffer[2]);
66 WebRtc_UWord8 buffer[3]; local
68 ASSERT_FALSE(file_reader.ReadFrame(buffer));
H A Dframe_writer_unittest.cc47 WebRtc_UWord8 buffer[kFrameLength]; local
48 memset(buffer, 9, kFrameLength); // Write lots of 9s to the buffer
49 bool result = frame_writer_->WriteFrame(buffer);
58 WebRtc_UWord8 buffer[3]; local
60 ASSERT_FALSE(frame_writer.WriteFrame(buffer));
/external/webrtc/src/system_wrappers/source/android/
H A Dcpu-features.c65 /* Read the content of /proc/cpuinfo into a user-provided buffer.
71 read_file(const char* pathname, char* buffer, size_t buffsize) argument
80 len = read(fd, buffer, buffsize);
95 extract_cpuinfo_field(char* buffer, int buflen, const char* field) argument
98 char* bufend = buffer + buflen;
105 p = buffer;
106 bufend = buffer + buflen;
112 if (p == buffer || p[-1] == '\n')
130 /* Copy the line into a heap-allocated buffer */
146 count_cpuinfo_field(char* buffer, in argument
[all...]
/external/webrtc/src/system_wrappers/source/
H A Dtrace_posix.cc60 struct tm buffer; local
62 localtime_r(&systemTimeHighRes.tv_sec, &buffer);
107 char buffer[26]; // man ctime says buffer should have room for >=26 bytes. local
108 sprintf(traceMessage, "Local Date: %s", ctime_r(&t, buffer));
/external/webrtc/test/testsupport/
H A Dframe_reader_unittest.cc57 WebRtc_UWord8 buffer[3]; local
58 bool result = frame_reader_->ReadFrame(buffer);
60 ASSERT_EQ(kInputFileContents[0], buffer[0]);
61 ASSERT_EQ(kInputFileContents[1], buffer[1]);
62 ASSERT_EQ(kInputFileContents[2], buffer[2]);
66 WebRtc_UWord8 buffer[3]; local
68 ASSERT_FALSE(file_reader.ReadFrame(buffer));
H A Dframe_writer_unittest.cc47 WebRtc_UWord8 buffer[kFrameLength]; local
48 memset(buffer, 9, kFrameLength); // Write lots of 9s to the buffer
49 bool result = frame_writer_->WriteFrame(buffer);
58 WebRtc_UWord8 buffer[3]; local
60 ASSERT_FALSE(frame_writer.WriteFrame(buffer));
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dmd4-internal.c20 u8 buffer[MD4_BLOCK_LENGTH]; /* input buffer */ member in struct:MD4Context
93 * Set bit count to 0 and buffer to mysterious initialization constants.
105 * Update context to reflect the concatenation of another buffer full
121 os_memcpy(ctx->buffer + have, input, need);
122 MD4Transform(ctx->state, ctx->buffer);
138 os_memcpy(ctx->buffer + have, input, len);

Completed in 424 milliseconds

1234567891011>>