Home
last modified time | relevance | path

Searched refs:path_str (Results 1 – 2 of 2) sorted by relevance

/PHP-7.2/ext/sockets/
H A Dconversions.c645 zend_string *path_str; in from_zval_write_sun_path() local
648 path_str = zval_get_string((zval *) path); in from_zval_write_sun_path()
653 if (ZSTR_LEN(path_str) == 0) { in from_zval_write_sun_path()
657 if (ZSTR_LEN(path_str) >= sizeof(saddr->sun_path)) { in from_zval_write_sun_path()
663 memcpy(&saddr->sun_path, ZSTR_VAL(path_str), ZSTR_LEN(path_str)); in from_zval_write_sun_path()
664 saddr->sun_path[ZSTR_LEN(path_str)] = '\0'; in from_zval_write_sun_path()
666 zend_string_release(path_str); in from_zval_write_sun_path()
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_bp.c265 zend_string *path_str; in phpdbg_set_breakpoint_file() local
298 path_str = zend_string_init(path, path_len, 0); in phpdbg_set_breakpoint_file()
300 if (!(broken = zend_hash_find_ptr(file_breaks, path_str))) { in phpdbg_set_breakpoint_file()
304 broken = zend_hash_add_mem(file_breaks, path_str, &breaks, sizeof(HashTable)); in phpdbg_set_breakpoint_file()
323 … = phpdbg_resolve_pending_file_break_ex(ZSTR_VAL(file), ZSTR_LEN(file), path_str, broken)) == NULL… in phpdbg_set_breakpoint_file()
343 zend_string_release(path_str); in phpdbg_set_breakpoint_file()

Completed in 25 milliseconds