Lines Matching refs:temp
44 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in path_getSdkRoot() local
66 (void) bufprint_app_dir(temp, end); in path_getSdkRoot()
67 sdkPath = path_parent(temp, 1); in path_getSdkRoot()
86 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in path_getRootIniPath() local
88 p = bufprint_config_path(temp, end); in path_getRootIniPath()
93 if (!path_exists(temp)) { in path_getRootIniPath()
96 return ASTRDUP(temp); in path_getRootIniPath()
103 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in path_getSdkHome() local
104 p = bufprint_config_path(temp, end); in path_getSdkHome()
106 APANIC("User path too long!: %s\n", temp); in path_getSdkHome()
108 return strdup(temp); in path_getSdkHome()
118 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in _getAvdContentPath() local
121 p = bufprint(temp, end, "%s/avd/%s.ini", sdkHome, avdName); in _getAvdContentPath()
126 ini = iniFile_newFromFile(temp); in _getAvdContentPath()
128 APANIC("Could not open: %s", temp); in _getAvdContentPath()
145 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in _getAvdTargetArch() local
146 p = bufprint(temp, end, "%s/config.ini", avdPath); in _getAvdTargetArch()
150 ini = iniFile_newFromFile(temp); in _getAvdTargetArch()
152 APANIC("Could not open AVD config file: %s", temp); in _getAvdTargetArch()
180 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in _getSystemProperty() local
190 while (fgets(temp, sizeof temp, file) != NULL) { in _getSystemProperty()
192 p = memchr(temp, '\0', sizeof temp); in _getSystemProperty()
195 if (p > temp && p[-1] == '\n') { in _getSystemProperty()
198 if (p > temp && p[-1] == '\r') { in _getSystemProperty()
206 if (memcmp(temp, propName, propNameLen) != 0) { in _getSystemProperty()
209 p = temp + propNameLen; in _getSystemProperty()
230 char temp[PATH_MAX], *p=temp, *end=p+sizeof(temp); in _getBuildProperty() local
232 p = bufprint(temp, end, "%s/system/build.prop", androidOut); in _getBuildProperty()
237 return _getSystemProperty(temp, propName); in _getBuildProperty()