Lines Matching refs:firstNonWS
27 firstNonWS := 0
28 for ; firstNonWS < len(data) && isWS(data[firstNonWS]); firstNonWS++ {
32 if ct := sig.match(data, firstNonWS); ct != "" {
46 match(data []byte, firstNonWS int) string
112 func (e *exactSig) match(data []byte, firstNonWS int) string {
125 func (m *maskedSig) match(data []byte, firstNonWS int) string {
127 data = data[firstNonWS:]
143 func (h htmlSig) match(data []byte, firstNonWS int) string {
144 data = data[firstNonWS:]
166 func (mp4Sig) match(data []byte, firstNonWS int) string {
202 func (textSig) match(data []byte, firstNonWS int) string {
204 for _, b := range data[firstNonWS:] {