Lines Matching defs:optarg

704  * Decompose the string pointed by optarg into argv[][] so that argv[][] can be
723 if (optarg[2] == '3')
726 if (optarg[2] == '6')
730 p0 = &optarg[5];
762 if ((p0 = (char *)strdup(&optarg[5])) == NULL)
833 * optarg - option string to be processed. This will either be a NULL
842 guidance_parse(Ofl_desc *ofl, char *optarg)
869 optarg += MSG_ARG_GUIDE_SIZE;
870 if (*optarg == '=') {
871 optarg++;
873 if ((name = libld_malloc(strlen(optarg) + 1)) == NULL)
875 (void) strcpy(name, optarg);
932 assdeflib_parse(Ofl_desc *ofl, char *optarg)
937 olen = strlen(optarg);
942 if (optarg[MSG_ARG_ASSDEFLIB_SIZE] != '=') {
944 MSG_ORIG(MSG_ARG_ASSDEFLIB), optarg);
948 if (strncmp(optarg + MSG_ARG_ASSDEFLIB_SIZE + 1,
950 strcmp(optarg + olen - MSG_STR_SOEXT_SIZE,
953 MSG_INTL(MSG_ARG_ASSDEFLIB_MALFORMED), optarg);
957 if (aplist_append(&ofl->ofl_assdeflib, optarg +
988 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
995 if (optarg[0] != '2')
998 MSG_ORIG(MSG_ARG_3), optarg);
1002 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1009 if (optarg[0] != '4')
1012 MSG_ORIG(MSG_ARG_6), optarg);
1038 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1044 ofl->ofl_config = optarg;
1053 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1054 if ((optarg[0] == 'n') && (optarg[1] == '\0')) {
1061 } else if ((optarg[0] == 'y') && (optarg[1] == '\0')) {
1071 MSG_ORIG(MSG_ARG_D), optarg);
1076 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1082 ofl->ofl_entry = (void *)optarg;
1086 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1095 add_string(ofl->ofl_filtees, optarg)) ==
1103 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1112 add_string(ofl->ofl_filtees, optarg)) ==
1119 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1125 ofl->ofl_soname = (const char *)optarg;
1134 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1140 ofl->ofl_interp = (const char *)optarg;
1144 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1160 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1166 ofl->ofl_name = (const char *)optarg;
1170 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1177 if (*optarg != '\0') {
1180 optarg)) == (const char *)S_ERROR)
1186 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1193 if (*optarg != '\0') {
1196 optarg)) == (const char *)S_ERROR)
1207 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1214 if (*optarg != '\0') {
1217 optarg)) == (const char *)S_ERROR)
1233 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1237 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1243 if (strncmp(optarg, MSG_ORIG(MSG_ARG_HELP),
1253 if ((strncmp(optarg, MSG_ORIG(MSG_ARG_LD32),
1255 (strncmp(optarg, MSG_ORIG(MSG_ARG_LD64),
1261 strcmp(optarg, MSG_ORIG(MSG_ARG_DEFS)) == 0) {
1269 } else if (strcmp(optarg,
1278 } else if (strcmp(optarg,
1287 } else if (strcmp(optarg,
1296 } else if (strcmp(optarg,
1309 } else if (strcmp(optarg,
1312 } else if (strcmp(optarg,
1315 } else if (strcmp(optarg,
1318 } else if (strcmp(optarg,
1321 } else if (strcmp(optarg,
1324 } else if (strcmp(optarg,
1327 } else if (strcmp(optarg,
1330 } else if (strcmp(optarg,
1333 } else if (strcmp(optarg,
1336 } else if (strcmp(optarg,
1339 } else if (strcmp(optarg,
1342 } else if (strcmp(optarg,
1346 } else if (strcmp(optarg,
1350 } else if (strcmp(optarg,
1353 } else if (strcmp(optarg,
1356 } else if (strcmp(optarg,
1359 } else if (strcmp(optarg,
1362 } else if (strcmp(optarg,
1365 } else if (strcmp(optarg,
1368 } else if (strcmp(optarg,
1371 } else if (strcmp(optarg,
1374 } else if (strcmp(optarg,
1377 } else if (strcmp(optarg,
1380 } else if (strcmp(optarg,
1383 } else if (strcmp(optarg,
1386 } else if (strcmp(optarg,
1389 } else if (strcmp(optarg,
1392 } else if (strcmp(optarg,
1395 } else if (strcmp(optarg,
1404 } else if (strcmp(optarg,
1416 } else if (strcmp(optarg,
1434 } else if (strncmp(optarg, MSG_ORIG(MSG_ARG_WRAP),
1437 optarg + MSG_ARG_WRAP_SIZE) == NULL)
1439 } else if (strncmp(optarg, MSG_ORIG(MSG_ARG_ASLR),
1441 char *p = optarg + MSG_ARG_ASLR_SIZE;
1466 MSG_ORIG(MSG_ARG_Z), optarg);
1469 } else if ((strncmp(optarg, MSG_ORIG(MSG_ARG_GUIDE),
1471 ((optarg[MSG_ARG_GUIDE_SIZE] == '=') ||
1472 (optarg[MSG_ARG_GUIDE_SIZE] == '\0'))) {
1473 if (!guidance_parse(ofl, optarg))
1475 } else if (strcmp(optarg,
1485 } else if (strcmp(optarg,
1499 } else if (strncmp(optarg, MSG_ORIG(MSG_ARG_ASSDEFLIB),
1501 if (assdeflib_parse(ofl, optarg) != TRUE)
1509 strncmp(optarg, MSG_ORIG(MSG_ARG_INITARRAY),
1511 strncmp(optarg, MSG_ORIG(MSG_ARG_FINIARRAY),
1513 strncmp(optarg, MSG_ORIG(MSG_ARG_PREINITARRAY),
1515 strncmp(optarg, MSG_ORIG(MSG_ARG_RTLDINFO),
1517 strncmp(optarg, MSG_ORIG(MSG_ARG_DTRACE),
1519 strcmp(optarg, MSG_ORIG(MSG_ARG_ALLEXTRT)) &&
1520 strcmp(optarg, MSG_ORIG(MSG_ARG_DFLEXTRT)) &&
1521 strcmp(optarg, MSG_ORIG(MSG_ARG_DIRECT)) &&
1522 strcmp(optarg, MSG_ORIG(MSG_ARG_NODIRECT)) &&
1523 strcmp(optarg, MSG_ORIG(MSG_ARG_GROUPPERM)) &&
1524 strcmp(optarg, MSG_ORIG(MSG_ARG_LAZYLOAD)) &&
1525 strcmp(optarg, MSG_ORIG(MSG_ARG_NOGROUPPERM)) &&
1526 strcmp(optarg, MSG_ORIG(MSG_ARG_NOLAZYLOAD)) &&
1527 strcmp(optarg, MSG_ORIG(MSG_ARG_NODEFERRED)) &&
1528 strcmp(optarg, MSG_ORIG(MSG_ARG_RECORD)) &&
1529 strcmp(optarg, MSG_ORIG(MSG_ARG_ALTEXEC64)) &&
1530 strcmp(optarg, MSG_ORIG(MSG_ARG_WEAKEXT)) &&
1531 strncmp(optarg, MSG_ORIG(MSG_ARG_TARGET),
1533 strcmp(optarg, MSG_ORIG(MSG_ARG_RESCAN_NOW)) &&
1534 strcmp(optarg, MSG_ORIG(MSG_ARG_DEFERRED))) {
1537 MSG_ORIG(MSG_ARG_Z), optarg);
1554 if (dbg_setup(ofl, optarg, 2) == 0)
1567 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1571 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1572 if (strcmp(optarg, MSG_ORIG(MSG_ARG_DIRECT)) == 0) {
1582 } else if (strcmp(optarg,
1593 } else if (strcmp(optarg,
1596 else if (strcmp(optarg, MSG_ORIG(MSG_ARG_REDUCE)) == 0)
1598 else if (strcmp(optarg, MSG_ORIG(MSG_STR_LOCAL)) == 0)
1600 else if (strcmp(optarg, MSG_ORIG(MSG_ARG_GROUP)) == 0)
1602 else if (strcmp(optarg,
1605 else if (strcmp(optarg,
1610 } else if (strcmp(optarg,
1612 strcmp(optarg, MSG_ORIG(MSG_ARG_STATIC))) {
1615 MSG_ORIG(MSG_ARG_CB), optarg);
1625 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1629 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1630 if (aplist_append(&(ofl->ofl_maps), optarg,
1636 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1640 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1641 if ((optarg[0] == 'n') && (optarg[1] == '\0')) {
1648 } else if ((optarg[0] == 'y') && (optarg[1] == '\0')) {
1658 MSG_ORIG(MSG_ARG_CQ), optarg);
1663 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1664 if (aplist_append(&lib_support, optarg,
1678 DBG_CALL(Dbg_args_option(ofl->ofl_lml, ndx, c, optarg));
1679 if (strncmp(optarg, MSG_ORIG(MSG_ARG_LCOM), 2) == 0) {
1685 Llibdir = optarg + 2;
1686 } else if (strncmp(optarg,
1693 Ulibdir = optarg + 2;
1694 } else if (strncmp(optarg,
1701 Plibpath = optarg + 2;
1705 MSG_ORIG(MSG_ARG_CY), optarg);
1754 optarg));
1755 if (ld_find_library(optarg, ofl) == S_ERROR)
1760 optarg));
1761 if (strcmp(optarg,
1771 } else if (strcmp(optarg,
1777 optarg));
1778 if (ld_add_libdir(ofl, optarg) == S_ERROR)
1783 optarg));
1798 ifl->ifl_soname = optarg;
1805 optarg));
1806 (void) dbg_setup(ofl, optarg, 3);
1810 optarg));
1811 if (ld_sym_add_u(optarg, ofl,
1817 optarg));
1818 if ((strncmp(optarg, MSG_ORIG(MSG_ARG_LD32),
1820 (strncmp(optarg, MSG_ORIG(MSG_ARG_LD64),
1824 } else if (strcmp(optarg,
1828 } else if (strcmp(optarg,
1832 } else if (strcmp(optarg,
1837 } else if (strcmp(optarg,
1841 } else if (strcmp(optarg,
1845 } else if (strcmp(optarg,
1848 } else if (strcmp(optarg,
1851 } else if (strcmp(optarg,
1855 } else if (strcmp(optarg,
1859 } else if (strcmp(optarg,
1862 } else if (strcmp(optarg,
1865 } else if (strncmp(optarg,
1868 if (((sdp = ld_sym_add_u(optarg +
1875 } else if (strncmp(optarg,
1878 if (((sdp = ld_sym_add_u(optarg +
1885 } else if (strncmp(optarg,
1888 if (((sdp = ld_sym_add_u(optarg +
1895 } else if (strncmp(optarg,
1898 if (((sdp = ld_sym_add_u(optarg +
1905 } else if (strncmp(optarg,
1908 if ((sdp = ld_sym_add_u(optarg +
1914 } else if (strcmp(optarg,
1919 } else if (strcmp(optarg,
1923 } else if (strcmp(optarg,
1928 } else if (strcmp(optarg,
1931 } else if (strcmp(optarg,