Home
last modified time | relevance | path

Searched refs:maxlength (Results 1 – 25 of 43) 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/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/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/ltp/testcases/kernel/hotplug/memory_hotplug/
Dsegment.c676 size_t length, maxlength; in segment_touch() local
695 maxlength = segp->seg_length - offset; in segment_touch()
704 if (length == 0 || length > maxlength) in segment_touch()
705 length = maxlength; in segment_touch()
820 size_t length, maxlength; in segment_mbind() local
844 maxlength = segp->seg_length - offset; in segment_mbind()
853 if (length == 0 || length > maxlength) in segment_mbind()
854 length = maxlength; in segment_mbind()
882 size_t length, maxlength; in segment_location() local
907 maxlength = segp->seg_length - offset; in segment_location()
[all …]
/external/python/cpython2/Modules/_multiprocessing/
Dpipe_connection.c43 size_t buflength, char **newbuffer, size_t maxlength) in conn_recv_string() argument
50 ret = ReadFile(conn->handle, buffer, MIN(buflength, maxlength), in conn_recv_string()
67 if (full_length > maxlength) in conn_recv_string()
Dconnection.h148 Py_ssize_t res, maxlength = PY_SSIZE_T_MAX; in connection_recvbytes() local
151 if (!PyArg_ParseTuple(args, "|" F_PY_SSIZE_T, &maxlength)) in connection_recvbytes()
156 if (maxlength < 0) { in connection_recvbytes()
162 &freeme, maxlength); in connection_recvbytes()
Dsocket_connection.c147 size_t buflength, char **newbuffer, size_t maxlength) in conn_recv_string() argument
161 if (ulength > maxlength) in conn_recv_string()
/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/tensorflow/tensorflow/python/kernel_tests/
Dbincount_op_test.py68 self.assertAllEqual(self.evaluate(math_ops.bincount([5], maxlength=3)),
70 self.assertAllEqual(self.evaluate(math_ops.bincount([1], maxlength=3)),
72 self.assertAllEqual(self.evaluate(math_ops.bincount([], maxlength=3)),
/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/ltp/testcases/network/nfsv4/acl/
Drandom_gen.py152 def createOneNameRandomLength(self,maxlength): argument
154 l=random.randint(0,maxlength)
/external/tensorflow/tensorflow/contrib/coder/python/ops/
Dcoder_ops_test.py38 histogram = math_ops.bincount(data, minlength=10, maxlength=10)
/external/curl/tests/data/
Dtest113582 CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength,
86 CURL_EXTERN int curl_mvsnprintf(char *buffer, size_t maxlength,
/external/curl/lib/
Dmprintf.c996 int curl_mvsnprintf(char *buffer, size_t maxlength, const char *format, in curl_mvsnprintf() argument
1004 info.max = maxlength; in curl_mvsnprintf()
1018 int curl_msnprintf(char *buffer, size_t maxlength, const char *format, ...) in curl_msnprintf() argument
1023 retcode = curl_mvsnprintf(buffer, maxlength, format, ap_save); in curl_msnprintf()
/external/tensorflow/tensorflow/python/ops/ragged/
Dsegment_id_ops.py100 maxlength=num_segments,
/external/python/cpython3/Lib/multiprocessing/
Dconnection.py208 def recv_bytes(self, maxlength=None): argument
214 if maxlength is not None and maxlength < 0:
216 buf = self._recv_bytes(maxlength)
/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/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/tensorflow/tensorflow/python/ops/
Dmath_ops.py2936 maxlength=None, argument
2972 if maxlength is not None:
2973 maxlength = ops.convert_to_tensor(
2974 maxlength, name="maxlength", dtype=dtypes.int32)
2975 output_size = gen_math_ops.minimum(maxlength, output_size)
2988 maxlength=None, argument
3013 return bincount(arr, weights, minlength, maxlength, dtype)
/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.c3118 uint_fast32_t maxlength, Elf32_Word nbucket, in print_hash_info() argument
3121 uint32_t *counts = (uint32_t *) xcalloc (maxlength + 1, sizeof (uint32_t)); in print_hash_info()
3165 for (Elf32_Word cnt = 1; cnt <= maxlength; ++cnt) in print_hash_info()
3175 for (Elf32_Word cnt = 1; cnt <= maxlength; ++cnt) in print_hash_info()
3224 uint_fast32_t maxlength = 0; in handle_sysv_hash() local
3241 if (maxlength < ++lengths[cnt]) in handle_sysv_hash()
3242 ++maxlength; in handle_sysv_hash()
3248 print_hash_info (ebl, scn, shdr, shstrndx, maxlength, nbucket, nsyms, in handle_sysv_hash()
3290 uint_fast32_t maxlength = 0; in handle_sysv_hash64() local
3307 if (maxlength < ++lengths[cnt]) in handle_sysv_hash64()
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.math.pbtxt81 …argspec: "args=[\'arr\', \'weights\', \'minlength\', \'maxlength\', \'dtype\', \'name\'], varargs=…

12