func internal/bytealg.IndexByteString

41 uses

	internal/bytealg (current package)
		indexbyte_native.go#L13: func IndexByteString(s string, c byte) int

	internal/filepathlite
		path_unix.go#L28: 	if bytealg.IndexByteString(path, 0) >= 0 {

	internal/stringslite
		strings.go#L25: 	return bytealg.IndexByteString(s, c)

	bytes
		bytes.go#L180: 		if bytealg.IndexByteString(chars, s[0]) >= 0 {
		bytes.go#L206: 			if bytealg.IndexByteString(chars, s[i]) >= 0 {
		bytes.go#L267: 		if bytealg.IndexByteString(chars, s[0]) >= 0 {
		bytes.go#L289: 			if bytealg.IndexByteString(chars, s[i-1]) >= 0 {

	net
		conf.go#L252: 		if bytealg.IndexByteString(hostname, '\\') != -1 || bytealg.IndexByteString(hostname, '%') != -1 {
		conf.go#L500: 	if i := bytealg.IndexByteString(goDebug, '+'); i != -1 {
		dnsclient.go#L157: 	if bytealg.IndexByteString(s, '.') != -1 && s[len(s)-1] != '.' {
		dnsconfig_unix.go#L153: 	if i := bytealg.IndexByteString(hn, '.'); i >= 0 && i < len(hn)-1 {
		hosts.go#L78: 			if i := bytealg.IndexByteString(line, '#'); i >= 0 {
		ipsock.go#L183: 		end := bytealg.IndexByteString(hostport, ']')
		ipsock.go#L205: 		if bytealg.IndexByteString(host, ':') >= 0 {
		ipsock.go#L209: 	if bytealg.IndexByteString(hostport[j:], '[') >= 0 {
		ipsock.go#L212: 	if bytealg.IndexByteString(hostport[k:], ']') >= 0 {
		ipsock.go#L239: 	if bytealg.IndexByteString(host, ':') >= 0 {
		lookup_unix.go#L28: 		if i := bytealg.IndexByteString(line, '#'); i >= 0 {
		nss.go#L172: 		colon := bytealg.IndexByteString(line, ':')
		nss.go#L184: 			sp := bytealg.IndexByteString(srcs, ' ')
		nss.go#L196: 				bclose := bytealg.IndexByteString(srcs, ']')
		nss.go#L232: 		eq := bytealg.IndexByteString(f, '=')
		parse.go#L95: 		if bytealg.IndexByteString(t, s[i]) >= 0 {
		parse.go#L108: 		if bytealg.IndexByteString(t, s[i]) >= 0 {
		parse.go#L229: 	if i := bytealg.IndexByteString(line, '#'); i != -1 {
		parse.go#L240: 		sp := bytealg.IndexByteString(x, ' ')
		port_unix.go#L27: 		if i := bytealg.IndexByteString(line, '#'); i >= 0 {

	net/netip
		netip.go#L214: 	i := bytealg.IndexByteString(s, '%')

	path
		match.go#L45: 			return bytealg.IndexByteString(name, '/') < 0, nil

	runtime
		error.go#L315: 		i := bytealg.IndexByteString(s, '\n')
		error.go#L337: 	i := bytealg.IndexByteString(name, '(')
		error.go#L346: 	i = bytealg.IndexByteString(name, ')')
		runtime1.go#L476: 			i := bytealg.IndexByteString(p, ',')
		runtime1.go#L494: 		i := bytealg.IndexByteString(field, '=')
		string.go#L543: 		if i := bytealg.IndexByteString(t, 0); i != -1 {
		traceback.go#L743: 	i := bytealg.IndexByteString(name, '[')
		traceback.go#L1145: 	return bytealg.IndexByteString(name, '.') >= 0 && (!stringslite.HasPrefix(name, "runtime.") || isExportedRuntime(name))

	strconv
		bytealg.go#L13: 	return bytealg.IndexByteString(s, c)

	syscall
		exec_unix.go#L87: 		if bytealg.IndexByteString(s, 0) != -1 {
		syscall.go#L49: 	if bytealg.IndexByteString(s, 0) != -1 {