Home
last modified time | relevance | path

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

12345

/device/sample/frameworks/PlatformLibrary/jni/
DPlatformLibrary.cpp50 static void throwException(JNIEnv* env, const char* ex, const char* fmt, in throwException() argument
53 if (jclass cls = env->FindClass(ex)) { in throwException()
57 env->ThrowNew(cls, msg); in throwException()
59 env->ThrowNew(cls, NULL); in throwException()
68 env->DeleteLocalRef(cls); in throwException()
78 static jint PlatformLibrary_getJniInt(JNIEnv* env, jobject thiz, jboolean bad) { in PlatformLibrary_getJniInt() argument
80 throwException(env, "java/lang/IllegalStateException", in PlatformLibrary_getJniInt()
84 env->SetIntField(thiz, gCachedState.jniInt, 42); in PlatformLibrary_getJniInt()
99 static jstring PlatformLibrary_reverseString(JNIEnv* env, jclass clazz, in PlatformLibrary_reverseString() argument
103 throwException(env, "java/lang/NullPointerException", NULL, 0); in PlatformLibrary_reverseString()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/
Dsimple_server.py53 env = self.base_environ = {}
54 env['SERVER_NAME'] = self.server_name
55 env['GATEWAY_INTERFACE'] = 'CGI/1.1'
56 env['SERVER_PORT'] = str(self.server_port)
57 env['REMOTE_HOST']=''
58 env['CONTENT_LENGTH']=''
59 env['SCRIPT_NAME'] = ''
74 env = self.server.base_environ.copy()
75 env['SERVER_PROTOCOL'] = self.request_version
76 env['REQUEST_METHOD'] = self.command
[all …]
Dhandlers.py99 env = self.environ = self.os_environ.copy()
102 env['wsgi.input'] = self.get_stdin()
103 env['wsgi.errors'] = self.get_stderr()
104 env['wsgi.version'] = self.wsgi_version
105 env['wsgi.run_once'] = self.wsgi_run_once
106 env['wsgi.url_scheme'] = self.get_scheme()
107 env['wsgi.multithread'] = self.wsgi_multithread
108 env['wsgi.multiprocess'] = self.wsgi_multiprocess
111 env['wsgi.file_wrapper'] = self.wsgi_file_wrapper
114 env.setdefault('SERVER_SOFTWARE',self.server_software)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DCGIHTTPServer.py158 env = copy.deepcopy(os.environ)
159 env['SERVER_SOFTWARE'] = self.version_string()
160 env['SERVER_NAME'] = self.server.server_name
161 env['GATEWAY_INTERFACE'] = 'CGI/1.1'
162 env['SERVER_PROTOCOL'] = self.protocol_version
163 env['SERVER_PORT'] = str(self.server.server_port)
164 env['REQUEST_METHOD'] = self.command
166 env['PATH_INFO'] = uqrest
167 env['PATH_TRANSLATED'] = self.translate_path(uqrest)
168 env['SCRIPT_NAME'] = scriptname
[all …]
Dos.py319 env = args[-1]
320 execve(file, args[:-1], env)
335 env = args[-1]
336 execvpe(file, args[:-1], env)
346 def execvpe(file, args, env): argument
353 _execvpe(file, args, env)
357 def _execvpe(file, args, env=None): argument
358 if env is not None:
360 argrest = (args, env)
364 env = environ
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
Dregparse.c126 #define BACKREF_REL_TO_ABS(rel_no, env) \ argument
127 ((env)->num_mem + 1 + (rel_no))
722 name_add(regex_t* reg, UChar* name, UChar* name_end, int backref, ScanEnv* env) in name_add() argument
799 ! IS_SYNTAX_BV(env->syntax, ONIG_SYN_ALLOW_MULTIPLEX_DEFINITION_NAME)) { in name_add()
800 onig_scan_env_set_error_string(env, ONIGERR_MULTIPLEX_DEFINED_NAME, in name_add()
928 scan_env_clear(ScanEnv* env) in scan_env_clear() argument
932 BIT_STATUS_CLEAR(env->capture_history); in scan_env_clear()
933 BIT_STATUS_CLEAR(env->bt_mem_start); in scan_env_clear()
934 BIT_STATUS_CLEAR(env->bt_mem_end); in scan_env_clear()
935 BIT_STATUS_CLEAR(env->backrefed_mem); in scan_env_clear()
[all …]
Dregcomp.c1905 disable_noname_group_capture(Node** root, regex_t* reg, ScanEnv* env) in disable_noname_group_capture() argument
1912 map = (GroupNumRemap* )xmalloc(sizeof(GroupNumRemap) * (env->num_mem + 1)); in disable_noname_group_capture()
1914 for (i = 1; i <= env->num_mem; i++) { in disable_noname_group_capture()
1924 for (i = 1, pos = 1; i <= env->num_mem; i++) { in disable_noname_group_capture()
1926 SCANENV_MEM_NODES(env)[pos] = SCANENV_MEM_NODES(env)[i]; in disable_noname_group_capture() local
1931 loc = env->capture_history; in disable_noname_group_capture()
1932 BIT_STATUS_CLEAR(env->capture_history); in disable_noname_group_capture()
1935 BIT_STATUS_ON_AT_SIMPLE(env->capture_history, map[i].new_val); in disable_noname_group_capture()
1939 env->num_mem = env->num_named; in disable_noname_group_capture()
1940 reg->num_mem = env->num_named; in disable_noname_group_capture()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/
Dbld_vlv.sh47 if [ -e $(pwd)/Conf/BiosId.env ]; then
48 rm $(pwd)/Conf/BiosId.env
127 cp $PLATFORM_PACKAGE/BiosIdR.env Conf/BiosId.env
130 cp $PLATFORM_PACKAGE/BiosIdx64R.env Conf/BiosId.env
133 sed -i '/^BOARD_ID/d' Conf/BiosId.env
134 sed -i '/^BUILD_TYPE/d' Conf/BiosId.env
147 echo BOARD_ID = MNW2MAX >> Conf/BiosId.env
159 echo BUILD_TYPE = R >> Conf/BiosId.env
163 echo BUILD_TYPE = D >> Conf/BiosId.env
229 ./$PLATFORM_PACKAGE/GenBiosId -i Conf/BiosId.env -o $BUILD_PATH/$Arch/BiosId.bin
[all …]
DbldX64.bat36 @set EVN_debug_file=.\Vlv2TbltDevicePkg\BiosIdx64D.env
37 @set EVN_release_file=.\Vlv2TbltDevicePkg\BiosIdx64R.env
43 findstr /b /v BOARD_ID %EVN_debug_file% > newfile.env
44 echo BOARD_ID = MNW2MAX >> newfile.env
45 type newfile.env > %EVN_debug_file%
46 findstr /b /v BOARD_ID %EVN_release_file% > newfile.env
47 echo BOARD_ID = MNW2MAX >> newfile.env
48 type newfile.env > %EVN_release_file%
125 set BIOS_ID_FILE=BiosIdx64D.env
128 set BIOS_ID_FILE=BiosIdx64R.env
Dcln.sh40 if [ -e $(pwd)/Conf/BiosId.env ]; then
41 rm $(pwd)/Conf/BiosId.env
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_cgi.py40 env = {}
43 env['REQUEST_METHOD'] = 'GET'
44 env['QUERY_STRING'] = buf
47 env['REQUEST_METHOD'] = 'POST'
48 env['CONTENT_TYPE'] = 'application/x-www-form-urlencoded'
49 env['CONTENT_LENGTH'] = str(len(buf))
53 return cgi.parse(fp, env, strict_parsing=1)
131 env = {'QUERY_STRING': orig}
132 fcd = cgi.FormContentDict(env)
133 sd = cgi.SvFormContentDict(env)
[all …]
Dtest_wsgiref.py171 env = {'SCRIPT_NAME':sn_in,'PATH_INFO':pi_in}
172 util.setup_testing_defaults(env)
173 self.assertEqual(util.shift_path_info(env),part)
174 self.assertEqual(env['PATH_INFO'],pi_out)
175 self.assertEqual(env['SCRIPT_NAME'],sn_out)
176 return env
180 env = {}
181 util.setup_testing_defaults(env)
183 self.assertIsInstance(env[key], StringIO)
185 self.assertEqual(env[key], value)
[all …]
Dtest_site.py168 env = os.environ.copy()
171 env=env)
175 env = os.environ.copy()
178 env=env)
181 env = os.environ.copy()
182 env["PYTHONNOUSERSITE"] = "1"
185 env=env)
188 env = os.environ.copy()
189 env["PYTHONUSERBASE"] = "/tmp"
192 env=env)
Dtest_ntpath.py130 with test_support.EnvironmentVarGuard() as env:
131 env.clear()
132 env["foo"] = "bar"
133 env["{foo"] = "baz1"
134 env["{foo}"] = "baz2"
Dtest_sysconfig.py273 env = os.environ.copy()
274 if 'MACOSX_DEPLOYMENT_TARGET' in env:
275 del env['MACOSX_DEPLOYMENT_TARGET']
284 env=env)
295 env = os.environ.copy()
296 env['MACOSX_DEPLOYMENT_TARGET'] = '10.1'
304 env=env)
Dtest_getopt.py13 self.env = EnvironmentVarGuard()
14 if "POSIXLY_CORRECT" in self.env:
15 del self.env["POSIXLY_CORRECT"]
18 self.env.__exit__()
19 del self.env
135 self.env["POSIXLY_CORRECT"] = "1"
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
Dsecurity.py5 env = os.environ
6 if env.has_key('PYTHON_KEYFILE'):
7 keyfile = env['PYTHON_KEYFILE']
10 if env.has_key('HOME'):
11 keyfile = os.path.join(env['HOME'], keyfile)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
Dos.py348 env = args[-1]
349 execve(file, args[:-1], env)
364 env = args[-1]
365 execvpe(file, args[:-1], env)
375 def execvpe(file, args, env): argument
382 _execvpe(file, args, env)
386 def _execvpe(file, args, env=None): argument
387 if env is not None:
389 argrest = (args, env)
393 env = environ
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
Dos.py333 env = args[-1]
334 execve(file, args[:-1], env)
349 env = args[-1]
350 execvpe(file, args[:-1], env)
360 def execvpe(file, args, env): argument
367 _execvpe(file, args, env)
371 def _execvpe(file, args, env=None): argument
372 if env is not None:
374 argrest = (args, env)
378 env = environ
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/
Dsetjmp.h45 #define setjmp(env) (INTN)SetJump((env)) argument
63 extern void longjmp(jmp_buf env, int val);
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/
Dsetlocale.c135 const char *env, *r; in __setlocale() local
161 env = __get_locale_env(i); in __setlocale()
162 (void)strncpyX(new_categories[i], env, in __setlocale()
167 env = __get_locale_env(category); in __setlocale()
168 (void)strncpyX(new_categories[category], env, in __setlocale()
404 const char *env; in __get_locale_env() local
421 env = "C"; in __get_locale_env()
423 return env; in __get_locale_env()
/device/linaro/bootloader/edk2/StdLib/LibC/Main/
Dlongjmp.c17 void longjmp(jmp_buf env, int val) in longjmp() argument
19 LongJump(env, (UINTN)((val == 0) ? 1 : val)); in longjmp()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/
Drandom.c376 char *env; in _PyRandom_Init() local
400 env = Py_GETENV("PYTHONHASHSEED"); in _PyRandom_Init()
401 if (env && *env != '\0' && strcmp(env, "random") != 0) { in _PyRandom_Init()
402 char *endptr = env; in _PyRandom_Init()
404 seed = strtoul(env, &endptr, 10); in _PyRandom_Init()
/device/google/cuttlefish_common/common/libs/utils/
Dsubprocess.h101 void SetEnvironment(const std::vector<std::string>& env) { in SetEnvironment() argument
103 env_ = env; in SetEnvironment()
147 const std::vector<std::string>& env);
/device/google/contexthub/firmware/build/
Dconfig.mk50 define nano-reset-built-env
198 $(call aux-variant-load-env,$(_fev_variant)) \
202 $(call nano-reset-built-env,) \
205 $(call aux-variant-load-env,) \
206 $(call nano-reset-built-env,$(LOCAL_MODULE)-module-is-poisoned) \

12345