Lines Matching +defs:val +defs:file
4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
77 * indicated in this file by a comment above the function that assumes prior
733 const char *file;
747 file = dtj_GetStringNativeChars(env, filename);
748 if ((fp = fopen(file, "r")) == NULL) {
749 dtj_throw_dtrace_exception(&jc, "failed to open %s", file);
750 dtj_ReleaseStringNativeChars(env, filename, file);
754 p = dtj_program_create(env, DTJ_PROGRAM_FILE, file);
757 dtj_ReleaseStringNativeChars(env, filename, file);
765 dtj_ReleaseStringNativeChars(env, filename, file);
774 "failed to compile script %s: %s", file,
777 dtj_ReleaseStringNativeChars(env, filename, file);
783 dtj_ReleaseStringNativeChars(env, filename, file);
928 const char *val;
943 val = (*env)->GetStringUTFChars(env, value, 0);
944 if (!val) {
957 val = NULL;
964 on = (!val || (strcmp(val, "unset") != 0));
968 (*env)->ReleaseStringUTFChars(env, value, val);
988 request = dtj_request_create(env, DTJ_REQUEST_OPTION, opt, val);
1000 if (dtrace_setopt(dtp, opt, val) == -1) {
1008 (*env)->ReleaseStringUTFChars(env, value, val);