Home
last modified time | relevance | path

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

123

/AliOS-Things-master/components/SDL2/src/core/android/
A DSDL_android.c1840 mid = (*env)->GetMethodID(env, (*env)->GetObjectClass(env, context), in Internal_Android_Create_AssetManager()
1899 mid = (*env)->GetMethodID(env, (*env)->GetObjectClass(env, context), in Internal_Android_JNI_FileOpen()
1943 mid = (*env)->GetMethodID(env, (*env)->GetObjectClass(env, assetManager), in Internal_Android_JNI_FileOpen()
1968 mid = (*env)->GetMethodID(env, (*env)->GetObjectClass(env, inputStream), in Internal_Android_JNI_FileOpen()
1990 mid = (*env)->GetMethodID(env, (*env)->GetObjectClass(env, readableByteChannel), in Internal_Android_JNI_FileOpen()
2138 jmethodID mid = (*env)->GetMethodID(env, (*env)->GetObjectClass(env, inputStream), in Internal_Android_JNI_FileClose()
2150 jmethodID mid = (*env)->GetMethodID(env, (*env)->GetObjectClass(env, inputStream), in Internal_Android_JNI_FileClose()
2679 mid = (*env)->GetMethodID(env, (*env)->GetObjectClass(env, context), in SDL_AndroidGetInternalStoragePath()
2689 mid = (*env)->GetMethodID(env, (*env)->GetObjectClass(env, fileObject), in SDL_AndroidGetInternalStoragePath()
2767 mid = (*env)->GetMethodID(env, (*env)->GetObjectClass(env, context), in SDL_AndroidGetExternalStoragePath()
[all …]
/AliOS-Things-master/components/py_engine/engine/tools/
A Dmpy_ld.py396 value, len(env.lit_entries) * env.arch.word_size
460 env.full_text[o : o + env.arch.word_size] = value.to_bytes(env.arch.word_size, "little")
735 got_size = len(env.got_entries) * env.arch.word_size
738 env.sections.insert(0, env.got_section)
740 env.sections.append(env.got_section)
744 lit_size = len(env.lit_entries) * env.arch.word_size
746 env.sections.insert(1, env.lit_section)
754 env.sections.append(env.qstr_val_section)
760 env.sections.append(env.qstr_obj_section)
928 off = env.qstr_val_section.addr + q * env.arch.qstr_entry_size
[all …]
/AliOS-Things-master/components/SDL2/src/hidapi/android/
A Dhid.cpp407 if ( env->ExceptionCheck() ) in ExceptionCheck()
413 env->ExceptionClear(); in ExceptionCheck()
435 JNIEnv *env; in BOpen() local
550 JNIEnv *env; in SendOutputReport() local
560 env->DeleteLocalRef( pBuf ); in SendOutputReport()
572 JNIEnv *env; in SendFeatureReport() local
607 JNIEnv *env; in GetFeatureReport() local
630 env->DeleteLocalRef( pBuf ); in GetFeatureReport()
683 JNIEnv *env; in Close() local
758 if (env != NULL) { in ThreadDestroyed()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/inc/
A Dprf.h85 prf_env_t* env; member
112 typedef uint8_t (*prf_init_fnct) (struct prf_task_env* env, uint16_t* start_hdl, uint16_t app_ta…
123 typedef void (*prf_destroy_fnct) (struct prf_task_env* env);
133 typedef void (*prf_create_fnct) (struct prf_task_env* env, uint8_t conidx);
144 typedef void (*prf_cleanup_fnct) (struct prf_task_env* env, uint8_t conidx, uint8_t reason);
253 ke_task_id_t prf_src_task_get(prf_env_t* env, uint8_t conidx);
265 ke_task_id_t prf_dst_task_get(prf_env_t* env, uint8_t conidx);
/AliOS-Things-master/components/posix/src/
A Denviro.c294 pthread_environ_t *env; in clearenv() local
298 env = g_penviron; in clearenv()
299 while (env != NULL) { in clearenv()
300 next= env->next; in clearenv()
301 if (env->envname != NULL) { in clearenv()
302 free(env->envname); in clearenv()
305 if (env->envval != NULL) { in clearenv()
306 free(env->envval); in clearenv()
309 free(env); in clearenv()
310 env = next; in clearenv()
/AliOS-Things-master/components/SDL2/src/
A DSDL_hints.c51 const char *env; in SDL_SetHintWithPriority() local
59 env = SDL_getenv(name); in SDL_SetHintWithPriority()
60 if (env && priority < SDL_HINT_OVERRIDE) { in SDL_SetHintWithPriority()
107 const char *env; in SDL_GetHint() local
110 env = SDL_getenv(name); in SDL_GetHint()
113 if (!env || hint->priority == SDL_HINT_OVERRIDE) { in SDL_GetHint()
119 return env; in SDL_GetHint()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/mlir/testing/
A Dgenerated_examples_zip_test.cc54 tensorflow::Env* env = tensorflow::Env::Default(); variable
142 env->DeleteRecursively(dir, &undeleted_dirs, &undeleted_files)); in TearDown()
155 TF_CHECK_OK(env->FileExists(unzip_binary)); in UnArchive()
156 TF_CHECK_OK(env->FileExists(zip)); in UnArchive()
160 TF_CHECK_OK(env->FileExists(tar_binary)); in UnArchive()
161 TF_CHECK_OK(env->FileExists(tar)); in UnArchive()
188 if (env->LocalTempFilename(temporary)) { in MakeTemporaryDirectory()
189 TF_CHECK_OK(env->CreateDir(*temporary)); in MakeTemporaryDirectory()
202 static ArchiveEnvironment* env = new ArchiveEnvironment; in archive_environment() local
203 return env; in archive_environment()
/AliOS-Things-master/components/py_engine/tests/
A Drun-multitests.py100 def __init__(self, argv, env=None): argument
102 self.env = {n: v for n, v in (i.split("=") for i in env)} if env else None
118 env=self.env,
131 env=self.env,
445 env = i[1:]
447 instances_test.append(PyInstanceSubProcess([cmd[len("exec:") :]], env))
449 instances_test.append(PyInstanceSubProcess([MICROPYTHON], env))
451 instances_test.append(PyInstanceSubProcess([CPYTHON3], env))
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/examples/
A Dutils.h49 std::string get_env(const std::string env) { in get_env() argument
54 if (_dupenv_s(&buf, &sz, env.c_str()) == 0 && buf != nullptr) { in get_env()
63 char* value = getenv(env.c_str()); in get_env()
A DREADME.md39 - configure `accessKeyId` and `accessKeySecret` via env and then Run.
55 Configure env according to your windows OS.
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/
A Dutils.h49 std::string get_env(const std::string env) { in get_env() argument
54 if (_dupenv_s(&buf, &sz, env.c_str()) == 0 && buf != nullptr) { in get_env()
63 char* value = getenv(env.c_str()); in get_env()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/function_test/
A Dutils.h48 std::string get_env(const std::string env) { in get_env() argument
53 if (_dupenv_s(&buf, &sz, env.c_str()) == 0 && buf != nullptr) { in get_env()
62 char *value = getenv(env.c_str()); in get_env()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/
A DSConstruct31 env = Environment()
65 opts.Update(env)
66 opts.Save('libtiff.conf', env)
67 Help(opts.GenerateHelpText(env))
75 Export([ 'env', 'idir_prefix', 'idir_lib', 'idir_bin', 'idir_inc', 'idir_doc' ])
87 ret = env[name]
110 ret = env[name]
121 conf = Configure(env, custom_tests = custom_tests, \
168 env = conf.Finish()
/AliOS-Things-master/components/py_engine/engine/lib/tinytest/
A Dtinytest.c94 void *env = NULL; in testcase_run_bare_() local
97 env = testcase->setup->setup_fn(testcase); in testcase_run_bare_()
98 if (!env) in testcase_run_bare_()
100 else if (env == (void*)TT_SKIP) in testcase_run_bare_()
105 testcase->fn(env); in testcase_run_bare_()
109 if (testcase->setup->cleanup_fn(testcase, env) == 0) in testcase_run_bare_()
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/unused/
A Djmemdos.c130 const char * env; in select_file_name() local
139 if ((env = (const char *) getenv("TMP")) == NULL) in select_file_name()
140 if ((env = (const char *) getenv("TEMP")) == NULL) in select_file_name()
141 env = "."; in select_file_name()
142 if (*env == '\0') /* null string means "." */ in select_file_name()
143 env = "."; in select_file_name()
145 while (*env != '\0') in select_file_name()
146 *ptr++ = *env++; in select_file_name()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/blast/
A Dblast.c51 jmp_buf env; member
81 if (s->left == 0) longjmp(s->env, 1); /* out of input */ in bits()
165 if (s->left == 0) longjmp(s->env, 1); /* out of input */ in decode()
408 if (setjmp(s.env) != 0) /* if came back here via longjmp(), */ in blast()
/AliOS-Things-master/components/SDL2/src/video/raspberry/
A DSDL_rpimouse.c124 const char *env; in RPI_ShowCursor() local
177 env = SDL_GetHint(SDL_HINT_RPI_VIDEO_LAYER); in RPI_ShowCursor()
178 if (env) { in RPI_ShowCursor()
179 layer = SDL_atoi(env) + 1; in RPI_ShowCursor()
A DSDL_rpivideo.c271 const char *env; in RPI_CreateWindow() local
304 env = SDL_GetHint(SDL_HINT_RPI_VIDEO_LAYER); in RPI_CreateWindow()
305 if (env) { in RPI_CreateWindow()
306 layer = SDL_atoi(env); in RPI_CreateWindow()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/puff/
A Dpuff.c112 jmp_buf env; member
134 longjmp(s->env, 1); /* out of input */ in bits()
299 longjmp(s->env, 1); /* out of input */ in decode()
815 if (setjmp(s.env) != 0) /* if came back here via longjmp() */ in puff()
/AliOS-Things-master/components/SDL2/src/audio/
A DSDL_audio.c1166 const char *env = SDL_getenv("SDL_AUDIO_FREQUENCY"); in prepare_audiospec() local
1167 if ((!env) || ((prepared->freq = SDL_atoi(env)) == 0)) { in prepare_audiospec()
1173 const char *env = SDL_getenv("SDL_AUDIO_FORMAT"); in prepare_audiospec() local
1174 if ((!env) || ((prepared->format = SDL_ParseAudioFormat(env)) == 0)) { in prepare_audiospec()
1181 const char *env = SDL_getenv("SDL_AUDIO_CHANNELS"); in prepare_audiospec() local
1182 if ((!env) || ((prepared->channels = (Uint8) SDL_atoi(env)) == 0)) { in prepare_audiospec()
1199 const char *env = SDL_getenv("SDL_AUDIO_SAMPLES"); in prepare_audiospec() local
1200 if ((!env) || ((prepared->samples = (Uint16) SDL_atoi(env)) == 0)) { in prepare_audiospec()
/AliOS-Things-master/components/SDL2/src/haptic/
A DSDL_haptic.c629 const char *env; in SDL_HapticSetGain() local
645 env = SDL_getenv("SDL_HAPTIC_GAIN_MAX"); in SDL_HapticSetGain()
646 if (env != NULL) { in SDL_HapticSetGain()
647 max_gain = SDL_atoi(env); in SDL_HapticSetGain()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/
A DUtils.cc224 std::string AlibabaCloud::GetEnv(const std::string env) { in GetEnv() argument
228 if (_dupenv_s(&buf, &sz, env.c_str()) == 0 && buf != nullptr) { in GetEnv()
239 char *var = getenv(env.c_str()); in GetEnv()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/include/alibabacloud/core/
A DUtils.h37 std::string GetEnv(const std::string env);
/AliOS-Things-master/components/py_engine/engine/mpy-cross/
A Dmain.c50 STATIC void stderr_print_strn(void *env, const char *str, size_t len) { in stderr_print_strn() argument
51 (void)env; in stderr_print_strn()
/AliOS-Things-master/components/ucamera/
A DREADME.md110 …#get-started-set-up-env](https://docs.espressif.com/projects/esp-idf/zh_CN/latest/esp32/get-starte…

Completed in 69 milliseconds

123