Lines Matching defs:program

92     private native Program _compileString(String program, String[] args)
96 private native void _exec(Program program) throws DTraceException;
97 private native void _getProgramInfo(Program program)
118 List <ProbeDescription> probeList, Program program);
120 List <Probe> probeList, Program program);
328 case COMPILED: // caller may compile more than one program
341 compile(String program, String ... macroArgs) throws DTraceException
343 if (program == null) {
344 throw new NullPointerException("program string is null");
371 p = _compileString(program, argv);
374 p.contents = program;
382 compile(File program, String ... macroArgs) throws DTraceException,
385 if (program == null) {
386 throw new NullPointerException("program file is null");
388 if (!program.canRead()) {
390 program.getName());
403 argv[0] = program.getPath();
406 macroArgs = new String[] { program.getPath() };
409 p = _compileFile(program.getPath(), argv);
412 p.contents = Program.getProgramString(program);
413 p.file = program;
422 checkProgram(Program program)
424 if (program == null) {
425 throw new NullPointerException("program is null");
427 if (!id.equals(program.consumerID)) {
428 throw new IllegalArgumentException("program not compiled " +
440 enable(Program program) throws DTraceException
446 throw new IllegalStateException("no compiled program");
459 if (program != null) {
460 checkProgram(program);
465 // program is already enabled, since only the native code knows
469 _exec(program);
474 getProgramInfo(Program program) throws DTraceException
476 checkProgram(program);
482 // The given program was compiled by this consumer, so we can
488 _getProgramInfo(program);
740 throw new IllegalStateException("no compiled program");
811 // action in a DTrace program. In that case, a
1087 listProgramProbes(Program program) throws DTraceException
1089 checkProgram(program);
1094 _listCompiledProbes(probeList, program);
1100 listProgramProbeDetail(Program program) throws DTraceException
1102 checkProgram(program);
1106 _listCompiledProbeDetail(probeList, program);