Home
last modified time | relevance | path

Searched refs:len2 (Results 1 – 20 of 20) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dadler32.c12 local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2));
136 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument
139 z_off64_t len2;
146 if (len2 < 0)
150 MOD63(len2); /* assumes len2 >= 0 */
151 rem = (unsigned)len2;
165 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
168 z_off_t len2;
170 return adler32_combine_(adler1, adler2, len2);
173 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
[all …]
Dcrc32.c53 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2));
355 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument
358 z_off64_t len2;
366 if (len2 <= 0)
388 if (len2 & 1)
390 len2 >>= 1;
393 if (len2 == 0)
398 if (len2 & 1)
400 len2 >>= 1;
403 } while (len2 != 0);
[all …]
DChangeLog243 - Add comment in zlib.h that adler32_combine with len2 < 0 makes no sense
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/
Dadler32.c10 local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2));
143 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument
146 z_off64_t len2;
153 if (len2 < 0)
157 MOD63(len2); /* assumes len2 >= 0 */
158 rem = (unsigned)len2;
172 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
175 z_off_t len2;
177 return adler32_combine_(adler1, adler2, len2);
180 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
[all …]
Dcrc32.c51 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2));
372 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument
375 z_off64_t len2;
383 if (len2 <= 0)
405 if (len2 & 1)
407 len2 >>= 1;
410 if (len2 == 0)
415 if (len2 & 1)
417 len2 >>= 1;
420 } while (len2 != 0);
[all …]
/device/generic/goldfish/vibrator/
Dqemu.c57 int len2; in qemu_fd_write() local
59 len2 = write(fd, cmd, len); in qemu_fd_write()
60 } while (len2 < 0 && errno == EINTR); in qemu_fd_write()
61 return len2; in qemu_fd_write()
67 int len2; in qemu_fd_read() local
69 len2 = read(fd, buff, len); in qemu_fd_read()
70 } while (len2 < 0 && errno == EINTR); in qemu_fd_read()
71 return len2; in qemu_fd_read()
304 int fd, len2; in qemu_control_send() local
315 len2 = qemu_fd_write(fd, cmd, len); in qemu_control_send()
[all …]
/device/google/marlin/dataservices/datatop/src/
Ddatatop_str.c55 int dt_read_line(char *buf1, int len1, const char *buf2, int len2, int start) in dt_read_line() argument
59 if (len1 < 1 || len2 < 1 || start < 0 || start > len2) in dt_read_line()
68 while ((i < (len1-1)) && (j < len2)) { in dt_read_line()
93 int len2, struct dt_procdict *dict) in dt_parse_proc_dictionary() argument
97 if (len1 < 1 || len2 < 1) in dt_parse_proc_dictionary()
114 for (i = 0; i < len2 && k < DTOP_DICT_SIZE; i++) { in dt_parse_proc_dictionary()
Ddatatop_str.h57 int dt_read_line(char *buf1, int len1, const char *buf2, int len2, int start);
59 int dt_parse_proc_dictionary(char *line1, int len1, char *line2, int len2,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dcrc32.c370 uLong ZEXPORT crc32_combine(crc1, crc2, len2) in crc32_combine() argument
373 z_off_t len2;
381 if (len2 == 0)
403 if (len2 & 1)
405 len2 >>= 1;
408 if (len2 == 0)
413 if (len2 & 1)
415 len2 >>= 1;
418 } while (len2 != 0);
Dadler32.c128 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
131 z_off_t len2;
138 rem = (unsigned)(len2 % BASE);
Dzlib.h1277 z_off_t len2));
1301 ZEXTERN uLong ZEXPORT crc32_combine OF((uLong crc1, uLong crc2, z_off_t len2));
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
Dcase.py653 len2 = len(seq2)
671 for i in xrange(min(len1, len2)):
691 if (len1 == len2 and seq_type is None and
696 if len1 > len2:
698 'elements.\n' % (seq_type_name, len1 - len2))
701 (len2, seq1[len2]))
704 'of first %s\n' % (len2, seq_type_name))
705 elif len1 < len2:
707 'elements.\n' % (seq_type_name, len2 - len1))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_localemodule.c286 int rel1 = 0, rel2 = 0, len1, len2; in PyLocale_strcoll()
325 len2 = PyUnicode_GET_SIZE(os2) + 1; in PyLocale_strcoll()
326 ws2 = PyMem_NEW(wchar_t, len2); in PyLocale_strcoll()
331 if (PyUnicode_AsWideChar((PyUnicodeObject*)os2, ws2, len2) == -1) in PyLocale_strcoll()
333 ws2[len2 - 1] = 0; in PyLocale_strcoll()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_localemodule.c286 int rel1 = 0, rel2 = 0, len1, len2; in PyLocale_strcoll()
325 len2 = PyUnicode_GET_SIZE(os2) + 1; in PyLocale_strcoll()
326 ws2 = PyMem_MALLOC(len2 * sizeof(wchar_t)); in PyLocale_strcoll()
331 if (PyUnicode_AsWideChar((PyUnicodeObject*)os2, ws2, len2) == -1) in PyLocale_strcoll()
333 ws2[len2 - 1] = 0; in PyLocale_strcoll()
D_hotshot.c642 Py_ssize_t len2 = strlen(s2); in pack_add_info() local
644 if (len1 + len2 + PISIZE*2 + 1 + self->index >= BUFFERSIZE) { in pack_add_info()
652 return pack_string(self, s2, len2); in pack_add_info()
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h105 #define DUMP_TO_FILE2(filename, p_addr1, len1, paddr2, len2) ({ \ argument
110 rc = fwrite(p_addr2, 1, len2, fp); \
111 LOGE("written %zu %zu", len1, len2); \
/device/google/marlin/camera/QCamera2/stack/mm-lib2d-interface/test/
Dmm_lib2d_test.c72 #define DUMP_TO_FILE2(filename, p_addr1, len1, p_addr2, len2) ({ \ argument
77 rc = fwrite(p_addr2, 1, len2, fp); \
78 printf(" ] written %zu %zu \n", __LINE__, len1, len2); \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dunicodeobject.c6155 Py_ssize_t len1, len2;
6161 len2 = str2->length;
6163 while (len1 > 0 && len2 > 0) {
6178 len1--; len2--;
6181 return (len1 < len2) ? -1 : (len1 != len2);
6189 register Py_ssize_t len1, len2; in unicode_compare() local
6195 len2 = str2->length; in unicode_compare()
6197 while (len1 > 0 && len2 > 0) { in unicode_compare()
6206 len1--; len2--; in unicode_compare()
6209 return (len1 < len2) ? -1 : (len1 != len2); in unicode_compare()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dunicodeobject.c6060 Py_ssize_t len1, len2;
6066 len2 = str2->length;
6068 while (len1 > 0 && len2 > 0) {
6083 len1--; len2--;
6086 return (len1 < len2) ? -1 : (len1 != len2);
6094 register Py_ssize_t len1, len2; in unicode_compare() local
6100 len2 = str2->length; in unicode_compare()
6102 while (len1 > 0 && len2 > 0) { in unicode_compare()
6111 len1--; len2--; in unicode_compare()
6114 return (len1 < len2) ? -1 : (len1 != len2); in unicode_compare()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dregexec.c991 int len1, len2; in string_cmp_ic() local
998 len2 = ONIGENC_MBC_CASE_FOLD(enc, case_fold_flag, &s2, end2, buf2); in string_cmp_ic()
999 if (len1 != len2) return 0; in string_cmp_ic()