Home
last modified time | relevance | path

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

123

/PHP-7.1/ext/standard/
H A Ddns.c494 snprintf(name, sizeof(name), "%d.%d.%d.%d", cp[0], cp[1], cp[2], cp[3]); in php_parserr()
530 cp++; in php_parserr()
536 cp++; in php_parserr()
548 cp++; in php_parserr()
552 cp++; in php_parserr()
661 cp++; in php_parserr()
759 cp++; in php_parserr()
766 cp++; in php_parserr()
988 while (an-- && cp && cp < end) { in PHP_FUNCTION()
1001 while (ns-- > 0 && cp && cp < end) { in PHP_FUNCTION()
[all …]
H A Dcrypt_sha256.c356 char *cp; in php_sha256_crypt_r() local
458 cp = p_bytes = alloca(key_len); in php_sha256_crypt_r()
460 cp = __php_mempcpy((void *)cp, (const void *)temp_result, 32); in php_sha256_crypt_r()
462 memcpy(cp, temp_result, cnt); in php_sha256_crypt_r()
476 cp = s_bytes = alloca(salt_len); in php_sha256_crypt_r()
478 cp = __php_mempcpy(cp, temp_result, 32); in php_sha256_crypt_r()
480 memcpy(cp, temp_result, cnt); in php_sha256_crypt_r()
527 cp += n; in php_sha256_crypt_r()
531 cp = __php_stpncpy(cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in php_sha256_crypt_r()
535 *cp++ = '$'; in php_sha256_crypt_r()
[all …]
H A Dcrypt_sha512.c389 char *cp; in php_sha512_crypt_r() local
492 cp = p_bytes = alloca(key_len); in php_sha512_crypt_r()
494 cp = __php_mempcpy((void *) cp, (const void *)temp_result, 64); in php_sha512_crypt_r()
497 memcpy(cp, temp_result, cnt); in php_sha512_crypt_r()
511 cp = s_bytes = alloca(salt_len); in php_sha512_crypt_r()
513 cp = __php_mempcpy(cp, temp_result, 64); in php_sha512_crypt_r()
515 memcpy(cp, temp_result, cnt); in php_sha512_crypt_r()
562 cp += n; in php_sha512_crypt_r()
566 cp = __php_stpncpy(cp, salt, MIN((size_t) MAX(0, buflen), salt_len)); in php_sha512_crypt_r()
570 *cp++ = '$'; in php_sha512_crypt_r()
[all …]
H A Dflock_compat.c181 int inet_aton(const char *cp, struct in_addr *ap) in inet_aton() argument
187 register char cc = *cp; in inet_aton()
220 } while (*cp++) ; in inet_aton()
/PHP-7.1/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.1/ext/intl/uchar/
H A Duchar.c10 zend_long cp = -1; in convert_cp() local
35 if ((cp < UCHAR_MIN_VALUE) || (cp > UCHAR_MAX_VALUE)) { in convert_cp()
52 UChar32 cp; in IC_METHOD() local
79 UChar32 cp; in IC_METHOD() local
97 UChar32 cp; in IC_METHOD() local
116 UChar32 cp; in IC_METHOD() local
164 UChar32 cp; in IC_METHOD() local
226 UChar32 cp; in ZEND_END_ARG_INFO() local
244 UChar32 cp; in ZEND_END_ARG_INFO() local
463 UChar32 cp; in IC_METHOD() local
[all …]
/PHP-7.1/win32/
H A Dcodepage.c309 if (!cp->name || !cp->name[0]) { in php_win32_cp_get_by_enc()
314 return cp; in php_win32_cp_get_by_enc()
317 if (cp->enc) { in php_win32_cp_get_by_enc()
324 return cp; in php_win32_cp_get_by_enc()
331 return cp; in php_win32_cp_get_by_enc()
490 cp = cur_cp; in php_win32_cp_cli_do_setup()
493 if (!cp) { in php_win32_cp_cli_do_setup()
498 return cp; in php_win32_cp_cli_do_setup()
501 return cp; in php_win32_cp_cli_do_setup()
546 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.h23 PHPAPI int inet_aton(const char *cp, struct in_addr *inp);
/PHP-7.1/ext/bcmath/libbcmath/
H A DMakefile.am9 cp $(srcdir)/doc/bcmath.1 $(distdir)/doc
10 cp $(srcdir)/src/private.h $(distdir)/src
11 cp $(srcdir)/FAQ $(distdir)
/PHP-7.1/ext/curl/
H A Dinterface.c1976 CURL *cp; in PHP_FUNCTION() local
1984 cp = curl_easy_init(); in PHP_FUNCTION()
1985 if (!cp) { in PHP_FUNCTION()
1992 ch->cp = cp; in PHP_FUNCTION()
2089 CURL *cp; in PHP_FUNCTION() local
2101 cp = curl_easy_duphandle(ch->cp); in PHP_FUNCTION()
2102 if (!cp) { in PHP_FUNCTION()
2108 dupch->cp = cp; in PHP_FUNCTION()
3376 if (ch->cp != NULL) { in _php_curl_close_ex()
3380 curl_easy_cleanup(ch->cp); in _php_curl_close_ex()
[all …]
H A Dmulti.c104 error = curl_multi_add_handle(mh->multi, ch->cp); in PHP_FUNCTION()
153 if (tmp_ch->cp == easy) { in _php_curl_multi_find_easy_handle()
184 error = curl_multi_remove_handle(mh->multi, ch->cp); in PHP_FUNCTION()
499 ch->cp = easy; in _php_server_push_callback()
541 ch->cp = NULL; in _php_server_push_callback()
/PHP-7.1/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.1/
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.1/ext/dba/
H A Dinstall_cdb.sh42 cp ../error.o .
51 cp cdb.h uint32.h "$prefix/include"
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_env.c29 char *cp; in setenv() local
35 if ((cp = malloc(strlen(name) + strlen(value) + 2)) == 0) { in setenv()
38 sprintf(cp, "%s=%s", name, value); in setenv()
39 return putenv(cp); in setenv()
/PHP-7.1/build/
H A Dbuild.mk45 cd .. && cp -rp $$myname $$distname; \
49 test -d $$i || (test -d ../$$i && cp -rp ../$$i $$i); \
/PHP-7.1/ext/filter/tests/
H A D040.phpt8 ap[]=1&bp=test&cp=
16 var_dump(filter_has_var(INPUT_POST, "cp"));
/PHP-7.1/ext/date/lib/
H A Dtimelib.m449 char *cp = (char *)&one;
51 if (*cp == 0) {
/PHP-7.1/scripts/dev/
H A Dphpextdist20 cp -rp $myname $distname
/PHP-7.1/scripts/
H A Dphpize.in147 (cd "$phpdir" && cp $FILES_BUILD "$builddir"/build)
148 (cd "$phpdir" && cp $FILES "$builddir")
/PHP-7.1/ext/pdo_firebird/
H A Dfirebird_statement.c204 char *cp; in firebird_stmt_describe() local
212 cp = ZSTR_VAL(col->name); in firebird_stmt_describe()
214 memmove(cp, var->relname, var->relname_length); in firebird_stmt_describe()
215 cp += var->relname_length; in firebird_stmt_describe()
216 *cp++ = '.'; in firebird_stmt_describe()
218 memmove(cp, var->aliasname, var->aliasname_length); in firebird_stmt_describe()
219 *(cp+var->aliasname_length) = '\0'; in firebird_stmt_describe()

Completed in 165 milliseconds

123