Lines Matching defs:step
37 static enum { start, barDeps, bar, fooDeps, foo, mainDeps, main } step = start;
47 //fprintf(stderr, "depInitHandler(%s), state=%d\n", info[0].imageFilePath, step);
49 if ( (step == start) && (strstr(info[0].imageFilePath, "libbar.dylib") != NULL) )
50 step = barDeps;
51 else if ( (step == bar) && (strstr(info[0].imageFilePath, "libfoo.dylib") != NULL) )
52 step = fooDeps;
53 else if ( (step == foo) && (strstr(info[0].imageFilePath, "/main") != NULL) )
54 step = mainDeps;
71 //fprintf(stderr, "initHandler(%s), state=%d\n", info[0].imageFilePath, step);
77 if ( step == barDeps ) {
78 step = bar;
86 if ( step == fooDeps ) {
87 step = foo;
95 if ( step == mainDeps ) {
96 step = main;