Home | History | Annotate | Download | only in pkgdata

Lines Matching defs:cmd

475     char cmd[SMALL_BUFFER_MAX_SIZE];
479 sprintf(cmd, "bash -c \"%s\"", command);
482 sprintf(cmd, "QSH CMD('%s')", command);
488 sprintf(cmd, "%s", command);
491 printf("pkgdata: %s\n", cmd);
492 int result = system(cmd);
510 // char cmd[SMALL_BUFFER_MAX_SIZE] = "";
828 char cmd[LARGE_BUFFER_MAX_SIZE];
838 sprintf(cmd, "cd %s && %s %s && %s %s %s",
845 result = runCommand(cmd);
864 sprintf(cmd, "cd %s && %s %s && %s %s %s",
872 result = runCommand(cmd);
879 char cmd[SMALL_BUFFER_MAX_SIZE];
881 sprintf(cmd, "cd %s && %s %s %s%s%s",
888 result = runCommand(cmd);
895 sprintf(cmd, "cd %s && %s %s.lib %s",
901 result = runCommand(cmd);
907 sprintf(cmd, "cd %s && %s %s %s",
913 result = runCommand(cmd);
930 char cmd[SMALL_BUFFER_MAX_SIZE] = "";
951 sprintf(cmd, "%s %s%s%s %s%s%s",
956 result = runCommand(cmd);
958 fprintf(stderr, "Failed to install data file with command: %s\n", cmd);
975 sprintf(cmd, "%s %s %s %s", WIN_INSTALL_CMD, srcDir, installDir, WIN_INSTALL_CMD_FLAGS);
976 result = runCommand(cmd);
978 fprintf(stderr, "Failed to install data file with command: %s\n", cmd);
990 char cmd[LARGE_BUFFER_MAX_SIZE];
1002 sprintf(cmd, "%s %s %s%s %s%s",
1010 result = runCommand(cmd);
1015 sprintf(cmd, "%s %s%s",
1020 result = runCommand(cmd);
1026 sprintf(cmd, "%s %s%s",
1031 result = runCommand(cmd);
1045 * command may be given to allow for a larger buffer for cmd.
1049 char *cmd = NULL;
1057 cmd = command;
1059 if ((cmd = (char *)uprv_malloc(sizeof(char) * LARGE_BUFFER_MAX_SIZE)) == NULL) {
1067 sprintf(cmd, "%s %s %s%s %s",
1074 result = runCommand(cmd);
1076 sprintf(cmd, "%s %s%s",
1081 result = runCommand(cmd);
1085 sprintf(cmd, "%s%s%s %s -o %s%s %s %s%s %s %s",
1092 sprintf(cmd, "%s %s -o %s%s %s %s%s %s %s",
1105 result = runCommand(cmd);
1109 uprv_free(cmd);
1117 char cmd[LARGE_BUFFER_MAX_SIZE] = "";
1125 sprintf(cmd, "%s %s -o %s %s",
1131 result = runCommand(cmd);
1174 char *cmd;
1198 if ((cmd = (char *)uprv_malloc((listSize + 2) * SMALL_BUFFER_MAX_SIZE)) == NULL) {
1199 fprintf(stderr, "Unable to allocate memory for cmd.\n");
1203 uprv_free(cmd);
1219 sprintf(cmd, "%s %s -o %s %s"
1225 result = runCommand(cmd);
1273 sprintf(cmd, "cat %s >> %s", gencmnFile, icudtAll);
1275 result = runCommand(cmd);
1292 sprintf(cmd, "%s %s -o %s %s",
1297 result = runCommand(cmd);
1317 sprintf(cmd, "%s %s -o %s %s",
1323 result = runCommand(cmd);
1332 result = pkg_generateLibraryFile(targetDir, mode, buffer, cmd);
1336 uprv_free(cmd);
1351 char cmd[LARGE_BUFFER_MAX_SIZE];
1361 sprintf(cmd, "%s\"%s\" \"%s\"",
1408 sprintf(cmd, "%s\"%s\" %s\"%s\" \"%s\" \"%s\"",
1418 return runCommand(cmd, TRUE);
1638 const char cmd[] = "icu-config --incpkgdatafile";
1644 uprv_strncat(cmdBuf, cmd, 1024);
1654 fprintf(stdout, "# Calling icu-config: %s\n", cmd);
1656 p = popen(cmd, "r");