Home
last modified time | relevance | path

Searched refs:minfo (Results 1 – 25 of 40) sorted by relevance

12

/external/libnl/lib/idiag/
Didiag_meminfo_obj.c28 void idiagnl_meminfo_get(struct idiagnl_meminfo *minfo) in idiagnl_meminfo_get() argument
30 nl_object_get((struct nl_object *) minfo); in idiagnl_meminfo_get()
33 void idiagnl_meminfo_put(struct idiagnl_meminfo *minfo) in idiagnl_meminfo_put() argument
35 nl_object_put((struct nl_object *) minfo); in idiagnl_meminfo_put()
42 uint32_t idiagnl_meminfo_get_rmem(const struct idiagnl_meminfo *minfo) in idiagnl_meminfo_get_rmem() argument
44 return minfo->idiag_rmem; in idiagnl_meminfo_get_rmem()
47 void idiagnl_meminfo_set_rmem(struct idiagnl_meminfo *minfo, uint32_t rmem) in idiagnl_meminfo_set_rmem() argument
49 minfo->idiag_rmem = rmem; in idiagnl_meminfo_set_rmem()
52 uint32_t idiagnl_meminfo_get_wmem(const struct idiagnl_meminfo *minfo) in idiagnl_meminfo_get_wmem() argument
54 return minfo->idiag_wmem; in idiagnl_meminfo_get_wmem()
[all …]
Didiag_msg_obj.c332 *minfo) in idiagnl_msg_set_meminfo()
337 idiagnl_meminfo_get(minfo); in idiagnl_msg_set_meminfo()
338 msg->idiag_meminfo = minfo; in idiagnl_msg_set_meminfo()
662 struct idiagnl_meminfo *minfo = idiagnl_meminfo_alloc(); in idiagnl_msg_parse() local
665 if (!minfo) in idiagnl_msg_parse()
671 idiagnl_meminfo_set_rmem(minfo, raw_minfo->idiag_rmem); in idiagnl_msg_parse()
672 idiagnl_meminfo_set_wmem(minfo, raw_minfo->idiag_wmem); in idiagnl_msg_parse()
673 idiagnl_meminfo_set_fmem(minfo, raw_minfo->idiag_fmem); in idiagnl_msg_parse()
674 idiagnl_meminfo_set_tmem(minfo, raw_minfo->idiag_tmem); in idiagnl_msg_parse()
676 msg->idiag_meminfo = minfo; in idiagnl_msg_parse()
/external/javassist/src/main/javassist/compiler/
DAccessorMaker.java52 MethodInfo minfo in getConstructor() local
54 minfo.setAccessFlags(0); in getConstructor()
55 minfo.addAttribute(new SyntheticAttribute(cp)); in getConstructor()
58 minfo.addAttribute(ea.copy(cp, null)); in getConstructor()
70 minfo.setCodeAttribute(code.toCodeAttribute()); in getConstructor()
71 cf.addMethod(minfo); in getConstructor()
111 MethodInfo minfo in getMethodAccessor() local
113 minfo.setAccessFlags(AccessFlag.STATIC); in getMethodAccessor()
114 minfo.addAttribute(new SyntheticAttribute(cp)); in getMethodAccessor()
117 minfo.addAttribute(ea.copy(cp, null)); in getMethodAccessor()
[all …]
DMemberCodeGen.java586 MethodInfo minfo = found.info; in atMethodCallCore2() local
587 String desc = minfo.getDescriptor(); in atMethodCallCore2()
588 int acc = minfo.getAccessFlags(); in atMethodCallCore2()
596 desc = getAccessibleConstructor(desc, declClass, minfo); in atMethodCallCore2()
613 minfo, declClass); in atMethodCallCore2()
660 String newDesc, MethodInfo minfo, in getAccessiblePrivate() argument
668 minfo); in getAccessiblePrivate()
685 MethodInfo minfo) in getAccessibleConstructor() argument
691 return maker.getConstructor(declClass, desc, minfo); in getAccessibleConstructor()
840 MethodInfo minfo = maker.getFieldSetter(finfo, is_static); in atFieldAssignCore() local
[all …]
/external/javassist/src/main/javassist/expr/
DExprEditor.java78 public boolean doit(CtClass clazz, MethodInfo minfo) in doit() argument
81 CodeAttribute codeAttr = minfo.getCodeAttribute(); in doit()
90 if (loopBody(iterator, clazz, minfo, context)) in doit()
96 Handler h = new Handler(et, i, iterator, clazz, minfo); in doit()
112 minfo.rebuildStackMapIf6(clazz.getClassPool(), in doit()
125 boolean doit(CtClass clazz, MethodInfo minfo, LoopContext context, in doit() argument
132 if (loopBody(iterator, clazz, minfo, context)) { in doit()
176 MethodInfo minfo, LoopContext context) in loopBody() argument
190 expr = new MethodCall(pos, iterator, clazz, minfo); in loopBody()
196 expr = new FieldAccess(pos, iterator, clazz, minfo, c); in loopBody()
[all …]
/external/javassist/src/main/javassist/bytecode/
DClassFile.java171 MethodInfo minfo = (MethodInfo)list.get(i); in compact() local
172 minfo.compact(cp); in compact()
236 MethodInfo minfo = (MethodInfo)list.get(i); in prune() local
237 minfo.prune(cp); in prune()
373 MethodInfo minfo = (MethodInfo)list.get(i); in setSuperclass() local
374 minfo.setSuperclass(superclass); in setSuperclass()
415 MethodInfo minfo = (MethodInfo)list.get(i); in renameClass() local
416 String desc = minfo.getDescriptor(); in renameClass()
417 minfo.setDescriptor(Descriptor.rename(desc, oldname, newname)); in renameClass()
418 AttributeInfo.renameClass(minfo.getAttributes(), oldname, newname); in renameClass()
[all …]
DConstPool.java246 MemberrefInfo minfo = (MemberrefInfo)getItem(index); in getMemberClass() local
247 return minfo.classIndex; in getMemberClass()
260 MemberrefInfo minfo = (MemberrefInfo)getItem(index); in getMemberNameAndType() local
261 return minfo.nameAndTypeIndex; in getMemberNameAndType()
347 MethodrefInfo minfo = (MethodrefInfo)getItem(index); in getMethodrefClass() local
348 return minfo.classIndex; in getMethodrefClass()
359 MethodrefInfo minfo = (MethodrefInfo)getItem(index); in getMethodrefClassName() local
360 if (minfo == null) in getMethodrefClassName()
363 return getClassInfo(minfo.classIndex); in getMethodrefClassName()
372 MethodrefInfo minfo = (MethodrefInfo)getItem(index); in getMethodrefNameAndType() local
[all …]
DClassFilePrinter.java79 MethodInfo minfo = (MethodInfo)list.get(i); in print() local
80 int acc = minfo.getAccessFlags(); in print()
82 + " " + minfo.getName() + "\t" in print()
83 + minfo.getDescriptor()); in print()
84 printAttributes(minfo.getAttributes(), out, 'm'); in print()
/external/javassist/src/main/javassist/
DCtNewMethod.java228 MethodInfo minfo = new MethodInfo(cp, methodName, desc); in getter() local
229 minfo.setAccessFlags(AccessFlag.PUBLIC); in getter()
247 minfo.setCodeAttribute(code.toCodeAttribute()); in getter()
248 return new CtMethod(minfo, field.getDeclaringClass()); in getter()
269 MethodInfo minfo = new MethodInfo(cp, methodName, desc); in setter() local
270 minfo.setAccessFlags(AccessFlag.PUBLIC); in setter()
291 minfo.setCodeAttribute(code.toCodeAttribute()); in setter()
292 return new CtMethod(minfo, field.getDeclaringClass()); in setter()
334 MethodInfo minfo = new MethodInfo(cp, methodName, desc); in delegator0() local
335 minfo.setAccessFlags(deleInfo.getAccessFlags()); in delegator0()
[all …]
DCtMethod.java36 CtMethod(MethodInfo minfo, CtClass declaring) { in CtMethod() argument
37 super(declaring, minfo); in CtMethod()
141 public static CtMethod make(MethodInfo minfo, CtClass declaring) in make() argument
144 if (declaring.getClassFile2().getConstPool() != minfo.getConstPool()) in make()
147 return new CtMethod(minfo, declaring); in make()
DCtConstructor.java36 protected CtConstructor(MethodInfo minfo, CtClass declaring) { in CtConstructor() argument
37 super(declaring, minfo); in CtConstructor()
353 MethodInfo minfo = method.getMethodInfo2(); in toMethod() local
354 CodeAttribute ca = minfo.getCodeAttribute(); in toMethod()
DCodeConverter.java492 protected void doit(CtClass clazz, MethodInfo minfo, ConstPool cp) in doit() argument
496 CodeAttribute codeAttr = minfo.getCodeAttribute(); in doit()
500 t.initialize(cp, clazz, minfo); in doit()
DCtClassType.java592 MethodInfo minfo) in toAnnotationType() argument
601 numParameters = Descriptor.numOfParameters(minfo.getDescriptor()); in toAnnotationType()
847 MethodInfo minfo = (MethodInfo)list.get(i); in makeBehaviorCache() local
848 if (minfo.isMethod()) { in makeBehaviorCache()
849 CtMethod newMethod = new CtMethod(minfo, this); in makeBehaviorCache()
853 CtConstructor newCons = new CtConstructor(minfo, this); in makeBehaviorCache()
1370 MethodInfo minfo = (MethodInfo)list.get(i); in instrument() local
1371 converter.doit(this, minfo, cp); in instrument()
1383 MethodInfo minfo = (MethodInfo)list.get(i); in instrument() local
1384 editor.doit(this, minfo); in instrument()
[all …]
/external/strace/
Dmtd.c155 struct mtd_info_user minfo; in decode_mtd_info_user() local
158 if (umove_or_printaddr(tcp, addr, &minfo)) in decode_mtd_info_user()
162 printxval(mtd_type_options, minfo.type, "MTD_???"); in decode_mtd_info_user()
164 printflags(mtd_flags_options, minfo.flags, "MTD_???"); in decode_mtd_info_user()
167 minfo.size, minfo.erasesize, minfo.writesize, minfo.oobsize, in decode_mtd_info_user()
168 (uint64_t) minfo.padding); in decode_mtd_info_user()
Dnetlink_sock_diag.c613 struct inet_diag_meminfo minfo; in decode_inet_diag_meminfo() local
615 if (len < sizeof(minfo)) in decode_inet_diag_meminfo()
617 if (umove_or_printaddr(tcp, addr, &minfo)) in decode_inet_diag_meminfo()
620 PRINT_FIELD_U("{", minfo, idiag_rmem); in decode_inet_diag_meminfo()
621 PRINT_FIELD_U(", ", minfo, idiag_wmem); in decode_inet_diag_meminfo()
622 PRINT_FIELD_U(", ", minfo, idiag_fmem); in decode_inet_diag_meminfo()
623 PRINT_FIELD_U(", ", minfo, idiag_tmem); in decode_inet_diag_meminfo()
/external/strace/tests-m32/
Dnlattr_inet_diag_msg.c102 static const struct inet_diag_meminfo minfo = { in main() local
110 INET_DIAG_MEMINFO, pattern, minfo, in main()
111 PRINT_FIELD_U("{", minfo, idiag_rmem); in main()
112 PRINT_FIELD_U(", ", minfo, idiag_wmem); in main()
113 PRINT_FIELD_U(", ", minfo, idiag_fmem); in main()
114 PRINT_FIELD_U(", ", minfo, idiag_tmem); in main()
/external/strace/tests/
Dnlattr_inet_diag_msg.c102 static const struct inet_diag_meminfo minfo = { in main() local
110 INET_DIAG_MEMINFO, pattern, minfo, in main()
111 PRINT_FIELD_U("{", minfo, idiag_rmem); in main()
112 PRINT_FIELD_U(", ", minfo, idiag_wmem); in main()
113 PRINT_FIELD_U(", ", minfo, idiag_fmem); in main()
114 PRINT_FIELD_U(", ", minfo, idiag_tmem); in main()
/external/strace/tests-mx32/
Dnlattr_inet_diag_msg.c102 static const struct inet_diag_meminfo minfo = { in main() local
110 INET_DIAG_MEMINFO, pattern, minfo, in main()
111 PRINT_FIELD_U("{", minfo, idiag_rmem); in main()
112 PRINT_FIELD_U(", ", minfo, idiag_wmem); in main()
113 PRINT_FIELD_U(", ", minfo, idiag_fmem); in main()
114 PRINT_FIELD_U(", ", minfo, idiag_tmem); in main()
/external/javassist/src/main/javassist/bytecode/stackmap/
DMapMaker.java84 public static StackMapTable make(ClassPool classes, MethodInfo minfo) in make() argument
87 CodeAttribute ca = minfo.getCodeAttribute(); in make()
91 TypedBlock[] blocks = TypedBlock.makeBlocks(minfo, ca, true); in make()
95 MapMaker mm = new MapMaker(classes, minfo, ca); in make()
105 public static StackMap make2(ClassPool classes, MethodInfo minfo) in make2() argument
108 CodeAttribute ca = minfo.getCodeAttribute(); in make2()
112 TypedBlock[] blocks = TypedBlock.makeBlocks(minfo, ca, true); in make2()
116 MapMaker mm = new MapMaker(classes, minfo, ca); in make2()
118 return mm.toStackMap2(minfo.getConstPool(), blocks); in make2()
121 public MapMaker(ClassPool classes, MethodInfo minfo, CodeAttribute ca) { in MapMaker() argument
[all …]
DTypedBlock.java40 public static TypedBlock[] makeBlocks(MethodInfo minfo, CodeAttribute ca, in makeBlocks() argument
44 TypedBlock[] blocks = (TypedBlock[])new Maker().make(minfo); in makeBlocks()
49 ConstPool pool = minfo.getConstPool(); in makeBlocks()
50 boolean isStatic = (minfo.getAccessFlags() & AccessFlag.STATIC) != 0; in makeBlocks()
52 pool.getClassName(), minfo.getDescriptor(), in makeBlocks()
53 isStatic, minfo.isConstructor()); in makeBlocks()
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java858 MethodInfo minfo = new MethodInfo(cp, "<clinit>", "()V"); in addMethodsHolder() local
859 minfo.setAccessFlags(AccessFlag.STATIC); in addMethodsHolder()
868 minfo.setCodeAttribute(code.toCodeAttribute()); in addMethodsHolder()
869 cf.addMethod(minfo); in addMethodsHolder()
875 MethodInfo minfo = new MethodInfo(cp, HANDLER_SETTER, in addSetter() local
877 minfo.setAccessFlags(AccessFlag.PUBLIC); in addSetter()
883 minfo.setCodeAttribute(code.toCodeAttribute()); in addSetter()
884 cf.addMethod(minfo); in addSetter()
890 MethodInfo minfo = new MethodInfo(cp, HANDLER_GETTER, in addGetter() local
892 minfo.setAccessFlags(AccessFlag.PUBLIC); in addGetter()
[all …]
/external/gptfdisk/
Ddiskio-unix.cc140 struct dk_minfo minfo; in GetBlockSize() local
153 err = ioctl(fd, DKIOCGMEDIAINFO, &minfo); in GetBlockSize()
155 blockSize = minfo.dki_lbsize; in GetBlockSize()
397 struct dk_minfo minfo; in DiskSize() local
416 *err = ioctl(fd, DKIOCGMEDIAINFO, &minfo); in DiskSize()
418 sectors = minfo.dki_capacity; in DiskSize()
/external/javassist/src/main/javassist/convert/
DTransformAccessArrayField.java51 …public void initialize(ConstPool cp, CtClass clazz, MethodInfo minfo) throws CannotCompileExceptio… in initialize() argument
62 CodeIterator iterator = minfo.getCodeAttribute().iterator(); in initialize()
69 initFrames(clazz, minfo); in initialize()
102 private void initFrames(CtClass clazz, MethodInfo minfo) throws BadBytecode { in initFrames() argument
104 frames = ((new Analyzer())).analyze(clazz, minfo); in initFrames()
DTransformer.java44 …public void initialize(ConstPool cp, CtClass clazz, MethodInfo minfo) throws CannotCompileExceptio… in initialize() argument
45 initialize(cp, minfo.getCodeAttribute()); in initialize()
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotationImpl.java159 MethodInfo minfo = cf.getMethod(name); in getDefault() local
160 if (minfo != null) { in getDefault()
163 minfo.getAttribute(AnnotationDefaultAttribute.tag); in getDefault()

12