Searched refs:sw_strndup (Results 1 – 4 of 4) sorted by relevance
232 #define sw_strndup swoole_strndup macro235 #define sw_strndup strndup macro
227 return sw_likely(len() > 0) ? sw_strndup(val(), len()) : nullptr; in dup()
683 cli->server_str = sw_strndup(conn_key.c_str(), conn_key.length()); in php_swoole_client_new()
503 return sw_strndup(ptr, end - ptr); in swoole_dec2hex()