Searched refs:ubuf (Results 1 – 5 of 5) sorted by relevance
/PHP-8.1/ext/fileinfo/libmagic/ |
H A D | ascmagic.c | 73 file_unichar_t *ubuf = NULL; in file_ascmagic() local 99 efree(ubuf); in file_ascmagic() 175 if (ubuf[i] == '\n') { in file_ascmagic_with_encoding() 184 seen_cr = (ubuf[i] == '\r'); in file_ascmagic_with_encoding() 200 if (ubuf[i] == '\033') in file_ascmagic_with_encoding() 202 if (ubuf[i] == '\b') in file_ascmagic_with_encoding() 350 if (ubuf[i] <= 0x7f) { in encode_utf8() 356 if (ubuf[i] <= 0x7ff) { in encode_utf8() 362 if (ubuf[i] <= 0xffff) { in encode_utf8() 368 if (ubuf[i] <= 0x1fffff) { in encode_utf8() [all …]
|
H A D | encoding.c | 87 if (ubuf == NULL) in file_encoding() 88 ubuf = &udefbuf; in file_encoding() 102 if (*ubuf == NULL) { in file_encoding() 178 if (ubuf == &udefbuf) in file_encoding() 280 ubuf[(*ulen)++] = buf[i]; \ 370 if (ubuf) in file_looks_utf8() 383 if (ubuf) in file_looks_utf8() 384 ubuf[(*ulen)++] = buf[i]; in file_looks_utf8() 427 if (ubuf) in file_looks_utf8() 428 ubuf[(*ulen)++] = c; in file_looks_utf8() [all …]
|
H A D | compress.c | 763 filter_error(unsigned char *ubuf, ssize_t n) in filter_error() argument 768 ubuf[n] = '\0'; in filter_error() 769 buf = RCAST(char *, ubuf); in filter_error() 782 memmove(ubuf, p, CAST(size_t, n + 1)); in filter_error() 784 DPRINTF("Filter error after[[[%s]]]\n", (char *)ubuf); in filter_error() 785 if (islower(*ubuf)) in filter_error() 786 *ubuf = toupper(*ubuf); in filter_error()
|
/PHP-8.1/ext/fileinfo/ |
H A D | libmagic.patch | 933 ubuf, ulen, code, type, text); 935 - free(ubuf); 936 + efree(ubuf); 1482 mlen = (nbytes + 1) * sizeof((*ubuf)[0]); 1483 - *ubuf = CAST(file_unichar_t *, calloc(CAST(size_t, 1), mlen)); 1484 + *ubuf = CAST(file_unichar_t *, ecalloc(CAST(size_t, 1), mlen)); 1485 if (*ubuf == NULL) { 1502 if (ubuf == &udefbuf)
|
/PHP-8.1/ext/session/ |
H A D | session.c | 1123 static inline void strcpy_gmt(char *ubuf, time_t *when) /* {{{ */ in strcpy_gmt() argument 1132 ubuf[0] = '\0'; in strcpy_gmt() 1141 memcpy(ubuf, buf, n); in strcpy_gmt() 1142 ubuf[n] = '\0'; in strcpy_gmt()
|
Completed in 37 milliseconds