Home
last modified time | relevance | path

Searched refs:maxlength (Results 1 – 25 of 38) sorted by relevance

12

/external/e2fsprogs/intl/
Dprintf.c183 size_t maxlength = length; in libintl_vsnprintf() local
187 if (maxlength > 0) in libintl_vsnprintf()
189 if (length < maxlength) in libintl_vsnprintf()
191 memcpy (resultbuf, result, maxlength - 1); in libintl_vsnprintf()
192 resultbuf[maxlength - 1] = '\0'; in libintl_vsnprintf()
337 size_t maxlength = length; in libintl_vswprintf() local
341 if (maxlength > 0) in libintl_vswprintf()
343 if (length < maxlength) in libintl_vswprintf()
345 memcpy (resultbuf, result, (maxlength - 1) * sizeof (wchar_t)); in libintl_vswprintf()
346 resultbuf[maxlength - 1] = 0; in libintl_vswprintf()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUCharacterName.java800 int add(int set[], int maxlength) in add() argument
842 if (length > maxlength) { in add()
845 return maxlength; in add()
1447 private int addAlgorithmName(int maxlength) in addAlgorithmName() argument
1451 result = m_algorithm_[i].add(m_nameSet_, maxlength); in addAlgorithmName()
1452 if (result > maxlength) { in addAlgorithmName()
1453 maxlength = result; in addAlgorithmName()
1456 return maxlength; in addAlgorithmName()
1465 private int addExtendedName(int maxlength) in addExtendedName() argument
1474 if (length > maxlength) { in addExtendedName()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterName.java799 int add(int set[], int maxlength) in add() argument
841 if (length > maxlength) { in add()
844 return maxlength; in add()
1446 private int addAlgorithmName(int maxlength) in addAlgorithmName() argument
1450 result = m_algorithm_[i].add(m_nameSet_, maxlength); in addAlgorithmName()
1451 if (result > maxlength) { in addAlgorithmName()
1452 maxlength = result; in addAlgorithmName()
1455 return maxlength; in addAlgorithmName()
1464 private int addExtendedName(int maxlength) in addExtendedName() argument
1473 if (length > maxlength) { in addExtendedName()
[all …]
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dsegment.c674 size_t length, maxlength; in segment_touch() local
693 maxlength = segp->seg_length - offset; in segment_touch()
702 if (length == 0 || length > maxlength) in segment_touch()
703 length = maxlength; in segment_touch()
818 size_t length, maxlength; in segment_mbind() local
842 maxlength = segp->seg_length - offset; in segment_mbind()
851 if (length == 0 || length > maxlength) in segment_mbind()
852 length = maxlength; in segment_mbind()
880 size_t length, maxlength; in segment_location() local
905 maxlength = segp->seg_length - offset; in segment_location()
[all …]
/external/syslinux/core/lwip/src/core/snmp/
Dmib_structs.c190 lrn->maxlength = 0; in snmp_mib_lrn_alloc()
471 while ((i < an->maxlength) && (an->objid[i] != *ident)) in snmp_search_tree()
475 if (i < an->maxlength) in snmp_search_tree()
661 if ((an->maxlength == 0) || (an->nptr == NULL)) in empty_table()
704 while ((i < an->maxlength) && (an->objid[i] < *ident)) in snmp_expand_tree()
708 if (i < an->maxlength) in snmp_expand_tree()
723 else if ((i + 1) < an->maxlength) in snmp_expand_tree()
747 while ((j < an->maxlength) && (empty_table(an->nptr[j]))) in snmp_expand_tree()
751 if (j < an->maxlength) in snmp_expand_tree()
787 while ((j < an->maxlength) && empty_table(an->nptr[j])) in snmp_expand_tree()
[all …]
Dmib2.c1075 iftable.maxlength = 1; in snmp_inc_iflist()
1082 if(iflist_root.count == 0) iftable.maxlength = 0; in snmp_dec_iflist()
1153 at.maxlength = 1; in snmp_insert_arpidx_tree()
1154 ipntomtable.maxlength = 1; in snmp_insert_arpidx_tree()
1225 if(arptree_root.count == 0) at.maxlength = 0; in snmp_delete_arpidx_tree()
1226 if(ipntomtree_root.count == 0) ipntomtable.maxlength = 0; in snmp_delete_arpidx_tree()
1365 ipaddrtable.maxlength = 1; in snmp_insert_ipaddridx_tree()
1426 if (ipaddrtree_root.count == 0) ipaddrtable.maxlength = 0; in snmp_delete_ipaddridx_tree()
1505 iprtetable.maxlength = 1; in snmp_insert_iprteidx_tree()
1589 if (iprtetree_root.count == 0) iprtetable.maxlength = 0; in snmp_delete_iprteidx_tree()
[all …]
/external/syslinux/core/lwip/src/include/lwip/
Dsnmp_structs.h120 u16_t maxlength; member
137 u16_t maxlength; member
155 u16_t maxlength; member
181 u16_t maxlength; member
201 u16_t maxlength; member
/external/curl/include/curl/
Dmprintf.h36 CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength,
41 CURL_EXTERN int curl_mvsnprintf(char *buffer, size_t maxlength,
/external/google-breakpad/src/third_party/curl/
Dmprintf.h38 CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength,
43 CURL_EXTERN int curl_mvsnprintf(char *buffer, size_t maxlength,
/external/ltp/testcases/kernel/fs/doio/
Diogen.c581 int minlength, maxlength, laststart, lastend; in form_iorequest() local
671 maxlength = fptr->f_length - offset; in form_iorequest()
672 if (maxlength > Maxtrans) in form_iorequest()
673 maxlength = Maxtrans; in form_iorequest()
675 length = random_range(minlength, maxlength, mult, &errp); in form_iorequest()
679 TagName, minlength, maxlength, mult); in form_iorequest()
686 maxlength = laststart; in form_iorequest()
688 if (maxlength > Maxtrans) in form_iorequest()
689 maxlength = Maxtrans; in form_iorequest()
691 if (minlength > maxlength) { in form_iorequest()
[all …]
/external/zopfli/src/zopfli/
Dcache.c85 unsigned maxlength = ZopfliMaxCachedSublen(lmc, pos, length); in ZopfliCacheToSublen() local
99 if (length == maxlength) break; in ZopfliCacheToSublen()
/external/curl/tests/data/
Dtest113568 CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength,
72 CURL_EXTERN int curl_mvsnprintf(char *buffer, size_t maxlength,
/external/ltp/testcases/network/nfsv4/acl/
Drandom_gen.py151 def createOneNameRandomLength(self,maxlength): argument
153 l=random.randint(0,maxlength)
/external/curl/lib/
Dmprintf.c984 int curl_mvsnprintf(char *buffer, size_t maxlength, const char *format, in curl_mvsnprintf() argument
992 info.max = maxlength; in curl_mvsnprintf()
1006 int curl_msnprintf(char *buffer, size_t maxlength, const char *format, ...) in curl_msnprintf() argument
1011 retcode = curl_mvsnprintf(buffer, maxlength, format, ap_save); in curl_msnprintf()
/external/emma/core/java12/com/vladium/emma/instr/
DInstrVisitor.java1494 int maxlength () { return 1; } in maxlength() method in InstrVisitor.Branch
1617 int maxlength () { return 5; } in maxlength() method in InstrVisitor.JUMP2
1641 int maxlength () { return 5; } in maxlength() method in InstrVisitor.JUMP4
1663 int maxlength () { return 8; } in maxlength() method in InstrVisitor.IFJUMP2
1688 int maxlength () { return 12 + (m_keys.length << 3); } in maxlength() method in InstrVisitor.LOOKUPSWITCH
1738 int maxlength () { return 12 + (m_targets.length << 2); } in maxlength() method in InstrVisitor.TABLESWITCH
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdmarker.c1337 long maxlength; in jpeg_save_markers() local
1343 maxlength = cinfo->mem->max_alloc_chunk - SIZEOF(struct jpeg_marker_struct); in jpeg_save_markers()
1344 if (((long) length_limit) > maxlength) in jpeg_save_markers()
1345 length_limit = (unsigned int) maxlength; in jpeg_save_markers()
/external/libjpeg-turbo/
Djdmarker.c1321 long maxlength; in jpeg_save_markers() local
1327 maxlength = cinfo->mem->max_alloc_chunk - sizeof(struct jpeg_marker_struct); in jpeg_save_markers()
1328 if (((long) length_limit) > maxlength) in jpeg_save_markers()
1329 length_limit = (unsigned int) maxlength; in jpeg_save_markers()
/external/webrtc/webrtc/sound/
Dpulseaudiosoundsystem.cc79 attr->maxlength = latency; in FillPlaybackBufferAttr()
1485 attr.maxlength = latency + bytes_per_sec * kCaptureBufferExtraMsecs / in ConnectInputStream()
1488 << ", maxlength = " << attr.maxlength; in ConnectInputStream()
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_device_pulse_linux.cc1194 _playBufferAttr.maxlength = latency; // num bytes stored in the buffer in InitPlayout()
1312 _recBufferAttr.maxlength = latency + bytesPerSec in InitRecording()
2322 _playBufferAttr.maxlength = newLatency; in PaStreamUnderflowCallbackHandler()
/external/elfutils/src/
Dreadelf.c3004 uint_fast32_t maxlength, Elf32_Word nbucket, in print_hash_info() argument
3007 uint32_t *counts = (uint32_t *) xcalloc (maxlength + 1, sizeof (uint32_t)); in print_hash_info()
3051 for (Elf32_Word cnt = 1; cnt <= maxlength; ++cnt) in print_hash_info()
3061 for (Elf32_Word cnt = 1; cnt <= maxlength; ++cnt) in print_hash_info()
3110 uint_fast32_t maxlength = 0; in handle_sysv_hash() local
3118 if (maxlength < ++lengths[cnt]) in handle_sysv_hash()
3119 ++maxlength; in handle_sysv_hash()
3125 print_hash_info (ebl, scn, shdr, shstrndx, maxlength, nbucket, nsyms, in handle_sysv_hash()
3167 uint_fast32_t maxlength = 0; in handle_sysv_hash64() local
3175 if (maxlength < ++lengths[cnt]) in handle_sysv_hash64()
[all …]
Dldgeneric.c3534 uint32_t maxlength; in optimal_bucket_size() local
3548 maxlength = 0; in optimal_bucket_size()
3553 if (lengths[inner] > maxlength) in optimal_bucket_size()
3554 maxlength = lengths[inner]; in optimal_bucket_size()
3560 for (inner = 0; inner <= maxlength; ++inner) in optimal_bucket_size()
/external/emma/lib/
Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/ ...
/external/owasp/sanitizer/tools/emma/lib/
Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/ ...
/external/guice/extensions/struts2/lib/
Dstruts2-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.sat4j.core_2.2.0.v20100429.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...

12