Home
last modified time | relevance | path

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

12

/PHP-7.4/ext/standard/
H A Ddns.c500 snprintf(name, sizeof(name), "%d.%d.%d.%d", cp[0], cp[1], cp[2], cp[3]); in php_parserr()
536 cp++; in php_parserr()
542 cp++; in php_parserr()
554 cp++; in php_parserr()
558 cp++; in php_parserr()
667 cp++; in php_parserr()
765 cp++; in php_parserr()
772 cp++; in php_parserr()
1004 while (an-- && cp && cp < end) { in PHP_FUNCTION()
1017 while (ns-- > 0 && cp && cp < end) { in PHP_FUNCTION()
[all …]
H A Dcrypt_sha256.c340 char *cp; in php_sha256_crypt_r() local
442 cp = p_bytes = alloca(key_len); in php_sha256_crypt_r()
444 cp = __php_mempcpy((void *)cp, (const void *)temp_result, 32); in php_sha256_crypt_r()
446 memcpy(cp, temp_result, cnt); in php_sha256_crypt_r()
460 cp = s_bytes = alloca(salt_len); in php_sha256_crypt_r()
462 cp = __php_mempcpy(cp, temp_result, 32); in php_sha256_crypt_r()
464 memcpy(cp, temp_result, cnt); in php_sha256_crypt_r()
511 cp += n; in php_sha256_crypt_r()
515 cp = __php_stpncpy(cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in php_sha256_crypt_r()
519 *cp++ = '$'; in php_sha256_crypt_r()
[all …]
H A Dcrypt_sha512.c373 char *cp; in php_sha512_crypt_r() local
476 cp = p_bytes = alloca(key_len); in php_sha512_crypt_r()
478 cp = __php_mempcpy((void *) cp, (const void *)temp_result, 64); in php_sha512_crypt_r()
481 memcpy(cp, temp_result, cnt); in php_sha512_crypt_r()
495 cp = s_bytes = alloca(salt_len); in php_sha512_crypt_r()
497 cp = __php_mempcpy(cp, temp_result, 64); in php_sha512_crypt_r()
499 memcpy(cp, temp_result, cnt); in php_sha512_crypt_r()
546 cp += n; in php_sha512_crypt_r()
550 cp = __php_stpncpy(cp, salt, MIN((size_t) MAX(0, buflen), salt_len)); in php_sha512_crypt_r()
554 *cp++ = '$'; in php_sha512_crypt_r()
[all …]
H A Dflock_compat.c175 int inet_aton(const char *cp, struct in_addr *ap) in inet_aton() argument
181 register char cc = *cp; in inet_aton()
214 } while (*cp++) ; in inet_aton()
/PHP-7.4/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";
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);
102 $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-7.4/ext/intl/uchar/
H A Duchar.c11 zend_long cp = -1; in convert_cp() local
36 if ((cp < UCHAR_MIN_VALUE) || (cp > UCHAR_MAX_VALUE)) { in convert_cp()
53 UChar32 cp; in IC_METHOD() local
80 UChar32 cp; in IC_METHOD() local
98 UChar32 cp; in IC_METHOD() local
117 UChar32 cp; in IC_METHOD() local
165 UChar32 cp; in IC_METHOD() local
227 UChar32 cp; in ZEND_END_ARG_INFO() local
245 UChar32 cp; in ZEND_END_ARG_INFO() local
464 UChar32 cp; in IC_METHOD() local
[all …]
/PHP-7.4/win32/
H A Dcodepage.c349 if (!cp->name || !cp->name[0]) { in php_win32_cp_get_by_enc()
354 return cp; in php_win32_cp_get_by_enc()
357 if (cp->enc) { in php_win32_cp_get_by_enc()
364 return cp; in php_win32_cp_get_by_enc()
371 return cp; in php_win32_cp_get_by_enc()
529 cp = cur_cp; in php_win32_cp_cli_do_setup()
532 if (!cp) { in php_win32_cp_cli_do_setup()
537 return cp; in php_win32_cp_cli_do_setup()
540 return cp; in php_win32_cp_cli_do_setup()
585 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.c21 int inet_aton(const char *cp, struct in_addr *inp) { in inet_aton() argument
22 inp->s_addr = inet_addr(cp); in inet_aton()
H A Dinet.h25 PHPAPI int inet_aton(const char *cp, struct in_addr *inp);
/PHP-7.4/ext/curl/
H A Dinterface.c1997 CURL *cp; in PHP_FUNCTION() local
2005 cp = curl_easy_init(); in PHP_FUNCTION()
2006 if (!cp) { in PHP_FUNCTION()
2013 ch->cp = cp; in PHP_FUNCTION()
2335 CURL *cp; in PHP_FUNCTION() local
2350 cp = curl_easy_duphandle(ch->cp); in PHP_FUNCTION()
2351 if (!cp) { in PHP_FUNCTION()
2357 dupch->cp = cp; in PHP_FUNCTION()
3634 if (ch->cp != NULL) { in _php_curl_close_ex()
3638 curl_easy_cleanup(ch->cp); in _php_curl_close_ex()
[all …]
H A Dmulti.c102 error = curl_multi_add_handle(mh->multi, ch->cp); in PHP_FUNCTION()
151 if (tmp_ch->cp == easy) { in _php_curl_multi_find_easy_handle()
183 error = curl_multi_remove_handle(mh->multi, ch->cp); in PHP_FUNCTION()
506 ch->cp = easy; in _php_server_push_callback()
546 ch->cp = NULL; in _php_server_push_callback()
/PHP-7.4/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-7.4/ext/dba/
H A Dinstall_cdb.sh40 cp ../error.o .
49 cp cdb.h uint32.h "$prefix/include"
/PHP-7.4/ext/filter/tests/
H A D040.phpt8 ap[]=1&bp=test&cp=
16 var_dump(filter_has_var(INPUT_POST, "cp"));
/PHP-7.4/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-7.4/scripts/
H A Dphpize.in147 (cd "$phpdir" && cp $FILES_BUILD "$builddir"/build)
148 (cd "$phpdir" && cp $FILES "$builddir")
/PHP-7.4/pear/
H A DMakefile.frag19 cp $(srcdir)/install-pear-nozlib.phar $(builddir)/install-pear-nozlib.phar; \
/PHP-7.4/ext/standard/html_tables/
H A Dhtml_table_gen.php200 $cp = $i << 6 | $j; variable
201 $mstable[$i][$j] = isset($mappy[$cp]) ? $mappy[$cp] : NULL;
/PHP-7.4/ext/com_dotnet/
H A Dcom_dotnet.c197 zend_long cp = GetACP(); in PHP_FUNCTION() local
245 &cp)) { in PHP_FUNCTION()
250 cp_it = php_win32_cp_get_by_id((DWORD)cp); in PHP_FUNCTION()
H A Dcom_com.c53 zend_long cp = GetACP(); in PHP_FUNCTION() local
62 &cp, &typelib_name, &typelib_name_len) && in PHP_FUNCTION()
65 &module_name, &module_name_len, &server_params, &cp, in PHP_FUNCTION()
72 cp_it = php_win32_cp_get_by_id((DWORD)cp); in PHP_FUNCTION()
77 obj->code_page = (int)cp; in PHP_FUNCTION()
/PHP-7.4/ext/mbstring/
H A Dmbstring.c2045 if (cp <= 0 || cp >= 0x110000) { in php_mb_check_code_point()
2050 if (cp >= 0xd800 && cp <= 0xdfff) { in php_mb_check_code_point()
5006 zend_long cp; in php_mb_ord() local
5029 return cp; in php_mb_ord()
5040 zend_long cp; in PHP_FUNCTION() local
5050 if (0 > cp) { in PHP_FUNCTION()
5054 RETURN_LONG(cp); in PHP_FUNCTION()
5078 if (cp < 0 || cp > 0x10ffff) { in php_mb_chr()
5083 if (cp > 0xd7ff && 0xe000 > cp) { in php_mb_chr()
5087 if (cp < 0x80) { in php_mb_chr()
[all …]
/PHP-7.4/ext/pdo_firebird/
H A Dfirebird_statement.c214 char *cp; in firebird_stmt_describe() local
222 cp = ZSTR_VAL(col->name); in firebird_stmt_describe()
224 memmove(cp, var->relname, var->relname_length); in firebird_stmt_describe()
225 cp += var->relname_length; in firebird_stmt_describe()
226 *cp++ = '.'; in firebird_stmt_describe()
228 memmove(cp, var->aliasname, var->aliasname_length); in firebird_stmt_describe()
229 *(cp+var->aliasname_length) = '\0'; in firebird_stmt_describe()
/PHP-7.4/sapi/fpm/tests/
H A Dsocket-uds-acl.phpt64 passthru("/usr/bin/getfacl -cp " . $tester->getListen('{{ADDR:UDS}}'));

Completed in 279 milliseconds

12