Searched refs:cp1 (Results 1 – 6 of 6) sorted by relevance
/PHP-8.3/ext/mbstring/tests/ |
H A D | sjismac_encoding.phpt | 23 $cp1 = $cp2 = $cp3 = $cp4 = $cp5 = null; 32 $validChars[$macJap] = pack('NNNNN', $cp1, $cp2, $cp3, $cp4, $cp5); 33 $fromUnicode[pack('nnnnn', $cp1, $cp2, $cp3, $cp4, $cp5)] = $macJap; 35 $validChars[$macJap] = pack('NNNN', $cp1, $cp2, $cp3, $cp4); 36 $fromUnicode[pack('nnnn', $cp1, $cp2, $cp3, $cp4)] = $macJap; 38 $validChars[$macJap] = pack('NNN', $cp1, $cp2, $cp3); 39 $fromUnicode[pack('nnn', $cp1, $cp2, $cp3)] = $macJap; 41 $validChars[$macJap] = pack('NN', $cp1, $cp2); 42 $fromUnicode[pack('nn', $cp1, $cp2)] = $macJap; 44 $validChars[$macJap] = pack('N', $cp1); [all …]
|
H A D | iso2022jp_2004_encoding.phpt | 53 if (sscanf($line, "%d-%x\tU+%x+%x", $type, $bytes, $cp1, $cp2) >= 3) { 54 if ($cp1 <= 0xFFFF) 55 $unicode = pack('n', $cp1); 57 $unicode = mb_convert_encoding(pack('N', $cp1), 'UTF-16BE', 'UTF-32BE');
|
H A D | iso2022jp_kddi_encoding.phpt | 57 if (sscanf($fields[0], "%x %x", $cp1, $cp2) == 2) 58 $utf32 = pack('N', $cp1) . pack('N', $cp2);
|
H A D | sjis_mobile_encodings.phpt | 97 if (sscanf($fields[0], "%x %x", $cp1, $cp2) == 2) { 98 $utf32 = pack('N', $cp1) . pack('N', $cp2);
|
/PHP-8.3/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf7imap.c | 775 uint16_t cp1 = (n1 << 10) | (n2 << 4) | ((n3 & 0x3C) >> 2); in mb_check_utf7imap() local 776 if (!is_utf16_cp_valid(cp1, is_surrogate)) { in mb_check_utf7imap() 779 is_surrogate = has_surrogate(cp1, is_surrogate); in mb_check_utf7imap()
|
H A D | mbfilter_utf7.c | 762 uint16_t cp1 = (n1 << 10) | (n2 << 4) | ((n3 & 0x3C) >> 2); in mb_check_utf7() local 763 if (!is_utf16_cp_valid(cp1, is_surrogate)) { in mb_check_utf7() 766 is_surrogate = has_surrogate(cp1, is_surrogate); in mb_check_utf7()
|
Completed in 16 milliseconds