Lines Matching refs:strlen

1398                 if (strlen($temp) == 255) {
1433 if (strlen($extra)) {
1461 if (is_bool($response) || !strlen($response) || ord($response[0]) != NET_SSH2_MSG_KEXINIT) {
1613 || !strlen($kexinit_payload_server)
1798 $data = pack('CNa*', constant($clientKexInitMessage), strlen($ourPublicBytes), $ourPublicBytes);
1833 if (strlen($this->signature) < 4) {
1907 $keyBytes = pack('Na*', strlen($keyBytes), $keyBytes);
1921 while ($this->encrypt_block_size > strlen($iv)) {
1941 while ($encryptKeyLength > strlen($key)) {
1966 while ($this->decrypt_block_size > strlen($iv)) {
1987 while ($decryptKeyLength > strlen($key)) {
2025 while ($createKeyLength > strlen($key)) {
2046 while ($checkKeyLength > strlen($key)) {
2387 if (strlen($this->last_interactive_response)) {
2529 if (strlen($this->last_interactive_response)) {
2562 if (substr($prompt, 0, strlen($key)) == $key) {
2571 if (strlen($this->last_interactive_response)) {
3179 $pos = strlen($match) ? strpos($this->interactiveBuffer, $match) : false;
3181 return Strings::shift($this->interactiveBuffer, $pos + strlen($match));
3185 return Strings::shift($this->interactiveBuffer, strlen($this->interactiveBuffer));
3571 if (!strlen($raw)) {
3650 if (strlen($raw) < 5) {
3669 if (strlen($buffer)) {
3678 if ($hmac === false || strlen($hmac) != $this->hmac_size) {
3801 $remaining_length -= strlen($temp);
3865 if (strlen($payload) == 31) {
4095 $this->window_size_server_to_client[$channel] -= strlen($response);
4140 if (strlen($error_message)) {
4309 $packet_length = strlen($data) + 9;
4315 // subtracting strlen($data) is obvious - subtracting 5 is necessary because of packet_length and padding_length
4316 $padding_length = $packet_length - strlen($data) - 5;
4408 if (strlen($packet) != $sent) {
4411 'Unable to write ' . strlen($packet) . ' bytes' :
4412 "Only $sent of " . strlen($packet) . " bytes were sent";
4456 if (strlen($message_number) > 2) {
4474 $log_size += strlen($message);
4477 $log_size -= strlen(array_shift($message_log));
4515 fseek($realtime_log_file, ftell($realtime_log_file) - strlen($temp));
4517 $realtime_log_size += strlen($entry);
4520 $realtime_log_size = strlen($entry);
4538 while (strlen($data)) {
4562 $this->window_size_client_to_server[$client_channel] -= strlen($temp);
4708 if (strlen($current_log)) {
4714 }, $fragment), strlen($this->log_boundary));
4721 } while (strlen($current_log));