Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 25 of 50) sorted by relevance

12

/PHP-8.0/ext/standard/
H A Ddns.c491 snprintf(name, sizeof(name), "%d.%d.%d.%d", cp[0], cp[1], cp[2], cp[3]); in php_parserr()
527 cp++; in php_parserr()
533 cp++; in php_parserr()
545 cp++; in php_parserr()
549 cp++; in php_parserr()
658 cp++; in php_parserr()
756 cp++; in php_parserr()
763 cp++; in php_parserr()
993 while (an-- && cp && cp < end) { in PHP_FUNCTION()
1006 while (ns-- > 0 && cp && cp < end) { in PHP_FUNCTION()
[all …]
H A Dcrypt_sha256.c340 char *cp; in php_sha256_crypt_r() local
446 cp = p_bytes = alloca(key_len); in php_sha256_crypt_r()
448 cp = __php_mempcpy((void *)cp, (const void *)temp_result, 32); in php_sha256_crypt_r()
450 memcpy(cp, temp_result, cnt); in php_sha256_crypt_r()
464 cp = s_bytes = alloca(salt_len); in php_sha256_crypt_r()
466 cp = __php_mempcpy(cp, temp_result, 32); in php_sha256_crypt_r()
468 memcpy(cp, temp_result, cnt); in php_sha256_crypt_r()
515 cp += n; in php_sha256_crypt_r()
519 cp = __php_stpncpy(cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in php_sha256_crypt_r()
523 *cp++ = '$'; in php_sha256_crypt_r()
[all …]
H A Dcrypt_sha512.c373 char *cp; in php_sha512_crypt_r() local
480 cp = p_bytes = alloca(key_len); in php_sha512_crypt_r()
482 cp = __php_mempcpy((void *) cp, (const void *)temp_result, 64); in php_sha512_crypt_r()
485 memcpy(cp, temp_result, cnt); in php_sha512_crypt_r()
499 cp = s_bytes = alloca(salt_len); in php_sha512_crypt_r()
501 cp = __php_mempcpy(cp, temp_result, 64); in php_sha512_crypt_r()
503 memcpy(cp, temp_result, cnt); in php_sha512_crypt_r()
550 cp += n; in php_sha512_crypt_r()
554 cp = __php_stpncpy(cp, salt, MIN((size_t) MAX(0, buflen), salt_len)); in php_sha512_crypt_r()
558 *cp++ = '$'; in php_sha512_crypt_r()
[all …]
H A Dflock_compat.c162 int inet_aton(const char *cp, struct in_addr *ap) in inet_aton() argument
168 register char cc = *cp; in inet_aton()
201 } while (*cp++) ; in inet_aton()
/PHP-8.0/ext/intl/uchar/
H A Duchar.c52 UChar32 cp; in IC_METHOD() local
73 UChar32 cp; in IC_METHOD() local
85 UChar32 cp; in IC_METHOD() local
105 UChar32 cp; in IC_METHOD() local
149 UChar32 cp; in IC_METHOD() local
202 UChar32 cp; in IC_METHOD() local
214 UChar32 cp; in IC_METHOD() local
418 UChar32 cp; in IC_METHOD() local
458 UChar32 cp; in IC_METHOD() local
493 UChar32 cp; in IC_METHOD() local
[all …]
/PHP-8.0/ext/standard/tests/file/windows_mb_path/
H A Dutil.inc15 function set_active_cp($cp, $echo = true)
18 $ret = exec("chcp $cp");
20 if (!sapi_windows_cp_set($cp)) {
21 echo "Failed to set cp $cp\n";
29 function get_basename_with_cp($path, $cp, $echo = true)
32 set_active_cp($cp, $echo);
47 function skip_if_wrong_cp($cp, $kind = "")
49 if (get_active_cp($kind) != $cp) {
50 die("skip this test expect codepage $cp");
82 $now = get_basename_with_cp($full, $cp, false);
[all …]
H A Dutil_utf8.inc3 function create_data_from_utf8($id, $item = "", $cp = 65001)
46 create_verify_file($prefix, $item, "opened an utf8 filename for reading", $cp);
63 create_verify_file($prefix, $item, $content, $cp);
85 create_verify_dir($prefix, $item, $cp);
89 create_verify_file($prefix, $item, "", $cp);
/PHP-8.0/win32/
H A Dcodepage.c343 if (!cp->name || !cp->name[0]) { in php_win32_cp_get_by_enc()
348 return cp; in php_win32_cp_get_by_enc()
351 if (cp->enc) { in php_win32_cp_get_by_enc()
358 return cp; in php_win32_cp_get_by_enc()
365 return cp; in php_win32_cp_get_by_enc()
523 cp = cur_cp; in php_win32_cp_cli_do_setup()
526 if (!cp) { in php_win32_cp_cli_do_setup()
531 return cp; in php_win32_cp_cli_do_setup()
534 return cp; in php_win32_cp_cli_do_setup()
578 if (!cp) { in PHP_FUNCTION()
[all …]
H A Dcp_enc_map_gen.c5 struct cp { struct
12 static const struct cp cp_map[] = { argument
174 DWORD cp; in main() local
176 struct cp *cur; in main()
H A Dinet.c19 int inet_aton(const char *cp, struct in_addr *inp) { in inet_aton() argument
20 inp->s_addr = inet_addr(cp); in inet_aton()
H A Dinet.h23 PHPAPI int inet_aton(const char *cp, struct in_addr *inp);
/PHP-8.0/ext/opcache/jit/dynasm/
H A Ddasm_x86.h367 do { *((unaligned_short *)cp) = (unsigned short)(x); cp+=2; } while (0)
369 do { *((unaligned_int *)cp) = (unsigned int)(x); cp+=4; } while (0)
371 do { *((unaligned_uint64_t *)cp) = (uint64_t)(x); cp+=8; } while (0)
382 unsigned char *cp = base; in dasm_encode() local
414 unsigned char *ex = cp - (t&7); in dasm_encode()
424 cp--; in dasm_encode()
429 else if (n == 4 && t < 0x20) { cp[-1] ^= n; *cp++ = 0x20; } in dasm_encode()
430 cp[-1] ^= n; in dasm_encode()
441 if (shrink == 4) { cp--; cp[-1] = *cp-0x10; } else cp[-1] = 0xeb; in dasm_encode()
471 while (((cp-base) & n)) *cp++ = 0x90; /* nop */ in dasm_encode()
[all …]
H A Ddasm_arm64.h404 unsigned int *cp = (unsigned int *)buffer; in dasm_encode() local
421 case DASM_ESC: *cp++ = *p++; break; in dasm_encode()
426 ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0xe1a00000; in dasm_encode()
436 cp[-1] |= ((n >> 2) & 0x03ffffff); in dasm_encode()
439 cp[-1] |= ((n << 3) & 0x00ffffe0); in dasm_encode()
447 cp[-1] |= ((n << 3) & 0x0007ffe0); in dasm_encode()
458 cp[-1] |= ((n&31) << 19) | ((n&32) << 26); in dasm_encode()
461 cp[-1] |= (dasm_imm12((unsigned int)n) << 10); in dasm_encode()
464 cp[-1] |= (dasm_imm13(n, n) << 10); in dasm_encode()
467 cp[-1] |= (dasm_imm13(n, *b++) << 10); in dasm_encode()
[all …]
H A Ddasm_arm.h348 unsigned int *cp = (unsigned int *)buffer; in dasm_encode() local
365 case DASM_ESC: *cp++ = *p++; break; in dasm_encode()
367 n = DASM_EXTERN(Dst, (unsigned char *)cp, (ins&2047), !(ins&2048)); in dasm_encode()
370 ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0xe1a00000; in dasm_encode()
376 n = *DASM_POS2PTR(D, n) - (int)((char *)cp - base) - 4; in dasm_encode()
380 cp[-1] |= ((n >> 2) & 0x00ffffff); in dasm_encode()
401 cp[-1] |= dasm_imm12((unsigned int)n); in dasm_encode()
404 cp[-1] |= ((n & 0xf000) << 4) | (n & 0x0fff); in dasm_encode()
407 cp[-1] |= n >= 0 ? (0x00800000 | (n & 0x0f) | ((n & 0xf0) << 4)) : in dasm_encode()
411 cp[-1] |= n >= 0 ? (0x00800000 | n) : (-n); in dasm_encode()
[all …]
H A Ddasm_mips.h327 unsigned int *cp = (unsigned int *)buffer; in dasm_encode() local
344 case DASM_ESC: *cp++ = *p++; break; in dasm_encode()
346 n = DASM_EXTERN(Dst, (unsigned char *)cp, (ins & 2047), 1); in dasm_encode()
349 ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0x60000000; in dasm_encode()
357 n = n - (int)((char *)cp - base); in dasm_encode()
364 cp[-1] |= ((n>>2) & ((ins & 2048) ? 0x0000ffff: 0x03ffffff)); in dasm_encode()
371 cp[-1] |= ((n>>3) & 4); n &= 0x1f; in dasm_encode()
374 cp[-1] |= (n & ((1<<((ins>>5)&31))-1)) << (ins&31); in dasm_encode()
376 default: *cp++ = ins; break; in dasm_encode()
383 if (base + D->codesize != (char *)cp) /* Check for phase errors. */ in dasm_encode()
H A Ddasm_ppc.h331 unsigned int *cp = (unsigned int *)buffer; in dasm_encode() local
348 case DASM_ESC: *cp++ = *p++; break; in dasm_encode()
350 n = DASM_EXTERN(Dst, (unsigned char *)cp, (ins & 2047), 1) - 4; in dasm_encode()
353 ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0x60000000; in dasm_encode()
359 n = *DASM_POS2PTR(D, n) - (int)((char *)cp - base); in dasm_encode()
364 cp[-1] |= ((n+4) & ((ins & 2048) ? 0x0000fffc: 0x03fffffc)); in dasm_encode()
371 cp[-1] |= (n & ((1<<((ins>>5)&31))-1)) << (ins&31); in dasm_encode()
374 cp[-1] |= (ins & 1) ? ((n&31)<<11)|((n&32)>>4) : ((n&31)<<6)|(n&32); in dasm_encode()
376 default: *cp++ = ins; break; in dasm_encode()
383 if (base + D->codesize != (char *)cp) /* Check for phase errors. */ in dasm_encode()
/PHP-8.0/ext/curl/
H A Dinterface.c1232 CURL *cp; in curl_clone_obj() local
1242 cp = curl_easy_duphandle(ch->cp); in curl_clone_obj()
1243 if (!cp) { in curl_clone_obj()
1248 clone_ch->cp = cp; in curl_clone_obj()
1853 CURL *cp; in PHP_FUNCTION() local
1862 if (!cp) { in PHP_FUNCTION()
1869 ch->cp = cp; in PHP_FUNCTION()
2175 CURL *cp; in PHP_FUNCTION() local
2186 cp = curl_easy_duphandle(ch->cp); in PHP_FUNCTION()
2187 if (!cp) { in PHP_FUNCTION()
[all …]
/PHP-8.0/ext/intl/uchar/tests/
H A Dbasic-functionality.phpt8 function unicode_info($cp) {
24 $ncp = IntlChar::ord($cp);
30 IntlChar::hasBinaryProperty($cp, $prop) ? "true" : "false"
35 var_dump(IntlChar::$method($cp));
37 echo " charAge(): ", implode('.', IntlChar::charAge($cp)), "\n";
43 foreach($codepoints as $cp) {
44 unicode_info($cp);
47 IntlChar::enumCharNames(0x2600, 0x2610, function($cp, $nc, $name) {
48 printf("U+%04x %s\n", $cp, $name);
/PHP-8.0/ext/imap/tests/setup/
H A Dsetup.sh4 sudo cp ext/imap/tests/setup/dovecot.conf /etc/dovecot/dovecot.conf
5 sudo cp ext/imap/tests/setup/dovecotpass /etc/dovecot/dovecotpass
/PHP-8.0/.github/actions/setup-x64/
H A Daction.yml22 sudo cp ext/snmp/tests/snmpd.conf /etc/snmp
23 sudo cp ext/snmp/tests/bigtest /etc/snmp
28 sudo cp ext/imap/tests/setup/dovecot.conf /etc/dovecot/dovecot.conf
29 sudo cp ext/imap/tests/setup/dovecotpass /etc/dovecot/dovecotpass
/PHP-8.0/ext/dba/
H A Dinstall_cdb.sh40 cp ../error.o .
49 cp cdb.h uint32.h "$prefix/include"
/PHP-8.0/ext/filter/tests/
H A D040.phpt8 ap[]=1&bp=test&cp=
14 var_dump(filter_has_var(INPUT_POST, "cp"));
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_env.c28 char *cp; in setenv() local
34 if ((cp = malloc(strlen(name) + strlen(value) + 2)) == 0) { in setenv()
37 sprintf(cp, "%s=%s", name, value); in setenv()
38 return putenv(cp); in setenv()
/PHP-8.0/scripts/
H A Dphpize.in148 (cd "$phpdir" && cp $FILES_BUILD "$builddir"/build)
149 (cd "$phpdir" && cp $FILES "$builddir")
/PHP-8.0/sapi/fuzzer/
H A DREADME.md34 cp -r sapi/fuzzer/corpus/exif ./my-exif-corpus
42 cp -r sapi/fuzzer/corpus/unserialize ./my-unserialize-corpus
50 cp -r sapi/fuzzer/corpus/unserializehash ./my-unserialize-corpus

Completed in 114 milliseconds

12