Home
last modified time | relevance | path

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

12

/PHP-7.3/ext/standard/
H A Ddns.c487 snprintf(name, sizeof(name), "%d.%d.%d.%d", cp[0], cp[1], cp[2], cp[3]); in php_parserr()
523 cp++; in php_parserr()
529 cp++; in php_parserr()
541 cp++; in php_parserr()
545 cp++; in php_parserr()
654 cp++; in php_parserr()
752 cp++; in php_parserr()
759 cp++; in php_parserr()
985 while (an-- && cp && cp < end) { in PHP_FUNCTION()
998 while (ns-- > 0 && cp && cp < end) { in PHP_FUNCTION()
[all …]
H A Dcrypt_sha256.c344 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.c377 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.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.3/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);
128 return create_data_from_utf8($id, $item, $cp);
[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.3/ext/intl/uchar/
H A Duchar.c13 zend_long cp = -1; in convert_cp() local
38 if ((cp < UCHAR_MIN_VALUE) || (cp > UCHAR_MAX_VALUE)) { in convert_cp()
55 UChar32 cp; in IC_METHOD() local
82 UChar32 cp; in IC_METHOD() local
100 UChar32 cp; in IC_METHOD() local
119 UChar32 cp; in IC_METHOD() local
167 UChar32 cp; in IC_METHOD() local
229 UChar32 cp; in ZEND_END_ARG_INFO() local
247 UChar32 cp; in ZEND_END_ARG_INFO() local
466 UChar32 cp; in IC_METHOD() local
[all …]
/PHP-7.3/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.3/ext/curl/
H A Dinterface.c2034 CURL *cp; in PHP_FUNCTION() local
2042 cp = curl_easy_init(); in PHP_FUNCTION()
2043 if (!cp) { in PHP_FUNCTION()
2050 ch->cp = cp; in PHP_FUNCTION()
2147 CURL *cp; in PHP_FUNCTION() local
2159 cp = curl_easy_duphandle(ch->cp); in PHP_FUNCTION()
2160 if (!cp) { in PHP_FUNCTION()
2166 dupch->cp = cp; in PHP_FUNCTION()
3565 if (ch->cp != NULL) { in _php_curl_close_ex()
3569 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()
507 ch->cp = easy; in _php_server_push_callback()
547 ch->cp = NULL; in _php_server_push_callback()
/PHP-7.3/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.3/
H A DMakefile.gcov44 cp $$x.gcno lcov_data/$$y.gcno ; \
47 cp $$x.gcda lcov_data/$$y.gcda ; \
50 cp $$x.da lcov_data/$$y.da ; \
53 cp $$x.bb lcov_data/$$y.bb ; \
56 cp $$x.bbg lcov_data/$$y.bbg ; \
H A Dgenfiles26 cp $f $f.orig
/PHP-7.3/ext/dba/
H A Dinstall_cdb.sh40 cp ../error.o .
49 cp cdb.h uint32.h "$prefix/include"
/PHP-7.3/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.3/build/
H A Dbuild.mk45 cd .. && cp -rp $$myname $$distname; \
49 test -d $$i || (test -d ../$$i && cp -rp ../$$i $$i); \
/PHP-7.3/ext/filter/tests/
H A D040.phpt8 ap[]=1&bp=test&cp=
16 var_dump(filter_has_var(INPUT_POST, "cp"));
/PHP-7.3/scripts/dev/
H A Dphpextdist20 cp -rp $myname $distname
/PHP-7.3/scripts/
H A Dphpize.in147 (cd "$phpdir" && cp $FILES_BUILD "$builddir"/build)
148 (cd "$phpdir" && cp $FILES "$builddir")
/PHP-7.3/pear/
H A DMakefile.frag21 cp $(srcdir)/install-pear-nozlib.phar $(builddir)/install-pear-nozlib.phar; \
/PHP-7.3/ext/standard/html_tables/
H A Dhtml_table_gen.php199 $cp = $i << 6 | $j; variable
200 $mstable[$i][$j] = isset($mappy[$cp]) ? $mappy[$cp] : NULL;
/PHP-7.3/ext/pdo_firebird/
H A Dfirebird_statement.c211 char *cp; in firebird_stmt_describe() local
219 cp = ZSTR_VAL(col->name); in firebird_stmt_describe()
221 memmove(cp, var->relname, var->relname_length); in firebird_stmt_describe()
222 cp += var->relname_length; in firebird_stmt_describe()
223 *cp++ = '.'; in firebird_stmt_describe()
225 memmove(cp, var->aliasname, var->aliasname_length); in firebird_stmt_describe()
226 *(cp+var->aliasname_length) = '\0'; in firebird_stmt_describe()

Completed in 68 milliseconds

12