Searched refs:datasize (Results 1 - 25 of 35) sorted by relevance

12

/external/opencv3/modules/ml/test/
H A Dtest_svmtrainauto.cpp59 int datasize = 100; local
60 cv::Mat samples = cv::Mat::zeros( datasize, 2, CV_32FC1 );
61 cv::Mat responses = cv::Mat::zeros( datasize, 1, CV_32S );
64 for (int i = 0; i < datasize; ++i)
/external/curl/lib/
H A Dhttp_chunks.h86 curl_off_t datasize; member in struct:Curl_chunker
H A Dhttp_chunks.c161 ch->datasize=curlx_strtoofft(ch->hexbuffer, &endptr, 16);
162 if((ch->datasize == CURL_OFF_T_MAX) && (errno == ERANGE))
173 if(0 == ch->datasize) {
186 /* We expect 'datasize' of data. We have 'length' right now, it can be
187 more or less than 'datasize'. Get the smallest piece.
189 piece = curlx_sotouz((ch->datasize >= length)?length:ch->datasize);
236 ch->datasize -= piece; /* decrease amount left to expect */
240 if(0 == ch->datasize)
H A Dpipeline.c82 (curl_off_t)conn->chunk.datasize > chunk_penalty_size)
88 conn->chunk.datasize, penalized?"TRUE":"FALSE");
/external/clang/lib/AST/
H A DRecordLayout.cpp34 CharUnits datasize,
37 : Size(size), DataSize(datasize), Alignment(alignment),
52 CharUnits datasize,
65 : Size(size), DataSize(datasize), Alignment(alignment),
31 ASTRecordLayout(const ASTContext &Ctx, CharUnits size, CharUnits alignment, CharUnits requiredAlignment, CharUnits datasize, const uint64_t *fieldoffsets, unsigned fieldcount) argument
47 ASTRecordLayout(const ASTContext &Ctx, CharUnits size, CharUnits alignment, CharUnits requiredAlignment, bool hasOwnVFPtr, bool hasExtendableVFPtr, CharUnits vbptroffset, CharUnits datasize, const uint64_t *fieldoffsets, unsigned fieldcount, CharUnits nonvirtualsize, CharUnits nonvirtualalignment, CharUnits SizeOfLargestEmptySubobject, const CXXRecordDecl *PrimaryBase, bool IsPrimaryBaseVirtual, const CXXRecordDecl *BaseSharingVBPtr, bool HasZeroSizedSubObject, bool LeadsWithZeroSizedBase, const BaseOffsetsMapTy& BaseOffsets, const VBaseOffsetsMapTy& VBaseOffsets) argument
/external/kernel-headers/original/uapi/linux/
H A Dcycx_cfm.h60 * @datasize - configuration data size
73 unsigned long datasize; member in struct:cycx_fw_info
/external/zopfli/src/zopfli/
H A Dlz77.h99 void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
H A Dlz77.c95 void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos, argument
101 assert(pos + length <= datasize);
/external/opencv3/modules/core/src/
H A Dcuda_host_mem.cpp222 size_t datasize = alignSize(nettosize, (int)sizeof(*refcount));
228 case PAGE_LOCKED: cudaSafeCall( cudaHostAlloc(&ptr, datasize, cudaHostAllocDefault) ); break;
229 case SHARED: cudaSafeCall( cudaHostAlloc(&ptr, datasize, cudaHostAllocMapped) ); break;
230 case WRITE_COMBINED: cudaSafeCall( cudaHostAlloc(&ptr, datasize, cudaHostAllocWriteCombined) ); break;
/external/clang/include/clang/AST/
H A DRecordLayout.h140 CharUnits datasize, const uint64_t *fieldoffsets,
150 CharUnits datasize,
/external/pdfium/third_party/libopenjpeg20/
H A Dt1.h110 OPJ_UINT32 datasize; member in struct:opj_t1
H A Dt1.c1169 OPJ_UINT32 datasize=w * h; local
1174 if(datasize > t1->datasize){
1176 t1->data = (OPJ_INT32*) opj_aligned_malloc(datasize * sizeof(OPJ_INT32));
1181 t1->datasize=datasize;
1183 memset(t1->data,0,datasize * sizeof(OPJ_INT32));
/external/elfutils/src/
H A Dsize.c530 GElf_Off datasize = 0; local
554 datasize += shdr->sh_size;
560 ddigits - 2, datasize,
562 ddigits - 2, textsize + datasize + bsssize,
563 xdigits - 2, textsize + datasize + bsssize,
570 total_datasize += datasize;
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_fontmap.cpp1548 FX_DWORD datasize = 0; local
1551 datasize = pFont->m_FontOffset ? 0 : pFont->m_FileSize;
1553 datasize = pFont->m_FontOffset ? pFont->m_FileSize : 0;
1561 datasize = GET_TT_LONG(p + 12);
1566 if (!datasize || size < datasize)
1567 return datasize;
1574 FXSYS_fread(buffer, datasize, 1, pFile) != 1) {
1575 datasize = 0;
1578 return datasize;
[all...]
/external/valgrind/cachegrind/
H A Dcg_main.c895 void addEvent_Dr ( CgState* cgs, InstrInfo* inode, Int datasize, IRAtom* ea ) argument
899 tl_assert(datasize >= 1 && datasize <= min_line_size);
909 evt->Ev.Dr.szB = datasize;
915 void addEvent_Dw ( CgState* cgs, InstrInfo* inode, Int datasize, IRAtom* ea ) argument
921 tl_assert(datasize >= 1 && datasize <= min_line_size);
930 && lastEvt->Ev.Dr.szB == datasize
946 evt->Ev.Dw.szB = datasize;
953 Int datasize, IRAto
952 addEvent_D_guarded( CgState* cgs, InstrInfo* inode, Int datasize, IRAtom* ea, IRAtom* guard, Bool isWrite ) argument
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
H A DH264TrackImpl.java590 int datasize = is.available();
592 while (read < datasize) {
612 if (datasize - read >= payloadSize) {
701 read = datasize;
/external/opencv3/apps/createsamples/
H A Dutility.cpp843 size_t datasize = 0; local
870 datasize = 0;
885 datasize += sizeof( char ) * (strlen( &(full[0]) ) + 1);
892 datasize += sizeof( *data ) + sizeof( char* ) * count;
893 data = (CvBackgroundData*) cvAlloc( datasize );
894 memset( (void*) data, 0, datasize );
973 size_t datasize = 0; local
1038 datasize = sizeof( uchar ) * img->width * img->height;
1039 reader->src = cvMat( img->height, img->width, CV_8UC1, (void*) cvAlloc( datasize ) );
1054 CV_8UC1, (void*) cvAlloc( datasize ) );
[all...]
/external/valgrind/callgrind/
H A Dmain.c617 void addEvent_Dr ( ClgState* clgs, InstrInfo* inode, Int datasize, IRAtom* ea ) argument
621 tl_assert(datasize >= 1);
623 tl_assert(datasize <= CLG_(min_line_size));
632 evt->Ev.Dr.szB = datasize;
638 void addEvent_Dw ( ClgState* clgs, InstrInfo* inode, Int datasize, IRAtom* ea ) argument
643 tl_assert(datasize >= 1);
645 tl_assert(datasize <= CLG_(min_line_size));
651 && lastEvt->Ev.Dr.szB == datasize
667 evt->Ev.Dw.szB = datasize;
674 Int datasize, IRAto
673 addEvent_D_guarded( ClgState* clgs, InstrInfo* inode, Int datasize, IRAtom* ea, IRAtom* guard, Bool isWrite ) argument
[all...]
/external/zlib/src/contrib/minizip/
H A Dzip.c1519 short datasize = 0; local
1640 datasize += 8;
1644 datasize += 8;
1648 datasize += 8;
1650 if(datasize > 0)
1654 if((uLong)(datasize + 4) > zi->ci.size_centralExtraFree)
1665 zip64local_putValue_inmemory(p, datasize, 2); // DataSize
1689 zi->ci.size_centralExtraFree -= datasize + 4;
1690 zi->ci.size_centralheader += datasize + 4;
1693 zi->ci.size_centralExtra += datasize
[all...]
/external/curl/tests/
H A Dftpserver.pl1245 my $datasize = ($left > $chunksize) ? $chunksize : $left;
1247 if($datasize > 0) {
1248 logmsg "> Appending $datasize bytes to file\n";
1249 print FILE substr($line, 0, $datasize) if(!$nosave);
1250 $line = substr($line, $datasize);
1252 $received += $datasize;
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/
H A Drfc2217.py414 'datasize': TelnetSubnegotiation(self, 'datasize', SET_DATASIZE, SERVER_SET_DATASIZE),
479 self._rfc2217_port_settings['datasize'].set(struct.pack('!B', self._bytesize))
1134 (datasize,) = struct.unpack("!B", suboption[2:3])
1135 if datasize != 0:
1136 self.serial.bytesize = datasize
1143 self.logger.info("%s data size: %s" % (datasize and 'set' or 'get', self.serial.bytesize))
/external/opencv3/3rdparty/libtiff/
H A Dtif_dirread.c768 uint32 datasize; local
789 datasize=(*count)*typesize;
790 assert((tmsize_t)datasize>0);
796 if (datasize<=4)
797 _TIFFmemcpy(data,&direntry->tdir_offset,datasize);
804 err=TIFFReadDirEntryData(tif,(uint64)offset,(tmsize_t)datasize,data);
814 if (datasize<=8)
815 _TIFFmemcpy(data,&direntry->tdir_offset,datasize);
822 err=TIFFReadDirEntryData(tif,offset,(tmsize_t)datasize,data);
4299 uint64 datasize; local
[all...]
/external/pdfium/third_party/libtiff/
H A Dtif_dirread.c768 uint32 datasize; local
789 datasize=(*count)*typesize;
790 assert((tmsize_t)datasize>0);
796 if (datasize<=4)
797 _TIFFmemcpy(data,&direntry->tdir_offset,datasize);
804 err=TIFFReadDirEntryData(tif,(uint64)offset,(tmsize_t)datasize,data);
814 if (datasize<=8)
815 _TIFFmemcpy(data,&direntry->tdir_offset,datasize);
822 err=TIFFReadDirEntryData(tif,offset,(tmsize_t)datasize,data);
4296 uint64 datasize; local
[all...]
/external/opencv/cv/src/
H A DmycvHaarDetectObjects.cpp168 int datasize; local
244 datasize = sizeof(MyCvHidHaarClassifierCascade) +
250 CV_CALL( out = (MyCvHidHaarClassifierCascade*)cvAlloc( datasize ));
381 assert( (char*)haar_node_ptr - (char*)out <= datasize );
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp1600 static unsigned deflateNoCompression(ucvector* out, const unsigned char* data, size_t datasize) argument
1605 size_t i, j, numdeflateblocks = (datasize + 65534) / 65535;
1619 if(datasize - datapos < 65535) LEN = (unsigned)datasize - datapos;
1628 for(j = 0; j < 65535 && datapos < datasize; j++)
1702 size_t datasize = dataend - datapos; local
1738 if(!uivector_resize(&lz77_encoded, datasize)) ERROR_BREAK(83 /*alloc fail*/);
4985 static unsigned addChunk_IDAT(ucvector* out, const unsigned char* data, size_t datasize, argument
4993 error = zlib_compress(&zlibdata.data, &zlibdata.size, data, datasize, zlibsettings);
5648 static unsigned addUnknownChunks(ucvector* out, unsigned char* data, size_t datasize)
[all...]

Completed in 1619 milliseconds

12