Home
last modified time | relevance | path

Searched refs:env (Results 1 – 16 of 16) sorted by relevance

/development/samples/SimpleJNI/jni/
Dnative.cpp46 static int registerNativeMethods(JNIEnv* env, const char* className, in registerNativeMethods() argument
51 clazz = env->FindClass(className); in registerNativeMethods()
56 if (env->RegisterNatives(clazz, gMethods, numMethods) < 0) { in registerNativeMethods()
69 static int registerNatives(JNIEnv* env) in registerNatives() argument
71 if (!registerNativeMethods(env, classPathName, in registerNatives()
87 JNIEnv* env; member
96 JNIEnv* env = NULL; in JNI_OnLoad() local
104 env = uenv.env; in JNI_OnLoad()
106 if (registerNatives(env) != JNI_TRUE) { in JNI_OnLoad()
/development/vndk/tools/sourcedr/blueprint/
Dblueprint.py385 def eval(self, env): argument
393 def eval(self, env): argument
431 def eval(self, env): argument
474 def eval(self, env): argument
494 def eval(self, env): argument
497 return env[self.name].eval(env)
498 return self.value.eval(env)
504 def eval(self, env): argument
506 return List(item.eval(env) for item in self)
518 def eval(self, env): argument
[all …]
/development/vndk/tools/sourcedr/ninja/tests/
Dtest_ninja.py20 def _push_context(self, lexer, env): argument
21 super(MockedParser, self)._push_context(lexer, env)
22 self.mocked_env.append(env)
50 env = ninja.EvalEnv()
51 env['key'] = ninja.EvalStringBuilder().append_raw('value').getvalue()
54 self.assertEqual('value', ninja.eval_string(s, env))
57 env = ninja.EvalEnv()
58 env['key1'] = ninja.EvalStringBuilder().append_raw('a').getvalue()
59 env['key2'] = ninja.EvalStringBuilder().append_raw('b').getvalue()
66 self.assertEqual('ab', ninja.eval_string(s, env))
[all …]
/development/tools/checkcolor/
Dbuild.gradle9 * With the build server you are given two env variables.
15 if (System.env.DIST_DIR != null && System.env.OUT_DIR != null) {
16 buildDir = new File(System.env.OUT_DIR + '/gradle/checkcolor').getCanonicalFile()
17 project.ext.distDir = new File(System.env.DIST_DIR).getCanonicalFile()
/development/python-packages/adb/
D.gitignore85 .env
87 env/
90 env.bak/
/development/vndk/tools/sourcedr/ninja/
Dninja.py119 def _eval_string(s, env, expanded_vars, result_buf): argument
143 next_es = env.get_recursive(varname)
145 _eval_string(next_es, env, expanded_vars, result_buf)
150 def eval_string(s, env): argument
165 _eval_string(s, env, expanded_vars, result_buf)
169 def eval_path_strings(strs, env): argument
179 return [intern(os.path.normpath(eval_string(s, env))) for s in strs]
526 def _push_context(self, lexer, env): argument
536 self._env = env
564 def _parse_internal(self, path, encoding, env): argument
[all …]
/development/tools/winscope/
D.babelrc3 ["env", { "modules": false }]
Dwebpack.config.js97 var prod = (process.env.NODE_ENV === 'production');
Dyarn.lock724 babel-preset-env@^1.5.1:
726 …resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.7.0.tgz#dea79fa4ebeb8…
1471 cross-env@^3.0.0:
1473 …resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-3.2.4.tgz#9e0585f277864ed421ce756f81a…
/development/vndk/tools/header-checker/utils/
Dutils.py323 env = os.environ.copy()
325 env['TARGET_PRODUCT'] = product
327 env['TARGET_BUILD_VARIANT'] = variant
334 stderr=subprocess.PIPE, cwd=AOSP_DIR, env=env)
/development/python-packages/gdbrunner/
D__init__.py365 env = dict(os.environ)
372 env['PYTHONPATH'] = os.path.normpath(python_path)
374 gdb_process = subprocess.Popen(gdb_args, creationflags=creationflags, env=env)
/development/scripts/
Dgdbclient.py387 for env in required_env:
388 if env not in os.environ:
390 "Environment variable '{}' not defined, have you run lunch?".format(env))
434 if args.env:
435 cmd_prefix += ['env'] + [v[0] for v in args.env]
/development/python-packages/
D.gitignore11 env/
/development/tools/
Dmake_key73 -passout env:password
Dmonkey44 def PrintCommand(cmd, env=None): argument
48 if env:
49 for k,v in env.iteritems():
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java865 public void glGetTexEnviv(int env, int pname, int[] params, int offset) { in glGetTexEnviv() argument
869 public void glGetTexEnviv(int env, int pname, IntBuffer params) { in glGetTexEnviv() argument
873 public void glGetTexEnvxv(int env, int pname, int[] params, int offset) { in glGetTexEnvxv() argument
877 public void glGetTexEnvxv(int env, int pname, IntBuffer params) { in glGetTexEnvxv() argument