Lines Matching refs:cgo
19 // forceCgoLookupHost forces CGO to always be used, if available.
23 netCgo bool // cgo DNS resolution forced
50 confVal.netCgo = netCgo || dnsMode == "cgo"
62 println("go package net: using cgo DNS resolver")
70 // their own DNS requests. So always use cgo instead, which
78 // force cgo. Note that LOCALDOMAIN can change behavior merely
104 // had something important in it and defer to cgo.
115 // canUseCgo reports whether calling cgo functions is allowed
192 // libc might (via Avahi, etc) and use cgo.
214 // conservatively assume we should use cgo if it's
260 // Cases where Go can handle it without cgo and C thread
283 // cgo // use cgo for DNS lookups
285 // cgo+1 // use cgo for DNS lookups + debug level 1
286 // 1+cgo // same
287 // cgo+2 // same, but debug level 2