Home
last modified time | relevance | path

Searched refs:posArg (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/util/nanoapp_encr/
Dnanoapp_encr.c261 const char *posArg[2] = { NULL }; in main() local
301 posArg[posArgCnt++] = argv[i]; in main()
332 buf = loadFile(posArg[0], &bufUsed); in main()
335 if (!posArg[1]) in main()
338 out = fopen(posArg[1], "w"); in main()
340 fatalUsage(appName, "failed to create/open output file", posArg[1]); in main()
/device/google/contexthub/util/nanoapp_sign/
Dnanoapp_sign.c428 const char *posArg[2] = { NULL }; in main() local
471 posArg[posArgCnt++] = argv[i]; in main()
518 buf = loadFile(posArg[0], &bufUsed); in main()
534 if (!posArg[1]) in main()
537 out = fopen(posArg[1], "w"); in main()
539 fatalUsage(appName, "failed to create/open output file", posArg[1]); in main()
/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess.c649 const char *posArg[2] = { NULL }; in main() local
693 posArg[posArgCnt++] = argv[i]; in main()
724 if (!posArg[1]) { in main()
728 out = fopen(posArg[1], "w"); in main()
732 fatalUsage(appName, "failed to create/open output file", posArg[1]); in main()
734 buf = loadFile(posArg[0], &bufUsed); in main()
735 DBG("Read %" PRIu32 " bytes from %s", bufUsed, posArg[0]); in main()
Dpostprocess_elf.c911 const char *posArg[2] = { NULL }; in main() local
960 posArg[posArgCnt++] = argv[i]; in main()
995 buf = loadFile(posArg[0], &bufUsed); in main()
999 if (!posArg[1]) in main()
1002 out = fopen(posArg[1], "w"); in main()
1004 fatalUsage(appName, "failed to create/open output file", posArg[1]); in main()
1009 ret = handleAppStatic(posArg[0], out, layoutFlags, appId, appVer, chreApi, verbose); in main()