Home
last modified time | relevance | path

Searched refs:remaining_length (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/android_webview/native/
Dinput_stream_impl.cc87 int remaining_length = length; in Read() local
92 while (remaining_length > 0) { in Read()
93 const int max_transfer_length = std::min(remaining_length, kBufferSize); in Read()
117 DCHECK_GE(remaining_length, transfer_length); in Read()
123 remaining_length -= transfer_length; in Read()
127 DCHECK(remaining_length >= 0 && remaining_length <= length); in Read()
128 *bytes_read = length - remaining_length; in Read()
/external/sfntly/cpp/src/sfntly/data/
Dbyte_array.cc113 int32_t remaining_length = length; in CopyTo() local
120 remaining_length -= bytes_read; in CopyTo()
121 buffer_length = std::min<int32_t>(b.size(), remaining_length); in CopyTo()
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
Dbyte_array.cc113 int32_t remaining_length = length; in CopyTo() local
120 remaining_length -= bytes_read; in CopyTo()
121 buffer_length = std::min<int32_t>(b.size(), remaining_length); in CopyTo()
/external/chromium/webkit/glue/
Ddom_serializer_unittest.cc251 int remaining_length = content.length() - pos - 7; in IsMetaElement() local
252 if (!remaining_length) in IsMetaElement()
256 while (remaining_length--) in IsMetaElement()
260 while (remaining_length) { in IsMetaElement()
264 --remaining_length; in IsMetaElement()
266 if (!remaining_length) in IsMetaElement()
270 while (remaining_length--) { in IsMetaElement()
/external/chromium_org/content/renderer/
Ddom_serializer_browsertest.cc115 int remaining_length = content.length() - pos - 7; in IsMetaElement() local
116 if (!remaining_length) in IsMetaElement()
120 while (remaining_length--) in IsMetaElement()
124 while (remaining_length) { in IsMetaElement()
128 --remaining_length; in IsMetaElement()
130 if (!remaining_length) in IsMetaElement()
134 while (remaining_length--) { in IsMetaElement()
/external/chromium/third_party/libjingle/source/talk/base/
Dopensslidentity.cc217 int remaining_length = BIO_get_mem_data(bio, &ptr); in FromPEMString() local
220 *pem_length = pem_string.length() - remaining_length; in FromPEMString()
/external/libnfc-nxp/src/
DphFriNfc_ISO15693Map.c1075 uint8_t remaining_length = (uint8_t)(recv_length - in phFriNfc_ISO15693_H_ProcessCheckNdef() local
1079 > remaining_length) in phFriNfc_ISO15693_H_ProcessCheckNdef()
1081 parse_index = (uint8_t)(parse_index + remaining_length); in phFriNfc_ISO15693_H_ProcessCheckNdef()
1082 prop_ndef_index = (uint8_t)(prop_ndef_index + remaining_length); in phFriNfc_ISO15693_H_ProcessCheckNdef()
1085 == remaining_length) in phFriNfc_ISO15693_H_ProcessCheckNdef()
1087 parse_index = (uint8_t)(parse_index + remaining_length); in phFriNfc_ISO15693_H_ProcessCheckNdef()
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
Dmux.py285 remaining_length = len(self._data) - self._read_position
287 if remaining_length == 0:
293 if remaining_length < 4:
300 if remaining_length < 3:
307 if remaining_length < 2:
/external/chromium_org/third_party/qcms/src/
Diccread.c1156 uint32_t length, remaining_length; in qcms_profile_from_file() local
1176 remaining_length = length - sizeof(length_be); in qcms_profile_from_file()
1179 read_length = fread((unsigned char*)data + sizeof(length_be), 1, remaining_length, file); in qcms_profile_from_file()
1180 if (read_length != remaining_length) { in qcms_profile_from_file()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
Dmux.py261 remaining_length = len(self._data) - self._read_position
263 if remaining_length == 0:
269 if remaining_length < 4:
275 if remaining_length < 3:
281 if remaining_length < 2:
/external/v8/src/
Druntime.cc6965 int remaining_length = max_string_length - string_length; in RUNTIME_FUNCTION() local
6966 if ((remaining_length / separator_length) >= separator_count) { in RUNTIME_FUNCTION()
/external/chromium_org/v8/src/
Druntime.cc7320 int remaining_length = max_string_length - string_length; in RUNTIME_FUNCTION() local
7321 if ((remaining_length / separator_length) >= separator_count) { in RUNTIME_FUNCTION()