Home | History | Annotate | Download | only in ltrace

Lines Matching refs:info

412 	return nt->info;
427 && (forward->info->type != ARGTYPE_STRUCT
444 struct arg_type_info *info
446 if (info == NULL)
450 named_type_init(&this_nt, info, own);
463 if (this_nt.info->type != ARGTYPE_STRUCT) {
475 type_destroy(forward->info);
476 *forward->info = *this_nt.info;
478 free(this_nt.info);
486 char **str, struct arg_type_info *info,
501 type_init_struct(info);
511 type_init_struct(info);
521 if (type_struct_size(info) > 0)
528 if (field == NULL || type_struct_add(info, field, own)) {
529 type_destroy(info);
535 /* Make a copy of INFO and set the *OWN bit if it's not already
559 struct arg_type_info *info = NULL;
606 info = parse_type(plib, loc, str, NULL, 0, ownp, NULL);
607 if (info == NULL)
624 if (info == NULL) {
642 info = info1;
647 if (unshare_type_info(loc, &info, ownp) < 0)
650 * Thus we don't need to destroy INFO. */
653 info->lens = &string_lens;
654 info->own_lens = 0;
656 *retp = info;
749 char **str, struct arg_type_info *info)
776 type_init_array(info, elt_info, own, length, own_length);
933 struct arg_type_info *info = malloc(sizeof(*info));
934 if (info == NULL) {
942 if (parse_array(plib, loc, str, info) < 0) {
944 free(info);
949 if (parse_struct(plib, loc, str, info, forwardp) < 0)
953 return info;
987 struct arg_type_info *info
990 if (info == NULL)
999 type_destroy(info);
1000 free(info);
1006 type_init_pointer(outer, info, *ownp);
1009 info = outer;
1013 return info;
1024 struct arg_type_info *info;
1032 info = type_get_simple(ARGTYPE_INT);
1043 info = parse_type(plib, loc, str, extra_param, param_num,
1045 if (info == NULL) {
1060 if (lens != NULL && unshare_type_info(loc, &info, ownp) < 0)
1064 info->lens = lens;
1065 info->own_lens = own_lens;
1068 return info;
1081 static struct arg_type_info info, *pinfo = NULL;
1085 info = *type_get_simple(ARGTYPE_INT);
1086 info.lens = &blind_lens;
1087 pinfo = &info;