Home
last modified time | relevance | path

Searched refs:maxsize (Results 1 – 25 of 57) sorted by relevance

123

/external/elfutils/libelf/
Delf_begin.c53 file_read_ar (int fildes, void *map_address, off_t offset, size_t maxsize, in file_read_ar() argument
59 elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, in file_read_ar()
76 size_t maxsize) in get_shnum() argument
147 if (unlikely (ehdr.e32->e_shoff >= maxsize) in get_shnum()
148 || unlikely (maxsize - ehdr.e32->e_shoff < sizeof (Elf32_Shdr))) in get_shnum()
185 if (ehdr.e32->e_shoff > maxsize in get_shnum()
186 || maxsize - ehdr.e32->e_shoff < sizeof (Elf32_Shdr) * result) in get_shnum()
196 if (unlikely (ehdr.e64->e_shoff >= maxsize) in get_shnum()
197 || unlikely (ehdr.e64->e_shoff + sizeof (Elf64_Shdr) > maxsize)) in get_shnum()
237 if (ehdr.e64->e_shoff > maxsize in get_shnum()
[all …]
Dcommon.h71 allocate_elf (int fildes, void *map_address, off_t offset, size_t maxsize, in allocate_elf() argument
84 result->maximum_size = maxsize; in allocate_elf()
/external/eigen/test/
Dredux.cpp135 int maxsize = (std::min)(100,EIGEN_TEST_MAX_SIZE); in test_redux() local
136 TEST_SET_BUT_UNUSED_VARIABLE(maxsize); in test_redux()
144 …UBTEST_4( matrixRedux(MatrixXcf(internal::random<int>(1,maxsize), internal::random<int>(1,maxsize)… in test_redux()
145 …UBTEST_4( matrixRedux(ArrayXXcf(internal::random<int>(1,maxsize), internal::random<int>(1,maxsize)… in test_redux()
146 …UBTEST_5( matrixRedux(MatrixXd (internal::random<int>(1,maxsize), internal::random<int>(1,maxsize)… in test_redux()
147 …UBTEST_5( matrixRedux(ArrayXXd (internal::random<int>(1,maxsize), internal::random<int>(1,maxsize)… in test_redux()
148 …UBTEST_6( matrixRedux(MatrixXi (internal::random<int>(1,maxsize), internal::random<int>(1,maxsize)… in test_redux()
149 …UBTEST_6( matrixRedux(ArrayXXi (internal::random<int>(1,maxsize), internal::random<int>(1,maxsize)… in test_redux()
154 CALL_SUBTEST_5( vectorRedux(VectorXd(internal::random<int>(1,maxsize))) ); in test_redux()
155 CALL_SUBTEST_5( vectorRedux(ArrayXd(internal::random<int>(1,maxsize))) ); in test_redux()
[all …]
Dtriangular.cpp211 int maxsize = (std::min)(EIGEN_TEST_MAX_SIZE,20); in test_triangular() local
214 int r = internal::random<int>(2,maxsize); TEST_SET_BUT_UNUSED_VARIABLE(r) in test_triangular()
215 int c = internal::random<int>(2,maxsize); TEST_SET_BUT_UNUSED_VARIABLE(c) in test_triangular()
/external/opencv/cv/src/
Dcvcanny.cpp66 int mapstep, maxsize; in cvCanny() local
134 maxsize = MAX( 1 << 10, size.width*size.height/10 ); in cvCanny()
135 CV_CALL( stack_top = stack_bottom = (uchar**)cvAlloc( maxsize*sizeof(stack_top[0]) )); in cvCanny()
219 if( (stack_top - stack_bottom) + size.width > maxsize ) in cvCanny()
222 maxsize = MAX( maxsize * 3/2, maxsize + size.width ); in cvCanny()
223 CV_CALL( new_stack_bottom = (uchar**)cvAlloc( maxsize * sizeof(stack_top[0])) ); in cvCanny()
308 if( (stack_top - stack_bottom) + 8 > maxsize ) in cvCanny()
311 maxsize = MAX( maxsize * 3/2, maxsize + 8 ); in cvCanny()
312 CV_CALL( new_stack_bottom = (uchar**)cvAlloc( maxsize * sizeof(stack_top[0])) ); in cvCanny()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_build.c351 unsigned maxsize ) in tgsi_build_full_declaration() argument
357 if( maxsize <= size ) in tgsi_build_full_declaration()
372 if (maxsize <= size) in tgsi_build_full_declaration()
386 if (maxsize <= size) { in tgsi_build_full_declaration()
400 if (maxsize <= size) { in tgsi_build_full_declaration()
416 if( maxsize <= size ) in tgsi_build_full_declaration()
435 if (maxsize <= size) in tgsi_build_full_declaration()
449 if (maxsize <= size) { in tgsi_build_full_declaration()
465 if (maxsize <= size) { in tgsi_build_full_declaration()
547 unsigned maxsize ) in tgsi_build_full_immediate() argument
[all …]
Dtgsi_build.h64 unsigned maxsize );
78 unsigned maxsize );
92 unsigned maxsize );
109 unsigned maxsize );
/external/vboot_reference/utility/
Dchromeos-tpm-recovery-test105 maxsize=$(cat space.$index.size)
106 if [ $(($size > $maxsize)) -eq 1 ]; then
107 echo "size $size too large for space (max is $maxsize)"
118 maxsize=$(cat space.$index.size)
119 if [ $(($size > $maxsize)) -eq 1 ]; then
120 echo "size $size too large for space (max is $(($maxsize)))"
/external/boringssl/src/crypto/asn1/
Da_strnid.c134 tbl->minsize, tbl->maxsize); in ASN1_STRING_set_by_NID()
210 long minsize, long maxsize, unsigned long mask, in ASN1_STRING_TABLE_add() argument
232 if(maxsize != -1) tmp->maxsize = maxsize; in ASN1_STRING_TABLE_add()
Da_mbstr.c92 long minsize, long maxsize) in ASN1_mbstring_ncopy() argument
151 if((maxsize > 0) && (nchar > maxsize)) { in ASN1_mbstring_ncopy()
153 BIO_snprintf(strbuf, sizeof strbuf, "%ld", maxsize); in ASN1_mbstring_ncopy()
/external/opencv3/modules/imgproc/src/
Dcanny.cpp330 int maxsize = std::max(1 << 10, src.cols * (boundaries.end - boundaries.start) / 10); in operator ()() local
331 std::vector<uchar*> stack(maxsize); in operator ()()
455 if ((stack_top - stack_bottom) + src.cols > maxsize) in operator ()()
458 maxsize = std::max(maxsize * 3/2, sz + src.cols); in operator ()()
459 stack.resize(maxsize); in operator ()()
535 if ((stack_top - stack_bottom) + 8 > maxsize) in operator ()()
538 maxsize = maxsize * 3/2; in operator ()()
539 stack.resize(maxsize); in operator ()()
721 int maxsize = std::max(1 << 10, src.cols * src.rows / 10); in Canny() local
722 std::vector<uchar*> stack(maxsize); in Canny()
[all …]
/external/elfutils/tests/
Dshowptable.c123 size_t maxsize; in main() local
124 char *filedata = elf_rawfile (elf, &maxsize); in main()
126 if (filedata != NULL && phdr->p_offset < maxsize) in main()
/external/vboot_reference/firmware/lib/
Dvboot_audio.c67 uint32_t maxsize = CUSTOM_MUSIC_MAXSIZE; /* always <= flash size (8M) */ in VbGetDevMusicNotes() local
73 "maxsize is %d\n", use_short, hdr, maxsize)); in VbGetDevMusicNotes()
88 if (!hdr || maxsize < sizeof(VbDevMusic)) in VbGetDevMusicNotes()
100 maxnotes = 1 + (maxsize - sizeof(VbDevMusic)) / sizeof(VbDevMusicNote); in VbGetDevMusicNotes()
/external/svox/pico/lib/
Dpicoos.h102 … picoos_int32 * ind, picoos_char sepCh, picoos_char part[], picoos_int32 maxsize, picoos_uint8 * d…
238 …coos_emGetExceptionMessage(picoos_ExceptionManager this, picoos_char * msg, picoos_uint16 maxsize);
247 …sage(picoos_ExceptionManager this, picoos_uint8 warnNum, picoos_char * msg, picoos_uint16 maxsize);
344 picoos_bool picoos_Name(picoos_File f, picoos_char name[], picoos_uint32 maxsize);
521 picoos_char part[], picoos_int32 maxsize, picoos_uint8 * done);
529 …et_str (picoos_char * fromStr, picoos_uint32 * pos, picoos_char * toStr, picoos_objsize_t maxsize);
Dpicoos.c844 …icoos_emGetExceptionMessage(picoos_ExceptionManager this, picoos_char * msg, picoos_uint16 maxsize) in picoos_emGetExceptionMessage() argument
846 picoos_strlcpy(msg,this->curExceptionMessage,maxsize); in picoos_emGetExceptionMessage()
886 …Message(picoos_ExceptionManager this, picoos_uint8 index, picoos_char * msg, picoos_uint16 maxsize) in picoos_emGetWarningMessage() argument
889 picoos_strlcpy(msg,this->curWarningMessage[index],maxsize); in picoos_emGetWarningMessage()
1331 picoos_bool picoos_Name(picoos_File f, picoos_char name[], picoos_uint32 maxsize) in picoos_Name() argument
1336 done = (picoos_strlcpy(name, f->name,maxsize) < maxsize); in picoos_Name()
1993 …get_str (picoos_char * fromStr, picoos_uint32 * pos, picoos_char * toStr, picoos_objsize_t maxsize) in picoos_get_str() argument
2002 while ((fromStr[*pos] != NULLC) && (fromStr[*pos] > ' ') && (i < maxsize-1)) { in picoos_get_str()
2260 picoos_char part[], picoos_int32 maxsize, picoos_uint8 * done) in picoos_get_sep_part_str() argument
2273 if ((j < maxsize-1)) { in picoos_get_sep_part_str()
/external/doclava/src/com/google/doclava/
DClearPage.java189 final int maxsize = 64 * 1024; in copyFile() local
190 int size = sizel > maxsize ? maxsize : (int) sizel; in copyFile()
/external/libvorbis/lib/
Dbitrate.c171 long maxsize=(max_target_bits+(bi->reservoir_bits-bm->minmax_reservoir))/8; in vorbis_bitrate_addblock() local
174 if(oggpack_bytes(vbi->packetblob[choice])>maxsize){ in vorbis_bitrate_addblock()
176 oggpack_writetrunc(vbi->packetblob[choice],maxsize*8); in vorbis_bitrate_addblock()
/external/chromium-trace/catapult/third_party/html5lib-python/
Ddebug-info.py12 "maxsize": sys.maxsize
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.cc178 const size_t maxsize = dynstr_size - dyn->d_un.d_val; in ElfFileSoNameFromMappedFile() local
179 my_strlcpy(soname, str, maxsize < soname_size ? maxsize : soname_size); in ElfFileSoNameFromMappedFile()
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
D_compat.py26 MAX_INT = sys.maxsize
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dmsr_server_win.py52 python_is_64_bit = sys.maxsize > 2 ** 32
/external/libcxx/include/
Dctime40 size_t strftime(char* restrict s, size_t maxsize, const char* restrict format,
/external/autotest/client/site_tests/hardware_SAT/
Dhardware_SAT.py86 if sys.maxsize < 2**32 and mbytes > 2047:
/external/libnl/lib/
Daddr.c164 struct nl_addr *nl_addr_alloc(size_t maxsize) in nl_addr_alloc() argument
168 addr = calloc(1, sizeof(*addr) + maxsize); in nl_addr_alloc()
173 addr->a_maxsize = maxsize; in nl_addr_alloc()
/external/opencv3/3rdparty/include/ffmpeg_/libavformat/
Davio.h123 int64_t maxsize; member

123