Lines Matching full:n
49 printf("my_class instance created\n"); in my_class()
53 printf("my_class instance destroyed\n"); in ~my_class()
80 printf("Caught: %d\n", myvalue); in test2()
149 printf("*** test1 - duk_pcall()\n"); in main()
152 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
154 printf("\n"); in main()
156 printf("*** test1 - duk_safe_call()\n"); in main()
158 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
160 printf("\n"); in main()
162 printf("*** test1 - ecmascript try-catch\n"); in main()
166 "try {\n" in main()
167 " test1();\n" in main()
168 "} catch (e) {\n" in main()
169 " print(e.stack || e);\n" in main()
170 "}\n"); in main()
171 printf("\n"); in main()
173 printf("*** test2 - duk_pcall()\n"); in main()
176 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
178 printf("\n"); in main()
180 printf("*** test2 - duk_safe_call()\n"); in main()
182 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
184 printf("\n"); in main()
186 printf("*** test2 - ecmascript try-catch\n"); in main()
190 "try {\n" in main()
191 " test2();\n" in main()
192 "} catch (e) {\n" in main()
193 " print(e.stack || e);\n" in main()
194 "}\n"); in main()
195 printf("\n"); in main()
197 printf("*** test3 - duk_pcall()\n"); in main()
200 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
202 printf("\n"); in main()
204 printf("*** test3 - duk_safe_call()\n"); in main()
206 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
208 printf("\n"); in main()
210 printf("*** test3 - ecmascript try-catch\n"); in main()
214 "try {\n" in main()
215 " test3();\n" in main()
216 "} catch (e) {\n" in main()
217 " print(e.stack || e);\n" in main()
218 "}\n"); in main()
219 printf("\n"); in main()
221 printf("*** test4 - duk_pcall()\n"); in main()
224 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
226 printf("\n"); in main()
228 printf("*** test4 - duk_safe_call()\n"); in main()
230 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
232 printf("\n"); in main()
234 printf("*** test4 - ecmascript try-catch\n"); in main()
238 "try {\n" in main()
239 " test4();\n" in main()
240 "} catch (e) {\n" in main()
241 " print(e.stack || e);\n" in main()
242 "}\n"); in main()
243 printf("\n"); in main()
245 printf("*** test5 - duk_pcall()\n"); in main()
248 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
250 printf("\n"); in main()
252 printf("*** test5 - duk_safe_call()\n"); in main()
254 printf("--> rc=%ld (%s)\n", (long) rc, duk_safe_to_string(ctx, -1)); in main()
256 printf("\n"); in main()
258 printf("*** test5 - ecmascript try-catch\n"); in main()
262 "try {\n" in main()
263 " test5();\n" in main()
264 "} catch (e) {\n" in main()
265 " print(e.stack || e);\n" in main()
266 "}\n"); in main()
267 printf("\n"); in main()
269 printf("*** done\n"); in main()