/external/harfbuzz_ng/src/ |
D | hb-cff-interp-cs-common.hh | 223 template <typename ENV, typename PARAM> 226 static void rmoveto (ENV &env, PARAM& param) {} in rmoveto() 227 static void hmoveto (ENV &env, PARAM& param) {} in hmoveto() 228 static void vmoveto (ENV &env, PARAM& param) {} in vmoveto() 229 static void rlineto (ENV &env, PARAM& param) {} in rlineto() 230 static void hlineto (ENV &env, PARAM& param) {} in hlineto() 231 static void vlineto (ENV &env, PARAM& param) {} in vlineto() 232 static void rrcurveto (ENV &env, PARAM& param) {} in rrcurveto() 233 static void rcurveline (ENV &env, PARAM& param) {} in rcurveline() 234 static void rlinecurve (ENV &env, PARAM& param) {} in rlinecurve() [all …]
|
/external/libchrome/base/android/jni_generator/ |
D | testConstantsFromJavaP.golden | 27 inline jclass android_view_MotionEvent_clazz(JNIEnv* env) { 28 return base::android::LazyGetClass(env, kClassPath_android_view_MotionEvent, 128 static void Java_MotionEvent_finalize(JNIEnv* env, const base::android::JavaRef<jobject>& obj) 130 static void Java_MotionEvent_finalize(JNIEnv* env, const base::android::JavaRef<jobject>& obj) { 131 CHECK_CLAZZ(env, obj.obj(), 132 android_view_MotionEvent_clazz(env)); 135 env, android_view_MotionEvent_clazz(env), 140 env->CallVoidMethod(obj.obj(), 142 jni_generator::CheckException(env); 148 Java_MotionEvent_obtainAVME_J_J_I_I_LAVMEPP_LAVMEPC_I_I_F_F_I_I_I_I(JNIEnv* env, jlong p0, [all …]
|
D | testCalledByNatives.golden | 30 inline jclass org_chromium_TestJni_clazz(JNIEnv* env) { 31 return base::android::LazyGetClass(env, kClassPath_org_chromium_TestJni, 39 inline jclass org_chromium_TestJni_00024InfoBar_clazz(JNIEnv* env) { 40 return base::android::LazyGetClass(env, kClassPath_org_chromium_TestJni_00024InfoBar, 52 static base::android::ScopedJavaLocalRef<jobject> Java_TestJni_showConfirmInfoBar(JNIEnv* env, const 58 CHECK_CLAZZ(env, obj.obj(), 59 org_chromium_TestJni_clazz(env), NULL); 62 env, org_chromium_TestJni_clazz(env), 68 env->CallObjectMethod(obj.obj(), 71 jni_generator::CheckException(env); [all …]
|
D | testFromJavaP.golden | 27 inline jclass java_io_InputStream_clazz(JNIEnv* env) { 28 return base::android::LazyGetClass(env, kClassPath_java_io_InputStream, 42 static jint Java_InputStream_available(JNIEnv* env, const base::android::JavaRef<jobject>& obj) 44 static jint Java_InputStream_available(JNIEnv* env, const base::android::JavaRef<jobject>& obj) { 45 CHECK_CLAZZ(env, obj.obj(), 46 java_io_InputStream_clazz(env), 0); 49 env, java_io_InputStream_clazz(env), 55 env->CallIntMethod(obj.obj(), 57 jni_generator::CheckException(env); 62 static void Java_InputStream_close(JNIEnv* env, const base::android::JavaRef<jobject>& obj) [all …]
|
D | testNatives.golden | 27 inline jclass org_chromium_TestJni_clazz(JNIEnv* env) { 28 return base::android::LazyGetClass(env, kClassPath_org_chromium_TestJni, 38 static jint JNI_TestJni_Init(JNIEnv* env, const base::android::JavaParamRef<jobject>& jcaller); 41 JNIEnv* env, 43 return JNI_TestJni_Init(env, base::android::JavaParamRef<jobject>(env, jcaller)); 47 JNIEnv* env, 52 CHECK_NATIVE_PTR(env, jcaller, native, "Destroy"); 53 return native->Destroy(env, base::android::JavaParamRef<jobject>(env, jcaller)); 57 JNIEnv* env, 66 CHECK_NATIVE_PTR(env, jcaller, native, "AddBookmark", 0); [all …]
|
/external/libjpeg-turbo/ |
D | turbojpeg-jni.c | 43 if (!(f) || (*env)->ExceptionCheck(env)) { \ 49 jclass _exccls = (*env)->FindClass(env, exceptionClass); \ 52 (*env)->ThrowNew(env, _exccls, msg); \ 62 bailif0(_errstr = (*env)->NewStringUTF(env, tjGetErrorStr2(handle))); \ 63 bailif0(_exccls = (*env)->FindClass(env, \ 65 bailif0(_excid = (*env)->GetMethodID(env, _exccls, "<init>", \ 67 bailif0(_excobj = (*env)->NewObject(env, _exccls, _excid, _errstr, \ 69 (*env)->Throw(env, _excobj); \ 79 jclass _cls = (*env)->GetObjectClass(env, obj); \ 83 bailif0(_fid = (*env)->GetFieldID(env, _cls, "handle", "J")); \ [all …]
|
/external/javasqlite/src/main/native/ |
D | sqlite_jni.c | 62 JNIEnv *env; /* Java environment for callbacks */ member 93 JNIEnv *env; /* Java environment for callbacks */ member 163 seterr(JNIEnv *env, jobject obj, int err) in seterr() argument 169 (*env)->SetIntField(env, obj, F_SQLite_Database_error_code, v.i); in seterr() 174 setvmerr(JNIEnv *env, jobject obj, int err) in setvmerr() argument 180 (*env)->SetIntField(env, obj, F_SQLite_Vm_error_code, v.i); in setvmerr() 185 setstmterr(JNIEnv *env, jobject obj, int err) in setstmterr() argument 191 (*env)->SetIntField(env, obj, F_SQLite_Stmt_error_code, v.i); in setstmterr() 210 gethandle(JNIEnv *env, jobject obj) in gethandle() argument 214 v.j = (*env)->GetLongField(env, obj, F_SQLite_Database_handle); in gethandle() [all …]
|
/external/mesa3d/scons/ |
D | gallium.py | 47 def symlink(target, source, env): argument 54 def install(env, source, subdir): argument 55 target_dir = os.path.join(env.Dir('#.').srcnode().abspath, env['build_dir'], subdir) 56 return env.Install(target_dir, source) 58 def install_program(env, source): argument 59 return install(env, source, 'bin') 61 def install_shared_library(env, sources, version = ()): argument 63 install_dir = os.path.join(env.Dir('#.').srcnode().abspath, env['build_dir']) 65 if env['SHLIBSUFFIX'] == '.dll': 66 dlls = env.FindIxes(sources, 'SHLIBPREFIX', 'SHLIBSUFFIX') [all …]
|
D | crossmingw.py | 53 def find(env): argument 54 if env['machine'] == 'x86_64': 60 if env.WhereIs(prefix + 'gcc') or SCons.Util.WhereIs(prefix + 'gcc'): 65 def shlib_generator(target, source, env, for_signature): argument 68 dll = env.FindIxes(target, 'SHLIBPREFIX', 'SHLIBSUFFIX') 73 implib = env.FindIxes(target, 'LIBPREFIX', 'LIBSUFFIX') 76 def_target = env.FindIxes(target, 'WIN32DEFPREFIX', 'WIN32DEFSUFFIX') 81 def shlib_emitter(target, source, env): argument 82 dll = env.FindIxes(target, 'SHLIBPREFIX', 'SHLIBSUFFIX') 83 no_import_lib = env.get('no_import_lib', 0) [all …]
|
/external/jsoncpp/ |
D | SConstruct | 27 CXX = 'g++' # not quite right, but env is not yet available. 68 env = Environment( ENV = make_environ_vars(), 73 env.Tool( 'sunc++' ) 74 env.Tool( 'sunlink' ) 75 env.Tool( 'sunar' ) 76 env.Append( CCFLAGS = ['-mt'] ) 78 env.Tool( 'default' ) 79 env.Tool( 'aixcc' ) 80 env['CXX'] = 'xlC_r' #scons does not pick-up the correct one ! 83 env.Append( CCFLAGS = '-qrtti=all', [all …]
|
/external/libchrome/base/android/ |
D | jni_array.cc | 19 size_t SafeGetArrayLength(JNIEnv* env, JavaArrayType jarray) { in SafeGetArrayLength() argument 21 jsize length = env->GetArrayLength(jarray); in SafeGetArrayLength() 28 ScopedJavaLocalRef<jbyteArray> ToJavaByteArray(JNIEnv* env, in ToJavaByteArray() argument 31 jbyteArray byte_array = env->NewByteArray(len); in ToJavaByteArray() 32 CheckException(env); in ToJavaByteArray() 35 env->SetByteArrayRegion( in ToJavaByteArray() 37 CheckException(env); in ToJavaByteArray() 39 return ScopedJavaLocalRef<jbyteArray>(env, byte_array); in ToJavaByteArray() 43 JNIEnv* env, in ToJavaByteArray() argument 45 return ToJavaByteArray(env, bytes.data(), bytes.size()); in ToJavaByteArray() [all …]
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_dbenv.py | 12 self.env = db.DBEnv() 15 self.env.close() 16 del self.env 22 self.env.open(self.homeDir, flags) 23 self.assertEqual(flags, self.env.get_open_flags()) 28 self.env.open(self.homeDir, flags) 29 self.assertEqual(flags, self.env.get_open_flags()) 34 self.env.set_lk_partitions(i) 35 self.assertEqual(i, self.env.get_lk_partitions()) 38 self.assertEqual(None, self.env.get_intermediate_dir_mode()) [all …]
|
/external/vixl/ |
D | SConstruct | 125 def modifiable_flags_handler(env): 126 env['modifiable_flags'] = \ 127 'on' if 'mode' in env and env['mode'] == 'debug' else 'off' 130 def symbols_handler(env): 131 env['symbols'] = 'on' if 'mode' in env and env['mode'] == 'debug' else 'off' 133 def Is32BitHost(env): 134 return env['host_arch'] in ['aarch32', 'i386'] 136 def IsAArch64Host(env): 137 return env['host_arch'] == 'aarch64' 139 def CanTargetA32(env): [all …]
|
/external/nanopb-c/tests/ |
D | SConstruct | 17 env = Environment(ENV = os.environ, tools = ['default', 'nanopb']) 20 if 'CC' in ARGUMENTS: env.Replace(CC = ARGUMENTS['CC']) 21 if 'CXX' in ARGUMENTS: env.Replace(CXX = ARGUMENTS['CXX']) 22 if 'CCFLAGS' in ARGUMENTS: env.Append(CCFLAGS = ARGUMENTS['CCFLAGS']) 23 if 'CXXFLAGS' in ARGUMENTS: env.Append(CXXFLAGS = ARGUMENTS['CXXFLAGS']) 26 add_nanopb_builders(env) 29 env.Append(CPPPATH = ["#../", "$COMMON"]) 32 env.Append(PROTOCPATH = '#../generator') 35 if not env.GetOption('clean'): 39 oldflags = context.env['CCFLAGS'] [all …]
|
/external/grpc-grpc/third_party/nanopb/tests/ |
D | SConstruct | 17 env = Environment(ENV = os.environ, tools = ['default', 'nanopb']) 20 if 'CC' in ARGUMENTS: env.Replace(CC = ARGUMENTS['CC']) 21 if 'CXX' in ARGUMENTS: env.Replace(CXX = ARGUMENTS['CXX']) 22 if 'CCFLAGS' in ARGUMENTS: env.Append(CCFLAGS = ARGUMENTS['CCFLAGS']) 23 if 'CXXFLAGS' in ARGUMENTS: env.Append(CXXFLAGS = ARGUMENTS['CXXFLAGS']) 26 add_nanopb_builders(env) 29 env.Append(CPPPATH = ["#../", "$COMMON"]) 32 env.Append(PROTOCPATH = '#../generator') 35 if not env.GetOption('clean'): 39 oldflags = context.env['CCFLAGS'] [all …]
|
/external/libtextclassifier/actions/ |
D | lua-utils.cc | 75 LuaEnvironment* env) { in PushAnnotation() argument 79 lua_newtable(env->state()); in PushAnnotation() 81 env->PushFlatbuffer(entity_data_schema, in PushAnnotation() 85 lua_pushinteger(env->state(), in PushAnnotation() 87 lua_setfield(env->state(), /*idx=*/-2, kTimeUsecKey); in PushAnnotation() 88 lua_pushinteger(env->state(), in PushAnnotation() 90 lua_setfield(env->state(), /*idx=*/-2, kGranularityKey); in PushAnnotation() 91 env->PushString(classification.collection); in PushAnnotation() 92 lua_setfield(env->state(), /*idx=*/-2, kCollectionKey); in PushAnnotation() 93 lua_pushnumber(env->state(), classification.score); in PushAnnotation() [all …]
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | object_tracker_jni.cc | 38 ObjectTracker* get_object_tracker(JNIEnv* env, jobject thiz) { in get_object_tracker() argument 40 reinterpret_cast<ObjectTracker*>(object_tracker_field.get(env, thiz)); in get_object_tracker() 45 void set_object_tracker(JNIEnv* env, jobject thiz, in set_object_tracker() argument 47 object_tracker_field.set(env, thiz, in set_object_tracker() 55 void JNICALL OBJECT_TRACKER_METHOD(initNative)(JNIEnv* env, jobject thiz, 60 void JNICALL OBJECT_TRACKER_METHOD(releaseMemoryNative)(JNIEnv* env, 65 JNIEnv* env, jobject thiz, jstring object_id, jfloat x1, jfloat y1, 70 JNIEnv* env, jobject thiz, jstring object_id, jfloat x1, jfloat y1, 75 JNIEnv* env, jobject thiz, jstring object_id, jfloat x1, jfloat y1, 79 jboolean JNICALL OBJECT_TRACKER_METHOD(haveObject)(JNIEnv* env, jobject thiz, [all …]
|
/external/ltp/testcases/kernel/io/disktest/ |
D | stats.c | 55 void print_stats(child_args_t * args, test_env_t * env, statop_t operation) in print_stats() argument 66 if ((curr_time - env->start_time) == 0) in print_stats() 70 hread_time = env->hbeat_stats.rtime; in print_stats() 71 hwrite_time = env->hbeat_stats.wtime; in print_stats() 72 read_time = env->cycle_stats.rtime; in print_stats() 73 write_time = env->cycle_stats.wtime; in print_stats() 74 gr_time = env->global_stats.rtime; in print_stats() 75 gw_time = env->global_stats.wtime; in print_stats() 77 hread_time = ((env->hbeat_stats.rtime * args->rperc) / 100); in print_stats() 78 hwrite_time = ((env->hbeat_stats.wtime * args->wperc) / 100); in print_stats() [all …]
|
/external/deqp/framework/platform/android/ |
D | tcuAndroidUtil.cpp | 87 LocalRef (JNIEnv* env, jobject ref); 101 LocalRef::LocalRef (JNIEnv* env, jobject ref) in LocalRef() argument 102 : m_env(env) in LocalRef() 113 void checkException (JNIEnv* env) in checkException() argument 115 if (env->ExceptionCheck()) in checkException() 117 env->ExceptionDescribe(); in checkException() 118 env->ExceptionClear(); in checkException() 123 jclass findClass (JNIEnv* env, const char* className) in findClass() argument 125 const jclass cls = env->FindClass(className); in findClass() 127 checkException(env); in findClass() [all …]
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | jniutil.cc | 50 void init(JavaVM* vm, JNIEnv* env) { in init() argument 53 byteArrayClass = findClass(env, "[B"); in init() 54 calendarClass = findClass(env, "java/util/Calendar"); in init() 55 inputStreamClass = findClass(env, "java/io/InputStream"); in init() 56 integerClass = findClass(env, "java/lang/Integer"); in init() 57 objectClass = findClass(env, "java/lang/Object"); in init() 58 objectArrayClass = findClass(env, "[Ljava/lang/Object;"); in init() 59 outputStreamClass = findClass(env, "java/io/OutputStream"); in init() 60 stringClass = findClass(env, "java/lang/String"); in init() 63 env, TO_STRING(JNI_JARJAR_PREFIX) "org/conscrypt/CryptoUpcalls"); in init() [all …]
|
/external/tensorflow/tensorflow/java/src/main/native/ |
D | operation_builder_jni.cc | 24 TF_OperationDescription* requireHandle(JNIEnv* env, jlong handle) { in requireHandle() argument 26 throwException(env, kIllegalStateException, in requireHandle() 33 bool resolveOutput(JNIEnv* env, jlong op_handle, jint index, TF_Output* out) { in resolveOutput() argument 35 throwException(env, kIllegalStateException, in resolveOutput() 44 TF_Tensor* requireTensor(JNIEnv* env, jlong handle) { in requireTensor() argument 46 throwException(env, kIllegalStateException, in requireTensor() 55 JNIEnv* env, jclass clazz, jlong graph_handle, jstring type, jstring name) { in Java_org_tensorflow_OperationBuilder_allocate() argument 57 throwException(env, kIllegalStateException, in Java_org_tensorflow_OperationBuilder_allocate() 62 const char* op_type = env->GetStringUTFChars(type, nullptr); in Java_org_tensorflow_OperationBuilder_allocate() 63 const char* op_name = env->GetStringUTFChars(name, nullptr); in Java_org_tensorflow_OperationBuilder_allocate() [all …]
|
/external/oj-libjdwp/src/share/back/ |
D | ArrayReferenceImpl.c | 34 JNIEnv *env = getEnv(); in length() local 37 jarray array = inStream_readArrayRef(env, in); in length() 42 arrayLength = JNI_FUNC_PTR(env,GetArrayLength)(env, array); in length() 70 writeBooleanComponents(JNIEnv *env, PacketOutputStream *out, in writeBooleanComponents() argument 78 JNI_FUNC_PTR(env,GetBooleanArrayRegion)(env, array, index, length, components); in writeBooleanComponents() local 87 writeByteComponents(JNIEnv *env, PacketOutputStream *out, in writeByteComponents() argument 95 JNI_FUNC_PTR(env,GetByteArrayRegion)(env, array, index, length, components); in writeByteComponents() local 104 writeCharComponents(JNIEnv *env, PacketOutputStream *out, in writeCharComponents() argument 112 JNI_FUNC_PTR(env,GetCharArrayRegion)(env, array, index, length, components); in writeCharComponents() local 121 writeShortComponents(JNIEnv *env, PacketOutputStream *out, in writeShortComponents() argument [all …]
|
/external/syzkaller/pkg/bisect/ |
D | bisect.go | 52 type env struct { struct 56 inst *instance.Env 71 env := &env{ 76 env.log("searching for fixing commit since %v", cfg.Kernel.Commit) 78 env.log("searching for guilty commit starting from %v", cfg.Kernel.Commit) 81 res, err := env.bisect() 82 env.log("revisions tested: %v, total time: %v (build: %v, test: %v)", 83 env.numTests, time.Since(start), env.buildTime, env.testTime) 85 env.log("error: %v", err) 89 env.log("the crash is still unfixed") [all …]
|
/external/tensorflow/tensorflow/lite/java/src/main/native/ |
D | tensor_jni.cc | 45 TfLiteTensor* GetTensorFromHandle(JNIEnv* env, jlong handle) { in GetTensorFromHandle() argument 47 throwException(env, kIllegalArgumentException, in GetTensorFromHandle() 54 int GetTensorIndexFromHandle(JNIEnv* env, jlong handle) { in GetTensorIndexFromHandle() argument 56 throwException(env, kIllegalArgumentException, in GetTensorIndexFromHandle() 92 size_t WriteOneDimensionalArray(JNIEnv* env, jobject object, TfLiteType type, in WriteOneDimensionalArray() argument 95 const int num_elements = env->GetArrayLength(array); in WriteOneDimensionalArray() 98 throwException(env, kIllegalStateException, in WriteOneDimensionalArray() 108 env->GetFloatArrayRegion(float_array, 0, num_elements, float_dst); in WriteOneDimensionalArray() 114 env->GetIntArrayRegion(int_array, 0, num_elements, int_dst); in WriteOneDimensionalArray() 120 env->GetLongArrayRegion(long_array, 0, num_elements, long_dst); in WriteOneDimensionalArray() [all …]
|
D | nativeinterpreterwrapper_jni.cc | 19 tflite::Interpreter* convertLongToInterpreter(JNIEnv* env, jlong handle) { in convertLongToInterpreter() argument 21 throwException(env, kIllegalArgumentException, in convertLongToInterpreter() 28 tflite::FlatBufferModel* convertLongToModel(JNIEnv* env, jlong handle) { in convertLongToModel() argument 30 throwException(env, kIllegalArgumentException, in convertLongToModel() 37 BufferErrorReporter* convertLongToErrorReporter(JNIEnv* env, jlong handle) { in convertLongToErrorReporter() argument 39 throwException(env, kIllegalArgumentException, in convertLongToErrorReporter() 46 TfLiteDelegate* convertLongToDelegate(JNIEnv* env, jlong handle) { in convertLongToDelegate() argument 48 throwException(env, kIllegalArgumentException, in convertLongToDelegate() 55 std::vector<int> convertJIntArrayToVector(JNIEnv* env, jintArray inputs) { in convertJIntArrayToVector() argument 56 int size = static_cast<int>(env->GetArrayLength(inputs)); in convertJIntArrayToVector() [all …]
|