Lines Matching refs:temp
244 char temp[PATH_MAX], *p = temp, *end= p+sizeof temp; in _getSearchPaths() local
250 p = bufprint(temp, end, "%s%d", SEARCH_PREFIX, nn+1 ); in _getSearchPaths()
254 path = iniFile_getString(configIni, temp, NULL); in _getSearchPaths()
258 p = bufprint(temp, end, "%s/%s", sdkRootPath, path); in _getSearchPaths()
260 path = ASTRDUP(temp); in _getSearchPaths()
293 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in _getFullFilePath() local
295 p = bufprint(temp, end, "%s/%s", rootPath, fileName); in _getFullFilePath()
299 return ASTRDUP(temp); in _getFullFilePath()
309 char temp[MAX_PATH], *p=temp, *end=p+sizeof(temp); in _checkSkinPath() local
312 p = bufprint(temp, end, "%s/layout", skinPath); in _checkSkinPath()
313 if (p >= end || !path_exists(temp)) in _checkSkinPath()
329 char temp[MAX_PATH], *p = temp, *end = p + sizeof(temp); in _checkSkinSkinsDir() local
331 p = bufprint(temp, end, "%s/skins/%s", skinDirRoot, skinName); in _checkSkinSkinsDir()
332 DD("Probing skin directory: %s", temp); in _checkSkinSkinsDir()
333 if (p >= end || !path_exists(temp)) { in _checkSkinSkinsDir()
334 DD(" ignore bad skin directory %s", temp); in _checkSkinSkinsDir()
339 if (_checkSkinPath(temp)) { in _checkSkinSkinsDir()
341 DD(" found skin directory: %s", temp); in _checkSkinSkinsDir()
342 return ASTRDUP(temp); in _checkSkinSkinsDir()
348 scanner = dirScanner_new(temp); in _checkSkinSkinsDir()
359 p = bufprint(temp, end, "%s/skins/%s", skinDirRoot, file+6); in _checkSkinSkinsDir()
360 if (p < end && _checkSkinPath(temp)) { in _checkSkinSkinsDir()
363 file+6, temp); in _checkSkinSkinsDir()
364 result = ASTRDUP(temp); in _checkSkinSkinsDir()
384 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in _getSkinPathFromName() local
406 p = bufprint(temp, end, "%s/%s", sdkRootPath, skinName); in _getSkinPathFromName()
407 if (p < end && _checkSkinPath(temp)) { in _getSkinPathFromName()
408 skinName = temp; in _getSkinPathFromName()
568 char temp[MAX_PATH], *p = temp, *end = p + sizeof(temp); in _avdInfo_getContentFilePath() local
575 if (!path_exists(temp)) { in _avdInfo_getContentFilePath()
578 return ASTRDUP(temp); in _avdInfo_getContentFilePath()
634 char temp[MAX_PATH], *p = temp, *end = p + sizeof(temp); in _avdInfo_getSdkFilePath() local
643 p = bufprint(temp, end, "%s/%s", searchDir, fileName); in _avdInfo_getSdkFilePath()
644 if (p < end && path_exists(temp)) { in _avdInfo_getSdkFilePath()
656 return ASTRDUP(temp); in _avdInfo_getSdkFilePath()
798 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in avdInfo_getSkinHardwareIni() local
800 p = bufprint(temp, end, "%s/%s/hardware.ini", skinDirPath, skinName); in avdInfo_getSkinHardwareIni()
801 if (p >= end || !path_exists(temp)) { in avdInfo_getSkinHardwareIni()
806 D("found skin-specific hardware.ini: %s", temp); in avdInfo_getSkinHardwareIni()
809 i->skinHardwareIni = iniFile_newFromFile(temp); in avdInfo_getSkinHardwareIni()
901 char temp[PATH_MAX], *p = temp, *end = p + sizeof(temp); in avdInfo_getKernelPath() local
914 p = bufprint(temp, end, "%s/prebuilts/qemu-kernel/%s/kernel-qemu%s", in avdInfo_getKernelPath()
916 if (p >= end || !path_exists(temp)) { in avdInfo_getKernelPath()
917 derror("bad workspace: cannot find prebuilt kernel in: %s", temp); in avdInfo_getKernelPath()
920 kernelPath = ASTRDUP(temp); in avdInfo_getKernelPath()
1090 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in avdInfo_getSkinInfo() local
1122 p = bufprint(temp, end, "%s/skin", i->contentPath); in avdInfo_getSkinInfo()
1123 if (p < end && _checkSkinPath(temp)) { in avdInfo_getSkinInfo()
1124 D("using skin content from %s", temp); in avdInfo_getSkinInfo()
1147 p = bufprint( temp, end, "%s/%s", in avdInfo_getSkinInfo()
1150 skinPath = _checkSkinSkinsDir(temp, skinName); in avdInfo_getSkinInfo()