HomeSort by relevance Sort by last modified time
    Searched refs:varlen (Results 1 - 10 of 10) sorted by null

  /external/syzkaller/pkg/compiler/
compiler.go 150 if varlen, ok := comp.structVarlen[name]; ok {
151 return varlen
155 if varlen, _ := comp.parseUnionAttrs(s); varlen {
161 varlen := false
164 varlen = true
168 comp.structVarlen[name] = varlen
169 return varlen
172 func (comp *compiler) parseUnionAttrs(n *ast.Struct) (varlen bool, size uint64) {
176 case "varlen"
    [all...]
gen.go 134 if !f.Varlen() && f.Size() == sizeUnassigned {
168 if !t.Type.Varlen() && t.Type.Size() == sizeUnassigned {
175 if t.Kind == prog.ArrayRangeLen && t.RangeBegin == t.RangeEnd && !t.Type.Varlen() {
187 varlen := false
189 if f.Varlen() {
190 varlen = true
195 t.Fields = comp.addAlignment(t.Fields, varlen, packed, alignAttr)
198 if !varlen {
224 varlen, sizeAttr := comp.parseUnionAttrs(structNode)
226 if !varlen {
    [all...]
check.go 271 comp.error(attr.Pos, "varlen %v %v has size attribute",
997 return desc.Varlen != nil && desc.Varlen(comp, t, args)
1006 // Non-varlen unions can't have varlen fields.
1007 // Non-packed structs can't have varlen fields in the middle.
1009 if varlen, _ := comp.parseUnionAttrs(n); varlen {
1023 comp.error(f.Pos, "variable size field %v in non-varlen union %v",
types.go 30 // Varlen returns if the type is variable-length (false if not set).
31 Varlen func(comp *compiler, t *ast.Type, args []*ast.Type) bool
138 Varlen: func(comp *compiler, t *ast.Type, args []*ast.Type) bool {
395 Varlen: func(comp *compiler, t *ast.Type, args []*ast.Type) bool {
437 // BufferBlobRand is always varlen.
478 Varlen: func(comp *compiler, t *ast.Type, args []*ast.Type) bool {
677 // Varlen/Gen are assigned below due to initialization cycle.
700 typeStruct.Varlen = func(comp *compiler, t *ast.Type, args []*ast.Type) bool {
722 comp.genStructDesc(desc, s, base.ArgDir, typeStruct.Varlen(comp, t, args))
853 ] [varlen]
    [all...]
  /external/kmod/tools/
modprobe.c 270 size_t cmdlen, cmdline_opts_len, varlen; local
281 varlen = sizeof("$CMDLINE_OPTS") - 1;
284 size_t suffixlen = cmdlen - prefixlen - varlen;
285 size_t slen = cmdlen - varlen + cmdline_opts_len;
286 char *suffix = p + varlen;
  /external/syzkaller/prog/
analysis.go 142 varlen := a.Type().Varlen()
143 if varlen && totalSize > claimedSize || !varlen && totalSize != claimedSize {
any.go 36 // ] [varlen]
172 if typ.Varlen() {
177 if typ.Varlen() && len(typ.Fields) > 5 {
252 if !arg.Type().Varlen() {
331 if typ, ok := arg.Type().(*StructType); ok && typ.Varlen() && typ.AlignAttr != 0 {
  /external/libcups/cups/
snmp.c 1095 varlen, /* Length of variable */ local
1134 varlen = 1 + asn1_size_length(namelen) + namelen +
1136 listlen = 1 + asn1_size_length(varlen) + varlen;
1183 asn1_set_length(&bufptr, varlen);
    [all...]
  /external/kmod/libkmod/
libkmod-module.c 1000 size_t cmdlen, options_len, varlen; local
1009 varlen = sizeof("$CMDLINE_OPTS") - 1;
1017 size_t suffixlen = cmdlen - prefixlen - varlen;
1018 size_t slen = cmdlen - varlen + options_len;
1019 char *suffix = p + varlen;
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
regcomp.c 2301 int varlen = 0; local
3271 int r, i, j, len, varlen; local
    [all...]

Completed in 128 milliseconds