/external/bzip2/ |
dlltest.c | 116 char buff[0x1000];
local 137 while((len=BZ2_bzread(BZ2fp_r,buff,0x1000))>0){
138 fwrite(buff,1,len,fp_w);
164 while((len=fread(buff,1,0x1000,fp_r))>0){
165 BZ2_bzwrite(BZ2fp_w,buff,len);
|
/external/libxml2/doc/examples/ |
tree2.c | 30 char buff[256]; local 83 sprintf(buff, "node%d", i); 84 node = xmlNewChild(root_node, NULL, BAD_CAST buff, NULL); 86 sprintf(buff, "node%d%d", i, j); 87 node1 = xmlNewChild(node, NULL, BAD_CAST buff, NULL);
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
recvmsg02.c | 40 static unsigned char buff[25]; variable 41 static const int bufflen = ARRAY_SIZE(buff); 55 .iov_base = buff, 56 .iov_len = sizeof(buff), 90 if ((R == bufflen) && !memcmp(msg, buff, R))
|
/hardware/interfaces/automotive/evs/1.0/default/ |
EvsCamera.cpp | 423 BufferDesc buff = {}; local 424 buff.width = mWidth; 425 buff.height = mHeight; 426 buff.stride = mStride; 427 buff.format = mFormat; 428 buff.usage = mUsage; 429 buff.bufferId = idx; 430 buff.memHandle = mBuffers[idx].handle; 433 fillTestFrame(buff); 436 auto result = mStream->deliverFrame(buff); [all...] |
/hardware/qcom/audio/hal/audio_extn/ |
hwdep_cal.c | 55 void *buff; member in struct:param_data 102 calib.buff = malloc(calib.buff_size); 107 free(calib.buff); 110 codec_buffer.buffer = calib.buff; 117 free(calib.buff);
|
/packages/services/BuiltInPrintService/jni/plugins/ |
lib_pcl.h | 52 #define _PAGE_DATA(JOB_INFO, BUFF, LEN) \ 57 debug_ifc->debug_page_data(JOB_INFO->job_handle, BUFF, LEN); \ 79 #define _WRITE(JOB_INFO, BUFF, LEN) \ 84 debug_ifc->debug_job_data(JOB_INFO->job_handle, (const unsigned char *)BUFF, LEN); \ 86 JOB_INFO->print_ifc->send_data(JOB_INFO->print_ifc, BUFF, LEN); \
|
/external/llvm/lib/IR/ |
GCOV.cpp | 127 bool GCOVFunction::readGCNO(GCOVBuffer &Buff, GCOV::GCOVVersion Version) { 129 if (!Buff.readInt(Dummy)) 131 if (!Buff.readInt(Ident)) 133 if (!Buff.readInt(Checksum)) 137 if (!Buff.readInt(CfgChecksum)) 145 if (!Buff.readString(Name)) 147 if (!Buff.readString(Filename)) 149 if (!Buff.readInt(LineNumber)) 153 if (!Buff.readBlockTag()) { 158 if (!Buff.readInt(BlockCount) [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/ |
RobolectricTest.java | 35 private ByteArrayOutputStream buff; field in class:RobolectricTest 44 buff = new ByteArrayOutputStream(); 45 PrintStream testOut = new PrintStream(buff); 64 String output = buff.toString(); 66 buff.reset(); 70 output = buff.toString(); 78 String output = buff.toString();
|
/system/sepolicy/tools/ |
version_policy.c | 35 char *buff = NULL; local 49 buff = malloc(file_size); 50 if (buff == NULL) { 55 rc = fread(buff, file_size, 1, file); 65 rc = cil_add_file(*db, path, buff, file_size); 70 free(buff); 74 free(buff);
|
/tools/dexter/slicer/ |
dex_ir_builder.cc | 69 slicer::Buffer buff; local 70 buff.PushULeb128(len); 71 buff.Push(cstr, len + 1); 72 buff.Seal(1); 76 ir_string->data = slicer::MemView(buff.data(), buff.size()); 86 dex_ir_->AttachBuffer(std::move(buff));
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
Parser.java | 529 public void adup(char[] buff, int offset, int length) throws SAXException { 535 public void aname(char[] buff, int offset, int length) throws SAXException { 539 theAttributeName = makeName(buff, offset, length).toLowerCase(Locale.ROOT); 543 public void aval(char[] buff, int offset, int length) throws SAXException { 545 String value = new String(buff, offset, length); 606 public void entity(char[] buff, int offset, int length) throws SAXException { 607 theEntity = lookupEntity(buff, offset, length); 612 private int lookupEntity(char[] buff, int offset, int length) { 616 // System.err.println("%% Got entity [" + new String(buff, offset, length) + "]"); 617 if (buff[offset] == '#') [all...] |
/external/libxml2/ |
testOOM.c | 173 struct buffer *buff = data; local 191 if (buff != NULL) { 195 buffer_add_string (buff, elementNames[type]); 200 buffer_add_string (buff, s); 204 buffer_add_string (buff, s); 205 buffer_add_char (buff, '='); 208 buffer_add_string (buff, s); 215 buffer_add_string (buff, s); 297 buffer_dump (b, ".OOM.buff");
|
/device/google/cuttlefish_common/guest/hals/camera/ |
JpegCompressor.cpp | 44 typedef void (*GetCompressedImageFunc)(JpegStub* stub, void* buff); 86 void NV21JpegCompressor::getCompressedImage(void* buff) { 89 (*f)(&mStub, buff);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
loslib.c | 106 char buff[LUA_TMPNAMBUFSIZE];
local 108 lua_tmpnam(buff, err);
111 lua_pushstring(L, buff);
171 static const char *checkoption (lua_State *L, const char *conv, char *buff) {
176 buff[1] = *conv;
178 buff[2] = '\0'; /* end buffer */
183 buff[2] = *(conv + 1); /* valid two-char conversion specifier */
184 buff[3] = '\0'; /* end buffer */
229 char buff[200]; /* should be big enough for any conversion result */
local 231 reslen = strftime(buff, sizeof(buff), cc, stm); [all...] |
/external/autotest/server/cros/res_resource_monitor/ |
top_field_order_changed.txt | 4 KiB Mem : 24508128 free, 23433516 total, 499784 used, 574828 buff/cache 14 KiB Mem : 24508128 total, 23433372 free, 502088 used, 572668 buff/cache 25 KiB Mem: 24508128 free,-1 used,502088 total,572668 buff/cache
|
/external/iproute2/rdma/ |
rdma.c | 60 rd->buff = malloc(MNL_SOCKET_BUFFER_SIZE); 61 if (!rd->buff) 77 free(rd->buff);
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/ |
cpuset_mem_hog.c | 53 char buff[BUFFER_SIZE]; local 64 while ((ret = read(fd, buff, sizeof(buff))) > 0) ;
|
/external/lzma/CPP/7zip/Crypto/ |
RandGen.cpp | 117 Byte buff[SHA256_DIGEST_SIZE];
local 118 Sha256_Final(&hash, buff);
120 *data++ = buff[i];
|
/external/selinux/libsepol/cil/src/ |
cil_log.c | 55 char buff[MAX_LOG_SIZE]; local 56 vsnprintf(buff, MAX_LOG_SIZE, msg, args); 57 (*cil_log_handler)(cil_log_level, buff);
|
/external/speex/libspeex/ |
scal.c | 72 float *buff; member in struct:SpeexDecorrState_ 96 st->buff = speex_alloc(channels*2*frame_size*sizeof(float)); 156 float *buff; local 162 buff = st->buff+ch*2*st->frame_size; 169 buff[i] = buff[i+st->frame_size]; 171 buff[i+st->frame_size] = in[i*st->channels+ch]; 173 x = buff+st->frame_size; 229 frame[i] = buff[i] [all...] |
/external/syslinux/com32/lua/src/ |
loslib.c | 109 char buff[LUA_TMPNAMBUFSIZE]; local 111 lua_tmpnam(buff, err); 114 lua_pushstring(L, buff); 176 static const char *checkoption (lua_State *L, const char *conv, char *buff) { 181 buff[1] = *conv; 183 buff[2] = '\0'; /* end buffer */ 188 buff[2] = *(conv + 1); /* valid two-char conversion specifier */ 189 buff[3] = '\0'; /* end buffer */ 234 char buff[200]; /* should be big enough for any conversion result */ local 236 reslen = strftime(buff, sizeof(buff), cc, stm) [all...] |
/prebuilts/misc/common/swig/include/2.0.11/typemaps/ |
cstrings.swg | 22 * %cstring_input_binary(Char *buff, int size); 23 * void foo(Char *buff, int size) { 183 %typemap(in,noblock=1,fragment=SWIG_AsVal_frag(size_t)) (TYPEMAP, SIZE) (int res, size_t size, Char *buff = 0) { 188 buff= %new_array(size+1, Char); 190 $1 = %static_cast(buff, $1_ltype); 193 if (buff$argnum) %delete_array(buff$argnum); 214 %typemap(in,noblock=1,fragment=SWIG_AsVal_frag(size_t)) (TYPEMAP, SIZE) (int res, size_t n, Char *buff = 0, $*2_ltype size) { 219 buff= %new_array(n+1, Char); 220 $1 = %static_cast(buff, $1_ltype) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/templates/ |
TemplatedInputStream.java | 62 StringBuffer buff = new StringBuffer(); local 64 buff.append((char) c); 65 String str = mMap.get(buff.toString());
|
/cts/tests/tests/media/libndkaudio/ |
AudioSink.h | 27 virtual bool put(float * buff, int numFrames, int numChannels) =0;
|
AudioSource.h | 37 virtual int getData(long time, float * buff, int numFrames,
|