OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:UrlData
(Results
1 - 4
of
4
) sorted by null
/external/skia/tools/
UrlDataManager.h
33
struct
UrlData
: public SkRefCnt {
40
* returns the
UrlData
object which should be hosted at 'url'
42
UrlData
* getDataFromUrl(SkString url) {
50
static const SkData& GetKey(const
UrlData
& data) {
60
static const SkString& GetKey(const
UrlData
& data) {
71
SkTDynamicHash<
UrlData
, SkData, LookupTrait> fCache;
72
SkTDynamicHash<
UrlData
, SkString, ReverseLookupTrait> fUrlLookup;
UrlDataManager.cpp
17
UrlData
*
urlData
= fCache.find(*data);
19
SkASSERT(data->equals(
urlData
->fData.get()));
20
return
urlData
->fUrl;
23
urlData
= new
UrlData
;
24
urlData
->fData.reset(SkRef(data));
25
urlData
->fContentType.set(contentType);
26
urlData
->fUrl.appendf("%s/%d", fRootUrl.c_str(), fDataId++);
28
fCache.add(
urlData
);
[
all
...]
/external/skia/tools/skiaserve/urlhandlers/
DataHandler.cpp
32
SkAutoTUnref<UrlDataManager::
UrlData
>
urlData
(
35
if (
urlData
) {
36
return SendData(connection,
urlData
->fData.get(),
urlData
->fContentType.c_str());
/external/skia/tools/debugger/
SkDrawCommand.cpp
713
UrlDataManager::
UrlData
*
urlData
= urlDataManager.getDataFromUrl(SkString(data.asCString()));
714
if (
urlData
== nullptr) {
719
*target =
urlData
->fData->data();
721
return (Json::ArrayIndex)
urlData
->fData->size();
[
all
...]
Completed in 78 milliseconds