Searched defs:num_opt (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dsys.c485 int num_opt)
536 int num_opt)
709 int num_opt)
714 * This command doesn't accept options, so num_opt should be
717 argc -= num_opt;
718 argv += num_opt;
821 int num_opt)
484 cpl_help(void *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
535 cpl_load(void *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
708 cpl_set(void *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
820 cpl_unload(void *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
H A Delfedit.c3133 int num_opt; local
3217 num_opt = 0;
3233 num_opt = i + 1;
3261 num_opt = i + 2;
3278 (void) printf("NDX(%d) NUM_OPT(%d) ostyle_ndx(%d)\n", ndx, num_opt,
3285 * the same as num_opt, then we have a definitive
3289 if ((ostyle_ndx == (ndx - 1)) && (ndx == num_opt)) {
3312 * If (ndx <= num_opt), then the token needing completion
3320 * where we are one past the last option (ndx == (num_opt + 1)),
3335 if ((ndx <= num_opt)
[all...]
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dstr.c749 const char *argv[], int num_opt)
755 if ((argc != num_opt) || (argc < 2))
819 const char *argv[], int num_opt)
827 cpl_sh_opt(obj_state, cpldata, argc, argv, num_opt);
834 if (argc != (num_opt + 1))
845 for (ndx = 0; ndx < num_opt; ndx++) {
849 if ((ndx+1) < num_opt) {
748 cpl_sh_opt(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
818 cpl_sec_str(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
H A Dsyminfo.c709 const char *argv[], int num_opt)
717 if (argc != (num_opt + 2))
721 for (i = 0; i < num_opt; i++)
731 const char *argv[], int num_opt)
734 if (argc == (num_opt + 2))
708 cpl_si_boundto(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
730 cpl_si_flags(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
H A Dcap.c1053 const char *argv[], int num_opt)
1062 if ((argc > num_opt) || (argc < 2) ||
1089 const char *argv[], int num_opt)
1094 if (argc <= num_opt) {
1095 cpl_capid_opt(obj_state, cpldata, argc, argv, num_opt);
1100 if ((argc - num_opt) != 1)
1104 for (i = 0; i < num_opt; i++)
1119 const char *argv[], int num_opt)
1122 if (argc <= num_opt) {
1123 cpl_capid_opt(obj_state, cpldata, argc, argv, num_opt);
1052 cpl_capid_opt(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1088 cpl_eltarg(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1118 cpl_tag(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1140 cpl_hw1(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1155 cpl_sf1(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1170 cpl_hw2(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
[all...]
H A Dphdr.c958 const char *argv[], int num_opt)
962 for (i = 0; i < num_opt; i++)
966 if (argc == (num_opt + 1))
973 const char *argv[], int num_opt)
976 cpl_1starg_pt(obj_state, cpldata, argc, argv, num_opt);
979 if (argc == (num_opt + 2))
987 const char *argv[], int num_opt)
990 cpl_1starg_pt(obj_state, cpldata, argc, argv, num_opt);
993 if (argc >= (num_opt + 2))
957 cpl_1starg_pt(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
972 cpl_p_type(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
986 cpl_p_flags(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
H A Dshdr.c754 const char *argv[], int num_opt)
760 if (argc != (num_opt + 1))
764 for (ndx = 0; ndx < num_opt; ndx++) {
794 const char *argv[], int num_opt)
797 cpl_1starg_sec(obj_state, cpldata, argc, argv, num_opt);
800 if (argc >= (num_opt + 2))
811 const char *argv[], int num_opt)
818 cpl_1starg_sec(obj_state, cpldata, argc, argv, num_opt);
820 if (argc != (num_opt + 2))
824 for (ndx = 0; ndx < num_opt; nd
753 cpl_1starg_sec(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
793 cpl_sh_flags(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
810 cpl_sh_infolink(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
849 cpl_sh_type(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
[all...]
H A Dsym.c1470 const char *argv[], int num_opt)
1476 if ((argc != num_opt) || (argc < 2))
1529 const char *argv[], int num_opt)
1532 cpl_sh_opt(obj_state, cpldata, argc, argv, num_opt);
1535 if (argc == (num_opt + 2))
1542 const char *argv[], int num_opt)
1549 cpl_sh_opt(obj_state, cpldata, argc, argv, num_opt);
1556 if (argc != (num_opt + 2))
1560 for (ndx = 0; ndx < num_opt; ndx++) {
1590 const char *argv[], int num_opt)
1469 cpl_sh_opt(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1528 cpl_st_bind(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1541 cpl_st_shndx(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1589 cpl_st_type(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1602 cpl_st_visibility(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
[all...]
H A Ddyn.c1591 const char *argv[], int num_opt)
1601 if ((argc - num_opt) != 1)
1605 for (i = 0; i < num_opt; i++)
1648 const char *argv[], int num_opt)
1651 if ((argc - num_opt) == 1) {
1652 cpl_eltarg(obj_state, cpldata, argc, argv, num_opt);
1657 if ((argc - num_opt) == 2)
1664 const char *argv[], int num_opt)
1671 if ((num_opt > 1) && (argc == num_opt)) {
1590 cpl_eltarg(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1647 cpl_tag(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1663 cpl_posflag1(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1724 cpl_flags(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1733 cpl_flags1(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1742 cpl_feature1(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1751 cpl_sunw_ldmach(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
[all...]
H A Dehdr.c1364 const char *argv[], int num_opt)
1369 * This command doesn't accept options, so num_opt should be
1372 argc -= num_opt;
1373 argv += num_opt;
1413 const char *argv[], int num_opt)
1416 * This command doesn't accept options, so num_opt should be
1419 argc -= num_opt;
1420 argv += num_opt;
1429 const char *argv[], int num_opt)
1432 * This command doesn't accept options, so num_opt shoul
1363 cpl_e_ident(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1412 cpl_e_type(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1428 cpl_e_machine(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1444 cpl_e_version(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1460 cpl_e_flags(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1469 cpl_e_shstrndx(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1522 cpl_ei_class(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1538 cpl_ei_data(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1554 cpl_ei_osabi(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
1570 cpl_ei_abiversion(elfedit_obj_state_t *obj_state, void *cpldata, int argc, const char *argv[], int num_opt) argument
[all...]

Completed in 151 milliseconds