/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/src/ |
vidc_color_converter.cpp | 155 bool omx_c2d_conv::get_buffer_size(int port,unsigned int &buf_size) 166 buf_size = bufferreq.size;
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
nj_lib.h | 343 NJ_EXTERN NJ_INT16 njx_get_stroke(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf_size); 344 NJ_EXTERN NJ_INT16 njx_get_candidate(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf_size);
|
/system/core/adb/ |
line_printer.cpp | 90 COORD buf_size = { csbi.dwSize.X, 1 }; local 104 WriteConsoleOutput(console_, &char_data[0], buf_size, zero_zero, &target);
|
sysdeps_win32_test.cpp | 115 void TestParseCompleteUTF8(const char* buf, const size_t buf_size, 119 const size_t complete_bytes = internal::ParseCompleteUTF8(buf, buf + buf_size,
|
/system/core/libziparchive/ |
zip_archive.cc | 770 virtual bool Append(uint8_t* buf, size_t buf_size) = 0; 787 virtual bool Append(uint8_t* buf, size_t buf_size) override { 788 if (bytes_written_ + buf_size > size_) { 790 size_, bytes_written_ + buf_size); 794 memcpy(buf_ + bytes_written_, buf, buf_size); 795 bytes_written_ += buf_size; 866 virtual bool Append(uint8_t* buf, size_t buf_size) override { 867 if (total_bytes_written_ + buf_size > declared_length_) { 869 declared_length_, total_bytes_written_ + buf_size); 873 const bool result = android::base::WriteFully(fd_, buf, buf_size); [all...] |
/external/ltp/testcases/kernel/ipc/ipc_stress/ |
message_queue_test_01.c | 78 * BUF_SIZE: size of message buffer... 83 #define BUF_SIZE 256 150 (struct msgbuf *)calloc((size_t) (sizeof(struct msgbuf) + BUF_SIZE), 155 if (msgrcv(msqid, (void *)buf, (size_t) BUF_SIZE, FIRST_MSG, 0) < 0) { 204 (struct msgbuf *)calloc((size_t) (sizeof(struct msgbuf) + BUF_SIZE),
|
/external/opencv/cxcore/src/ |
cxarithm.cpp | 425 int buf_size, elem_size; local 445 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; 446 if( buf_size > CV_MAX_LOCAL_SIZE ) 448 CV_CALL( buffer = (uchar*)cvAlloc( buf_size )); 452 buffer = (uchar*)cvStackAlloc( buf_size ); 669 int buf_size, elem_size; local 689 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; 690 if( buf_size > CV_MAX_LOCAL_SIZE ) 692 CV_CALL( buffer = (uchar*)cvAlloc( buf_size )); 696 buffer = (uchar*)cvStackAlloc( buf_size ); 897 int buf_size, elem_size; local 1141 int buf_size, elem_size; local [all...] |
cxmatrix.cpp | 849 int buf_size = size.width*size.height*CV_ELEM_SIZE(worktype); local 1104 int buf_size = size.width*size.height*CV_ELEM_SIZE(worktype); local 1403 int buf_size = size.width*size.height*CV_ELEM_SIZE(worktype); local 1769 int block_count0, block_count, buf_size, elem_size; local 1906 int block_count0, block_count, buf_size, elem_size; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
pystrtod.c | 414 ensure_minimum_exponent_length(char* buffer, size_t buf_size)
468 < buffer + buf_size) {
528 ensure_decimal_point(char* buffer, size_t buf_size, int precision)
580 if (buf_len + insert_count + 1 >= buf_size) {
600 assert(p <= buf_size+buffer);
601 buf_avail = buf_size+buffer-p;
623 * @buf_size: The length of the buffer.
641 size_t buf_size,
693 PyOS_snprintf(buffer, buf_size, format, d);
706 ensure_minimum_exponent_length(buffer, buf_size);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
pystrtod.c | 414 ensure_minimum_exponent_length(char* buffer, size_t buf_size)
468 < buffer + buf_size) {
528 ensure_decimal_point(char* buffer, size_t buf_size, int precision)
580 if (buf_len + insert_count + 1 >= buf_size) {
600 assert(p <= buf_size+buffer);
601 buf_avail = buf_size+buffer-p;
623 * @buf_size: The length of the buffer.
641 size_t buf_size,
693 PyOS_snprintf(buffer, buf_size, format, d);
706 ensure_minimum_exponent_length(buffer, buf_size);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
cStringIO.c | 59 Py_ssize_t buf_size;
member in struct:__anon5420 407 if (newpos >= oself->buf_size) {
408 size_t newsize = oself->buf_size;
419 oself->buf_size = (Py_ssize_t)newsize;
469 self->pos = self->string_size = self->buf_size = 0;
595 self->buf_size = 0;
600 self->buf_size=size;
|
/external/guava/guava/src/com/google/common/io/ |
ByteSource.java | 61 private static final int BUF_SIZE = 0x1000; // 4K 196 private static final byte[] countBuffer = new byte[BUF_SIZE]; 311 byte[] buf1 = new byte[BUF_SIZE]; 312 byte[] buf2 = new byte[BUF_SIZE]; 319 int read1 = ByteStreams.read(in1, buf1, 0, BUF_SIZE); 320 int read2 = ByteStreams.read(in2, buf2, 0, BUF_SIZE); 323 } else if (read1 != BUF_SIZE) {
|
/external/libpng/contrib/examples/ |
simpleover.c | 422 size_t buf_size, tmp; local 431 buf_size = sizeof (png_uint_16 [4]); 432 buf_size *= sprites[nsprites].width; 433 buf_size *= sprites[nsprites].height; 436 tmp = buf_size; 442 sprites[nsprites].buffer = malloc(buf_size); 444 memset(sprites[nsprites].buffer, 0, buf_size);
|
/cts/tests/camera/libctscamera2jni/ |
dng-validate-jni.cpp | 424 const size_t BUF_SIZE = 256; 425 char readBuf[BUF_SIZE]; 428 while((count = read(pipeFds[0], readBuf, BUF_SIZE)) > 0) {
|
/external/libexif/libexif/ |
exif-loader.c | 408 unsigned int *buf_size) 422 if (buf_size) 423 *buf_size = s;
|
/external/opencv/cv/src/ |
cvcanny.cpp | 99 int buf_size= 0; local 100 IPPI_CALL( icvCannyGetSize_p( size, &buf_size )); 101 CV_CALL( buffer = cvAlloc( buf_size ));
|
/external/valgrind/coregrind/m_coredump/ |
coredump-solaris.c | 119 void *buf, SizeT buf_size, const HChar *part) 121 Int ret = VG_(write)(fd, buf, buf_size); 127 "Error=%d.\n", part, filename, buf, buf_size, -ret); 194 static void fill_platform(HChar *buf, UInt buf_size) 197 vg_assert(buf_size >= 1); 202 (UWord) buf, buf_size); 205 static void fill_zonename(HChar *buf, UInt buf_size) 208 vg_assert(buf_size >= 1); 213 VKI_ZONE_ATTR_NAME, (UWord) buf, buf_size); 261 static void fill_scheduling_class(HChar *buf, SizeT buf_size) [all...] |
/external/vixl/test/aarch32/config/ |
template-simulator-aarch32.cc.in | 44 #define BUF_SIZE (4096) 49 #define SETUP() MacroAssembler masm(BUF_SIZE) 65 MacroAssembler masm(BUF_SIZE); \
|
/art/dexlayout/ |
dexlayout.cc | 364 size_t buf_size) { 365 std::unique_ptr<char[]> buf(new char[buf_size]); 408 outSize = snprintf(buf.get(), buf_size, "<unknown-index>"); 413 outSize = snprintf(buf.get(), buf_size, "<no-index>"); 418 outSize = snprintf(buf.get(), buf_size, "%s // type@%0*x", tp, width, index); 420 outSize = snprintf(buf.get(), buf_size, "<type?> // type@%0*x", width, index); 426 outSize = snprintf(buf.get(), buf_size, "\"%s\" // string@%0*x", st, width, index); 428 outSize = snprintf(buf.get(), buf_size, "<string?> // string@%0*x", width, index); 437 outSize = snprintf(buf.get(), buf_size, "%s.%s:%s // method@%0*x", 440 outSize = snprintf(buf.get(), buf_size, "<method?> // method@%0*x", width, index) [all...] |
/art/tools/dmtracedump/ |
createtesttrace.cc | 74 #define BUF_SIZE 1024 75 char buf[BUF_SIZE]; 128 while (fgets(buf, BUF_SIZE, inputFp)) { 158 while (fgets(buf, BUF_SIZE, inputFp)) {
|
/bionic/libc/kernel/uapi/linux/ |
omap3isp.h | 86 __u32 buf_size; member in struct:omap3isp_h3a_aewb_config 109 __u32 buf_size; member in struct:omap3isp_stat_data 146 __u32 buf_size; member in struct:omap3isp_hist_config 197 __u32 buf_size; member in struct:omap3isp_h3a_af_config
|
/development/ndk/platforms/android-21/include/linux/ |
omap3isp.h | 86 __u32 buf_size; member in struct:omap3isp_h3a_aewb_config 109 __u32 buf_size; member in struct:omap3isp_stat_data 146 __u32 buf_size; member in struct:omap3isp_hist_config 197 __u32 buf_size; member in struct:omap3isp_h3a_af_config
|
/external/ipsec-tools/src/racoon/ |
nattraversal.c | 128 size_t buf_size, addr_size; local 149 buf_size = 2 * sizeof (cookie_t); /* CKY-I + CKY+R */ 150 buf_size += addr_size + 2; /* Address + Port */ 152 if ((buf = vmalloc (buf_size)) == NULL)
|
/external/libvncserver/libvncserver/ |
httpd.c | 94 #define BUF_SIZE 32768 96 static char buf[BUF_SIZE]; 455 int n = fread(buf, 1, BUF_SIZE-1, fd); 470 BUF_SIZE, but it's reasonable to assume that .vnc files will
|
/external/sonivox/jet_tools/JetCreator/ |
eas.py | 468 def RegisterMetaDataCallback (self, func, buf, buf_size, user_data):
476 result = eas_dll.EAS_RegisterMetaDataCallback(self.eas.handle, self.handle, callback, buf, buf_size, user_data)
603 self.buf_size = self.config.mixBufferSize
775 count = int(secs * float(self.config.sampleRate) / float(self.buf_size) + 0.5)
788 result = eas_dll.EAS_RenderWaveOut(self.handle, byref(self.audio_buffer), self.buf_size, byref(samplesRendered))
898 if (aux_mixer is not None) and (aux_mixer.buf_size > self.config.mixBufferSize):
899 buf_size = aux_mixer.buf_size
901 buf_size = self.config.mixBufferSize
904 AudioBufferType = c_ubyte * (2 * buf_size * self.config.numChannels) [all...] |