Searched refs:afd (Results 1 – 11 of 11) sorted by relevance
79 const struct afd { struct136 static struct addrinfo* get_ai(const struct addrinfo*, const struct afd*, const char*);139 static const struct afd* find_afd(int);181 #define GET_AI(ai, afd, addr) \ argument184 (ai) = get_ai(pai, (afd), (addr)); \502 const struct afd* afd; in explore_null() local532 afd = find_afd(pai->ai_family); in explore_null()533 if (afd == NULL) return 0; in explore_null()536 GET_AI(cur->ai_next, afd, afd->a_addrany); in explore_null()539 GET_AI(cur->ai_next, afd, afd->a_loopback); in explore_null()[all …]
129 AssetFileDescriptor afd = null; in createReadOnlyBinaryDictionary() local134 afd = context.getResources().openRawResourceFd(resId); in createReadOnlyBinaryDictionary()135 if (afd == null) { in createReadOnlyBinaryDictionary()146 return new ReadOnlyBinaryDictionary(sourceDir, afd.getStartOffset(), afd.getLength(), in createReadOnlyBinaryDictionary()152 if (null != afd) { in createReadOnlyBinaryDictionary()154 afd.close(); in createReadOnlyBinaryDictionary()
94 AssetFileDescriptor afd = null; in loadFallbackResource() local96 afd = context.getResources().openRawResourceFd(fallbackResId); in loadFallbackResource()101 if (afd == null) { in loadFallbackResource()107 context.getApplicationInfo().sourceDir, afd.getStartOffset(), afd.getLength()); in loadFallbackResource()110 afd.close(); in loadFallbackResource()
268 AssetFileDescriptor afd = null; in installWordListToStaging() local272 afd = openAssetFileDescriptor(providerClient, wordListUri); in installWordListToStaging()274 if (null == afd) return; in installWordListToStaging()275 originalSourceStream = afd.createInputStream(); in installWordListToStaging()353 closeAssetFileDescriptorAndReportAnyException(afd); in installWordListToStaging()
40 final AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId); in playSound() local42 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in playSound()43 afd.close(); in playSound()
354 AssetFileDescriptor afd = null; in getUriContentLength() local356 afd = context.getContentResolver().openAssetFileDescriptor(contentUri, "r"); in getUriContentLength()357 return afd.getLength(); in getUriContentLength()361 if (afd != null) { in getUriContentLength()363 afd.close(); in getUriContentLength()
192 AssetFileDescriptor afd = in doStart() local194 if (afd == null) { in doStart()197 mPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), in doStart()198 afd.getLength()); in doStart()199 afd.close(); in doStart()
534 AssetFileDescriptor afd = resources.openRawResourceFd(res); in setDataSourceFromResource() local535 if (afd != null) { in setDataSourceFromResource()536 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), in setDataSourceFromResource()537 afd.getLength()); in setDataSourceFromResource()538 afd.close(); in setDataSourceFromResource()
1250 AssetFileDescriptor afd = openImageThumbnailCleared(id, size, signal); in openOrCreateImageThumbnailCleared() local1252 if (afd == null) { in openOrCreateImageThumbnailCleared()1259 afd = openImageThumbnailCleared(id, size, signal); in openOrCreateImageThumbnailCleared()1262 if (afd != null) { in openOrCreateImageThumbnailCleared()1263 return afd; in openOrCreateImageThumbnailCleared()1324 AssetFileDescriptor afd = openVideoThumbnailCleared(id, size, signal); in openOrCreateVideoThumbnailCleared() local1325 if (afd == null) { in openOrCreateVideoThumbnailCleared()1332 afd = openVideoThumbnailCleared(id, size, signal); in openOrCreateVideoThumbnailCleared()1334 return afd; in openOrCreateVideoThumbnailCleared()
313 final AssetFileDescriptor afd = getContext().getResources().openRawResourceFd( in openAssetFile() local315 return afd; in openAssetFile()
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...