Home
last modified time | relevance | path

Searched +full:- +full:- +full:native +full:- +full:file (Results 1 – 25 of 1194) sorted by relevance

12345678910>>...48

/external/llvm/utils/
Dllvm-native-gxx2 # Wrapper around LLVM tools to generate a native .o from llvm-gxx using an
3 # LLVM back-end (CBE by default).
17 # process command-line options.
18 # most of these are passed on to llvm-gxx.
21 if ($ARGV[$i] =~ /-mllvm-backend=([a-z0-9]*)/) {
23 if ($ProgramName =~ /llvm-native-gxx/) {
25 --$i;
27 } elsif ($ARGV[$i] eq "-E") {
29 } elsif ($ARGV[$i] eq "-c") {
32 } elsif ($ARGV[$i] eq "-v") {
[all …]
Dcheck-each-file2 # check-each-file
3 # Used to narrow down a miscompilation to one .o file from a list. Please read
4 # the usage procedure, below, for command-line syntax (or run it with --help).
5 # This script depends on the llvm-native-gcc script.
7 if [ x$1 = x--make-linker-script ]
10 linker=./link-$program
11 echo "Building $program with llvm-native-gcc"
12 rm -f $program
13 gmake -e $program CC=llvm-native-gcc CXX=llvm-native-gxx
14 echo "Erasing $program and re-linking it"
[all …]
/external/cldr/tools/scripts/
Dcldr-svnprops-check.py3 # Copyright (C) 2009-2012, International Business Machines Corporation, Google and Others.
8 # This script is a modified version of ICU's icu-svnprops-check.py.
9 # Also check for the correct line endings on files with svn:eol-style = native
12 # It only works correctly on platforms where the native line ending is a plain \n
15 # cldr-svnprops-check.py [options]
18 # -f | --fix Fix any problems that are found
19 # -h | --help Print a usage line and exit.
33 # Copy and paste here the ICU recommended auto-props from
34 # http://icu-project.org/docs/subversion_howto/index.html
41 [auto-props]
[all …]
/external/grpc-grpc/src/ruby/nativedebug/
DREADME.md2 applications that use grpc pre-compiled binary gems.
4 An example of a pre-compiled binary gem is `grpc-1.58.0-x86_64-linux.gem`
5 (as opposed to a source-built gem like `grpc-1.58.0.gem`).
7 `grpc-native-debug` gems contain debug symbols which complement the
8 native libraries in these grpc binary gems. After fetching and unpacking a
9 proper `grpc-native-debug` gem, one can load the correct `.dbg` symbol file to
14 grpc-ruby pre-compiled binary gems are *released with debug symbols stripped*.
18 # Using grpc-native-debug
20 ## Finding the correct grpc-native-debug gem
22 Each `grpc-native-debug` gem is *one-to-one* with a `grpc` gem. Specifically:
[all …]
/external/cronet/third_party/netty-tcnative/src/java/io/netty/internal/tcnative/
DSSLContext.java4 * The Netty Project licenses this file to you under the Apache License,
5 * version 2.0 (the "License"); you may not use this file except in compliance
8 * http://www.apache.org/licenses/LICENSE-2.0
18 * contributor license agreements. See the NOTICE file distributed with
20 * The ASF licenses this file to You under the Apache License, Version 2.0
21 * (the "License"); you may not use this file except in compliance with
24 * http://www.apache.org/licenses/LICENSE-2.0
60 public static native long make(int protocol, int mode) in make()
68 public static native int free(long ctx); in free()
75 public static native void setContextId(long ctx, String id); in setContextId()
[all …]
DSSL.java4 * The Netty Project licenses this file to you under the Apache License,
5 * version 2.0 (the "License"); you may not use this file except in compliance
8 * http://www.apache.org/licenses/LICENSE-2.0
18 * contributor license agreements. See the NOTICE file distributed with
20 * The ASF licenses this file to You under the Apache License, Version 2.0
21 * (the "License"); you may not use this file except in compliance with
24 * http://www.apache.org/licenses/LICENSE-2.0
59 public static final int SSL_CVERIFY_IGNORED = -1;
98 public static native int version(); in version()
101 public static native String versionString(); in versionString()
[all …]
/external/cronet/third_party/jni_zero/
DREADME.md2 JNI (Java Native Interface) is the mechanism that enables Java code to call
3 native functions, and native code to call Java functions.
5 * Native code calls into Java using apis from `<jni.h>`, which basically mirror
7 * Java code calls native functions by declaring body-less functions with the
8 `native` keyword, and then calling them as normal Java functions.
10 `jni_generator` generates boiler-plate code with the goal of making our code:
24 ### Exposing Native Methods
26 There are two ways to have native methods be found by Java:
27 1) Explicitly register the name -> function pointer mapping using JNI's
30 on-demand (using `dlsym()`) the first time a native method is called.
[all …]
Djni_registration_generator.py2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
42 native method declarations.
44 Optionally generates a header file that provides RegisterNatives to perform
49 native_sources: A list of java file paths. The source of truth.
50 java_sources: A list of java file paths. Used to assert against
58 # The native-based sources are the "source of truth" - the Java based ones
88 # duplicates for JNI multiplexing since all native methods with similar
110 header_guard = re.sub(r'[/.-]', '_', header_guard)
154 native_only = native_sources_set - java_sources_set
[all …]
Djni_generator.py2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
24 # Item 0 of sys.path is the directory of the main file; item 1 is PYTHONPATH
37 # WrapOutput() is fairly slow. Pre-creating TextWrappers helps a bit.
56 # Proxy methods don't have a native prefix so the first letter is
73 and first_param.name.startswith('native')):
77 self.first_param_cpp_type = first_param.name[len('native'):]
141 """Returns a C datatype to be when calling from native."""
150 def _GetJNIFirstParam(native, for_declaration): argument
151 c_type = 'jclass' if native.static else 'jobject'
[all …]
/external/libchrome/base/android/jni_generator/
DREADME.md2 JNI (Java Native Interface) is the mechanism that enables Java code to call
3 native functions, and native code to call Java functions.
5 * Native code calls into Java using apis from `<jni.h>`, which basically mirror
7 * Java code calls native functions by declaring body-less functions with the
8 `native` keyword, and then calling them as normal Java functions.
10 `jni_generator` generates boiler-plate code with the goal of making our code:
24 ### Exposing Native Methods
27 * Java->Native calls are exported from the shared library and lazily resolved
31 * Java->Native calls are explicitly registered with JNI on the native side.
36 * This script finds all native methods by scanning all source `.java` files
[all …]
Djni_registration_generator.py3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
8 Creates a header file with two static functions: RegisterMainDexNatives() and
10 to register all native methods that exist within an application."""
33 """Generate a header file including two registration functions.
37 calls them in RegisterNonMainDexNatives() if they are non-main dex.
40 java_file_paths: A list of java file paths.
41 output_file: A relative path to output file.
83 """Returns the content of the header file."""
87 // Use of this source code is governed by a BSD-style license that can be
[all …]
Djni_generator.py3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
6 """Extracts native methods from a Java file and generates the JNI bindings.
24 # double-quoted strings.
33 r'(?P<qualifiers>\w+\s\w+|\w+|\s+)\s*native '
35 r'(?P<name>native\w+)\((?P<params>.*?)\);')
43 # WrapOutput() is fairly slow. Pre-creating TextWrappers helps a bit.
53 """Exception thrown when we can't parse the input file."""
66 """Describes a param for a method, either java or native."""
87 self.params[0].name.startswith('native')):
[all …]
/external/libchrome/base/android/java/src/org/chromium/base/library_loader/
DLibraryLoader.java2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
34 import java.io.File;
43 * This class provides functionality to load and register the native libraries.
54 * the native counterpart to this class.
65 // native shared libraries to the /data partition at installation or upgrade time,
71 // This will work for any device running K-. Starting with Android L, render processes
72 // cannot access the file system anymore, and extraction will always fail for them.
81 // Location of extracted native libraries.
93 // One-way switch becomes true when the libraries are initialized (
[all …]
/external/llvm/docs/
DLinkTimeOptimization.rst24 treates LLVM bitcode files like native object files and allows mixing and
30 .. _libLTO-example:
33 ---------------------------------
40 * Input source file ``a.c`` is compiled into LLVM bitcode form.
41 * Input source file ``main.c`` is compiled into native object code.
43 .. code-block:: c++
45 --- a.h ---
50 --- a.c ---
56 i = -1;
74 --- main.c ---
[all …]
/external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/task_library/
Dcustomized_task_api.md4 native/Android/iOS APIs on top of the same infrastructure that abstracts
10 Task API infrastructure has a two-layer structure: the bottom C++ layer
11 encapsulating the native TFLite runtime and the top Java/ObjC layer that
12 communicates with the C++ layer through JNI or native wrapper.
18 [BaseTaskApi](https://github.com/tensorflow/tflite-support/blob/master/tensorflow_lite_support/cc/t…
36 All TFLite details are implemented in the native API. Create an API object by
43 [`BertQuestionAnswerer`](https://github.com/tensorflow/tflite-support/blob/master/tensorflow_lite_s…
45 [MobileBert](https://tfhub.dev/tensorflow/lite-model/mobilebert/1/default/1).
49 // Create the API from a model file
63 <div align="center">Figure 2. Native Task API
[all …]
/external/llvm/include/llvm/Config/
Dllvm-platform-config.h3 /*===-- llvm/config/llvm-native-config.h --------------------------*- C -*-===*/
7 /* This file is distributed under the University of Illinois Open Source */
10 /*===----------------------------------------------------------------------===*/
14 /* LLVM architecture name for the native architecture, if available */
18 #define LLVM_HOST_TRIPLE "i686-unknown-linux-gnu"
20 /* LLVM name for the native AsmParser init function, if available */
23 /* LLVM name for the native AsmPrinter init function, if available */
26 /* LLVM name for the native Disassembler init function, if available */
29 /* LLVM name for the native Target init function, if available */
32 /* LLVM name for the native TargetInfo init function, if available */
[all …]
/external/libchrome/base/android/jni_generator/java/src/org/chromium/example/jni_generator/
DSampleForTests.java2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
24 // The C++ counter-part is sample_for_tests.cc.
26 // * Generate a header file for the JNI bindings based on this file.
27 // * Generate a header file containing registration methods required to use C++ methods from this
28 // file.
29 // * Compile sample_for_tests.cc using the generated header file.
30 // * link a native executable to prove the generated header + cc file are self-contained.
33 // This JNINamespace annotation indicates that all native methods should be
34 // generated inside this namespace, including the native class that this
[all …]
/external/elfutils/tests/
Drun-native-test.sh3 # This file is part of elfutils.
5 # This file is free software; you can redistribute it and/or modify
19 . $srcdir/test-subr.sh
26 # the fixed test cases (run-allregs.sh et al) to test that backend
29 tempfiles native.c native
31 > native.c
33 native=0
36 test $native -eq 0 || {
37 kill -9 $native 2> /dev/null || :
38 wait $native 2> /dev/null || :
[all …]
/external/cronet/third_party/jni_zero/golden/
DtestStubRegistration-Final-GEN_JNI.java.golden2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 // This file is autogenerated by
17 … public static native Object org_jni_1zero_samples_SampleForAnnotationProcessor_bar(Object sample);
19 public static native void org_jni_1zero_samples_SampleForAnnotationProcessor_foo();
21 public static native boolean org_jni_1zero_samples_SampleForAnnotationProcessor_hasPhalange();
23 public static native Class org_jni_1zero_samples_SampleForAnnotationProcessor_returnClass();
25 public static native Class[] org_jni_1zero_samples_SampleForAnnotationProcessor_returnClasses();
27 public static native Object org_jni_1zero_samples_SampleForAnnotationProcessor_returnObject();
29 … public static native Object[] org_jni_1zero_samples_SampleForAnnotationProcessor_returnObjects();
[all …]
/external/python/asn1crypto/tests/
Dtest_core.py1 # coding: utf-8
186 # This class attribute may be a 2-element tuple of integers,
187 # or a tuple of 2-element tuple of integers. The first form
257 ("file", SpcString, {"explicit": 2})
264 ("file", SpcLink, {"explicit": 0})
284 # https://misc.daniel-marschall.de/asn.1/oid_facts.html
370 (-127, b'\x02\x01\x81'),
371 (-127, b'\x02\x01\x81'),
373 (-32768, b'\x02\x02\x80\x00'),
374 (-32769, b'\x02\x03\xFF\x7F\xFF'),
[all …]
/external/webrtc/sdk/objc/components/audio/
DRTCAudioDevice.h4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
43 * Delegate object provided by native ADM during RTCAudioDevice initialization.
44 * Provides blocks to poll playback audio samples from native ADM and to feed
45 * recorded audio samples into native ADM.
50 * Implementation of RTCAudioSource should call this block to feed recorded PCM (16-bit integer)
51 * into native ADM. Stereo data is expected to be interleaved starting with the left channel.
52 * Either `inputData` with pre-filled audio data must be provided during block
[all …]
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/
DNativeLibrary.java4 you may not use this file except in compliance with the License.
7 http://www.apache.org/licenses/LICENSE-2.0
18 import java.io.File;
25 * Helper class for loading the TensorFlow Java native library.
27 * <p>The Java TensorFlow bindings require a native (JNI) library. This library
30 * -Djava.library.path command-line argument). However, doing so requires an additional step of
33 * <p>Alternatively, the native libraries can be packaed in a .jar, making them easily usable from
34 * build systems like Maven. However, in such cases, the native library has to be extracted from the
39 * set of ClassLoader resources (under org/tensorflow/native/OS-ARCH). The resources paths used for
41 * native libraries.
[all …]
/external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/
DMatrixNatives.java5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
22 * Native methods for Matrix JNI registration.
24 * <p>Native method signatures are derived from
25 …* https://cs.android.com/android/platform/superproject/+/android-12.0.0_r1:frameworks/base/graphic…
29 public static native long nCreate(long nSrcOrZero); in nCreate()
31 public static native long nGetNativeFinalizer(); in nGetNativeFinalizer()
33 public static native boolean nSetRectToRect(long nObject, RectF src, RectF dst, int stf); in nSetRectToRect()
35 public static native boolean nSetPolyToPoly( in nSetPolyToPoly()
38 public static native void nMapPoints( in nMapPoints()
[all …]
/external/perfetto/docs/case-studies/
Dmemory.md6 * [ADB](https://developer.android.com/studio/command-line/adb) installed and
13 /docs/data-sources/native-heap-profiler.md#heapprofd-targets) for more
19 `dumpsys meminfo` which gives a high-level overview of how much of the various
31 ------ ------ ------ ------ ------ ------ ------ ------
32 Native Heap 16840 16804 0 6764 19428 34024 25037 5553
39 Native Heap, we can see that SystemUI's memory usage on the Java heap
40 is 9M, on the native heap it's 17M.
54 the [mmap() system call](https://man7.org/linux/man-pages/man2/mmap.2.html).
56 the allocator, `malloc()/operator new()` for native processes or by the
59 VMAs can be of two types: file-backed and anonymous.
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DNativeSession.cpp1 //===- NativeSession.cpp - Native implementation of IPDBSession -*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #include "llvm/DebugInfo/PDB/Native/NativeSession.h"
15 #include "llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h"
16 #include "llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h"
17 #include "llvm/DebugInfo/PDB/Native/NativeEnumTypes.h"
18 #include "llvm/DebugInfo/PDB/Native/NativeExeSymbol.h"
19 #include "llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h"
20 #include "llvm/DebugInfo/PDB/Native/NativeTypeEnum.h"
[all …]

12345678910>>...48