Home
last modified time | relevance | path

Searched refs:KNOWN_APPNAME_OFFSETS (Results 1 – 2 of 2) sorted by relevance

/busybox-1.35.0/applets/
Dapplet_tables.c81 int KNOWN_APPNAME_OFFSETS = 8; in main() local
85 KNOWN_APPNAME_OFFSETS = 4; in main()
87 KNOWN_APPNAME_OFFSETS = 0; in main()
117 printf("#define KNOWN_APPNAME_OFFSETS %u\n\n", KNOWN_APPNAME_OFFSETS); in main()
118 if (KNOWN_APPNAME_OFFSETS > 0) { in main()
119 int ofs, offset[KNOWN_APPNAME_OFFSETS], index[KNOWN_APPNAME_OFFSETS]; in main()
120 for (i = 0; i < KNOWN_APPNAME_OFFSETS; i++) in main()
121 index[i] = i * NUM_APPLETS / KNOWN_APPNAME_OFFSETS; in main()
124 for (j = 0; j < KNOWN_APPNAME_OFFSETS; j++) in main()
133 for (i = 1; i < KNOWN_APPNAME_OFFSETS; i++) in main()
/busybox-1.35.0/libbb/
Dappletlib.c203 #if KNOWN_APPNAME_OFFSETS <= 0 in find_applet_by_name()
206 i = NUM_APPLETS * (KNOWN_APPNAME_OFFSETS - 1); in find_applet_by_name()
216 i /= (unsigned)KNOWN_APPNAME_OFFSETS; in find_applet_by_name()