Lines Matching refs:strlen

144 	$p = max(0, strlen($v) - 13);
189 $p = max ( 0, strlen($v) - 13 );
213 $p = max(0, strlen($v) - 13);
628 if ( strlen($header)==8 )
638 $left -= strlen($chunk);
646 $read = strlen ( $response );
753 assert ( $mode==SPH_SORT_RELEVANCE || strlen($sortby)>0 );
983 $req .= pack ( "N", strlen($this->_sortby) ) . $this->_sortby;
984 $req .= pack ( "N", strlen($query) ) . $query; // query itself
988 $req .= pack ( "N", strlen($index) ) . $index; // indexes
996 $req .= pack ( "N", strlen($filter["attr"]) ) . $filter["attr"];
1021 $req .= pack ( "NN", $this->_groupfunc, strlen($this->_groupby) ) . $this->_groupby;
1023 $req .= pack ( "N", strlen($this->_groupsort) ) . $this->_groupsort;
1025 $req .= pack ( "N", strlen($this->_groupdistinct) ) . $this->_groupdistinct;
1035 $req .= pack ( "N", strlen($a["attrlat"]) ) . $a["attrlat"];
1036 $req .= pack ( "N", strlen($a["attrlong"]) ) . $a["attrlong"];
1043 $req .= pack ( "N", strlen($idx) ) . $idx . pack ( "N", $weight );
1051 $req .= pack ( "N", strlen($field) ) . $field . pack ( "N", $weight );
1054 $req .= pack ( "N", strlen($comment) ) . $comment;
1060 $req .= pack ( "N", strlen($entry["attr"]) ) . $entry["attr"];
1078 $req .= pack ( "N", strlen($this->_select) ) . $this->_select;
1109 $len = 4+strlen($req);
1130 $max = strlen($response); // max position for checks, to protect against broken responses
1325 $req .= pack ( "N", strlen($index) ) . $index; // req index
1326 $req .= pack ( "N", strlen($words) ) . $words; // req words
1329 $req .= pack ( "N", strlen($opts["before_match"]) ) . $opts["before_match"];
1330 $req .= pack ( "N", strlen($opts["after_match"]) ) . $opts["after_match"];
1331 $req .= pack ( "N", strlen($opts["chunk_separator"]) ) . $opts["chunk_separator"];
1340 $req .= pack ( "N", strlen($doc) ) . $doc;
1347 $len = strlen($req);
1362 $rlen = strlen($response);
1409 $req = pack ( "N", strlen($query) ) . $query; // req query
1410 $req .= pack ( "N", strlen($index) ) . $index; // req index
1417 $len = strlen($req);
1432 $rlen = strlen($response);
1510 $req = pack ( "N", strlen($index) ) . $index;
1515 $req .= pack ( "N", strlen($attr) ) . $attr;
1536 $len = strlen($req);