Lines Matching refs:substr

145 	$lo = abs((float)substr($v, $p));
146 $hi = abs((float)substr($v, 0, $p));
190 $lo = (int)substr ( $v, $p );
191 $hi = (int)substr ( $v, 0, $p );
214 $lo = (float)substr($v, $p);
215 $hi = (float)substr($v, 0, $p);
498 if ( substr ( $host, 0, 7 )=="unix://" )
658 list(,$wlen) = unpack ( "N*", substr ( $response, 0, 4 ) );
659 $this->_warning = substr ( $response, 4, $wlen );
660 return substr ( $response, 4+$wlen );
664 $this->_error = "searchd error: " . substr ( $response, 4 );
669 $this->_error = "temporary searchd error: " . substr ( $response, 4 );
1142 list(,$status) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1146 list(,$len) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1147 $message = substr ( $response, $p, $len ); $p += $len;
1163 list(,$nfields) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1166 list(,$len) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1167 $fields[] = substr ( $response, $p, $len ); $p += $len;
1171 list(,$nattrs) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1174 list(,$len) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1175 $attr = substr ( $response, $p, $len ); $p += $len;
1176 list(,$type) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1182 list(,$count) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1183 list(,$id64) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1195 $doc = sphUnpackU64 ( substr ( $response, $p, 8 ) ); $p += 8;
1196 list(,$weight) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1201 substr ( $response, $p, 8 ) ) );
1220 $attrvals[$attr] = sphUnpackI64 ( substr ( $response, $p, 8 ) ); $p += 8;
1227 list(,$uval) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1234 list(,$val) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1241 list(,$val) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1257 array_values ( unpack ( "N*N*N*N*", substr ( $response, $p, 16 ) ) );
1265 list(,$len) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1266 $word = substr ( $response, $p, $len ); $p += $len;
1267 … list ( $docs, $hits ) = array_values ( unpack ( "N*N*", substr ( $response, $p, 8 ) ) ); $p += 8;
1365 list(,$len) = unpack ( "N*", substr ( $response, $pos, 4 ) );
1374 $res[] = $len ? substr ( $response, $pos, $len ) : "";
1433 list(,$nwords) = unpack ( "N*", substr ( $response, $pos, 4 ) );
1437 list(,$len) = unpack ( "N*", substr ( $response, $pos, 4 ) ); $pos += 4;
1438 $tokenized = $len ? substr ( $response, $pos, $len ) : "";
1441 list(,$len) = unpack ( "N*", substr ( $response, $pos, 4 ) ); $pos += 4;
1442 $normalized = $len ? substr ( $response, $pos, $len ) : "";
1449 list($ndocs,$nhits) = array_values ( unpack ( "N*N*", substr ( $response, $pos, 8 ) ) );
1545 list(,$updated) = unpack ( "N*", substr ( $response, 0, 4 ) );
1607 $res = substr ( $response, 4 ); // just ignore length, error handling, etc
1609 list ( $rows, $cols ) = array_values ( unpack ( "N*N*", substr ( $response, $p, 8 ) ) ); $p += 8;
1615 list(,$len) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4;
1616 $res[$i][] = substr ( $response, $p, $len ); $p += $len;