Lines Matching refs:ret

227 	int ret = DSYM_SUCCESS;
239 ret = DSYM_VALUE_OUT_OF_RANGE;
242 return (ret);
288 int ret = DSYM_SUCCESS;
309 for (i = 0; ret == DSYM_SUCCESS; i++) {
320 ret = DSYM_EXCEEDS_CLASS_SIZE;
325 ret = DSYM_SYNTAX_ERROR;
340 ret = DSYM_NO_MEMORY;
347 if (ret != DSYM_SUCCESS) {
351 return (ret);
369 int ret = DSYM_SUCCESS;
402 ret = DSYM_INVALID_CAT;
406 ret = DSYM_INVALID_CAT;
410 ret = DSYM_INVALID_CAT;
413 if (ret == DSYM_SUCCESS) {
417 return (ret);
434 int ret;
436 ret = dsym_get_cat_by_name(field, &entry, B_TRUE);
437 if (ret == DSYM_SUCCESS) {
446 ret = DSYM_INVALID_CAT;
450 return (ret);
467 int ret;
470 ret = dsym_get_long(field, &longval);
471 if (ret == DSYM_SUCCESS) {
473 ret = DSYM_VALUE_OUT_OF_RANGE;
478 return (ret);
584 int ret;
586 ret = dsym_get_type_by_name(field, &entry, B_TRUE);
587 if (ret == DSYM_SUCCESS) {
596 ret = DSYM_INVALID_TYPE;
600 return (ret);
656 int ret = DSYM_SUCCESS;
677 ret = DSYM_NO_MEMORY;
681 for (i = 0; ret == DSYM_SUCCESS && i < DSYM_NUM_FIELDS; i++) {
687 ret = DSYM_NULL_FIELD;
694 ret = DSYM_NULL_FIELD;
699 ret = DSYM_NO_MEMORY;
704 if (ret == DSYM_SUCCESS &&
706 ret = DSYM_TOO_MANY_FIELDS;
709 if (ret != DSYM_SUCCESS) {
716 return (ret);
736 int ret = DSYM_SUCCESS;
742 ret = dsym_parse_cat(fields[field_num], &sym->ds_category);
743 if (ret == DSYM_SUCCESS && sym->ds_category == DSYM_VENDOR) {
744 ret = dsym_parse_classes(fields[field_num],
750 ret = dsym_parse_intrange(fields[field_num], &intval, 0,
752 if (ret == DSYM_SUCCESS) {
754 ret = dsym_validate_code(sym->ds_category,
760 ret = dsym_parse_type(fields[field_num], &sym->ds_type);
764 ret = dsym_parse_intrange(fields[field_num], &intval, 0,
766 if (ret == DSYM_SUCCESS) {
768 ret = dsym_validate_granularity(sym->ds_type,
774 ret = dsym_parse_intrange(fields[field_num], &intval, 0,
776 if (ret == DSYM_SUCCESS) {
781 ret = DSYM_INVALID_FIELD_NUM;
784 return (ret);
806 int ret = DSYM_SUCCESS;
816 if (ret == DSYM_SUCCESS) {
817 ret = tret;
830 return (ret);
847 int ret;
849 ret = dsym_get_cat_by_name(cat, &entry, cs);
850 if (ret == DSYM_SUCCESS) {
854 return (ret);
874 int ret;
876 ret = dsym_get_cat_by_name(cat, &entry, cs);
877 if (ret == DSYM_SUCCESS) {
882 return (ret);
899 int ret;
901 ret = dsym_get_type_by_name(type, &entry, cs);
902 if (ret == DSYM_SUCCESS) {
906 return (ret);