• Home
  • Raw
  • Download

Lines Matching refs:calls

252 func (r *randGen) createResource(s *state, res *ResourceType) (arg Arg, calls []*Call) {
289 calls := r.generateParticularCall(s, meta)
291 s1.analyze(calls[len(calls)-1])
302 return arg, calls
308 for _, c := range calls {
408 func (r *randGen) generateParticularCall(s *state, meta *Syscall) (calls []*Call) {
413 c.Args, calls = r.generateArgs(s, meta.Args)
415 calls = append(calls, c)
416 for _, c1 := range calls {
419 return calls
435 calls := r.generateParticularCall(s, meta)
436 for _, c := range calls {
464 var calls []*Call
474 calls = append(calls, calls1...)
477 return args, calls
480 func (r *randGen) generateArg(s *state, typ Type) (arg Arg, calls []*Call) {
484 func (r *randGen) generateArgImpl(s *state, typ Type, ignoreSpecial bool) (arg Arg, calls []*Call) {
535 func (a *ResourceType) generate(r *randGen, s *state) (arg Arg, calls []*Call) {
549 arg, calls = r.createResource(s, a)
553 arg, calls = r.createResource(s, a)
558 return arg, calls
561 func (a *BufferType) generate(r *randGen, s *state) (arg Arg, calls []*Call) {
608 func (a *VmaType) generate(r *randGen, s *state) (arg Arg, calls []*Call) {
616 func (a *FlagsType) generate(r *randGen, s *state) (arg Arg, calls []*Call) {
620 func (a *ConstType) generate(r *randGen, s *state) (arg Arg, calls []*Call) {
624 func (a *IntType) generate(r *randGen, s *state) (arg Arg, calls []*Call) {
642 func (a *ProcType) generate(r *randGen, s *state) (arg Arg, calls []*Call) {
646 func (a *ArrayType) generate(r *randGen, s *state) (arg Arg, calls []*Call) {
658 calls = append(calls, calls1...)
660 return MakeGroupArg(a, inner), calls
663 func (a *StructType) generate(r *randGen, s *state) (arg Arg, calls []*Call) {
664 args, calls := r.generateArgs(s, a.Fields)
666 return group, calls
669 func (a *UnionType) generate(r *randGen, s *state) (arg Arg, calls []*Call) {
671 opt, calls := r.generateArg(s, optType)
672 return MakeUnionArg(a, opt), calls
675 func (a *PtrType) generate(r *randGen, s *state) (arg Arg, calls []*Call) {
676 inner, calls := r.generateArg(s, a.Type)
678 return arg, calls
681 func (a *LenType) generate(r *randGen, s *state) (arg Arg, calls []*Call) {
686 func (a *CsumType) generate(r *randGen, s *state) (arg Arg, calls []*Call) {