Home
last modified time | relevance | path

Searched refs:tmpbuffer (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Modules/
Dgetpath.c712 wchar_t tmpbuffer[MAXPATHLEN+1]; in calculate_argv0_path() local
713 int linklen = _Py_wreadlink(program_full_path, tmpbuffer, MAXPATHLEN); in calculate_argv0_path()
715 if (tmpbuffer[0] == SEP) { in calculate_argv0_path()
718 wcsncpy(calculate->argv0_path, tmpbuffer, MAXPATHLEN); in calculate_argv0_path()
723 joinpath(calculate->argv0_path, tmpbuffer); in calculate_argv0_path()
725 linklen = _Py_wreadlink(calculate->argv0_path, tmpbuffer, MAXPATHLEN); in calculate_argv0_path()
743 wchar_t tmpbuffer[MAXPATHLEN+1]; in calculate_read_pyenv() local
747 wcscpy(tmpbuffer, calculate->argv0_path); in calculate_read_pyenv()
749 joinpath(tmpbuffer, env_cfg); in calculate_read_pyenv()
750 env_file = _Py_wfopen(tmpbuffer, L"r"); in calculate_read_pyenv()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dfilter_functions.c136 double tmpbuffer[PITCH_FRAME_LEN + PITCH_WLPCBUFLEN]; in WebRtcIsac_WeightingFilter() local
146 memcpy(tmpbuffer, wfdata->buffer, sizeof(double) * PITCH_WLPCBUFLEN); in WebRtcIsac_WeightingFilter()
147 memcpy(tmpbuffer+PITCH_WLPCBUFLEN, in, sizeof(double) * PITCH_FRAME_LEN); in WebRtcIsac_WeightingFilter()
148 memcpy(wfdata->buffer, tmpbuffer+PITCH_FRAME_LEN, sizeof(double) * PITCH_WLPCBUFLEN); in WebRtcIsac_WeightingFilter()
163 inp=tmpbuffer + PITCH_WLPCBUFLEN; in WebRtcIsac_WeightingFilter()
169 ext[k]=wfdata->window[k]*tmpbuffer[start+k]; in WebRtcIsac_WeightingFilter()
/external/python/cpython2/Modules/
Dgetpath.c485 char tmpbuffer[MAXPATHLEN+1]; in calculate_path() local
486 int linklen = readlink(progpath, tmpbuffer, MAXPATHLEN); in calculate_path()
489 tmpbuffer[linklen] = '\0'; in calculate_path()
490 if (tmpbuffer[0] == SEP) in calculate_path()
493 strncpy(argv0_path, tmpbuffer, MAXPATHLEN); in calculate_path()
497 joinpath(argv0_path, tmpbuffer); in calculate_path()
499 linklen = readlink(argv0_path, tmpbuffer, MAXPATHLEN); in calculate_path()
/external/python/cpython3/Python/
Dpathconfig.c418 wchar_t *tmpbuffer = _Py_DecodeUTF8_surrogateescape(buffer, n); in _Py_FindEnvConfigValue() local
419 if (tmpbuffer) { in _Py_FindEnvConfigValue()
421 wchar_t * tok = wcstok(tmpbuffer, L" \t\r\n", &state); in _Py_FindEnvConfigValue()
429 PyMem_RawFree(tmpbuffer); in _Py_FindEnvConfigValue()
434 PyMem_RawFree(tmpbuffer); in _Py_FindEnvConfigValue()
/external/python/cpython3/PC/
Dgetpathp.c737 wchar_t tmpbuffer[MAXPATHLEN+1]; in calculate_pyvenv_file() local
738 if (_Py_FindEnvConfigValue(env_file, L"home", tmpbuffer, MAXPATHLEN)) { in calculate_pyvenv_file()
739 wcscpy_s(calculate->argv0_path, MAXPATHLEN+1, tmpbuffer); in calculate_pyvenv_file()
/external/icu/icu4c/source/tools/pkgdata/
Dpkgdata.cpp1891 char tmpbuffer[SMALL_BUFFER_MAX_SIZE]; in pkg_checkFlag() local
1956 tmpbuffer[index++] = o->shortName[n]; in pkg_checkFlag()
1960 tmpbuffer[index++] = flag[i]; in pkg_checkFlag()
1968 uprv_strcpy(flag, tmpbuffer); in pkg_checkFlag()
1978 sprintf(tmpbuffer, "%s%s ", o->entryName, UDATA_CMN_INTERMEDIATE_SUFFIX); in pkg_checkFlag()
1980 T_FileStream_writeLine(f, tmpbuffer); in pkg_checkFlag()