Home
last modified time | relevance | path

Searched refs:raw_data (Results 1 – 25 of 82) sorted by relevance

1234

/external/chromium_org/ppapi/native_client/src/trusted/weak_ref/
Dcall_on_main_thread.h57 R* raw_data) { in WeakRefNewCallback() argument
58 nacl::WeakRef<R>* wp = anchor->MakeWeakRef<R>(raw_data); in WeakRefNewCallback()
72 R* raw_data) { in WeakRefCallOnMainThread() argument
74 WeakRefNewCallback(anchor, callback_fn, raw_data, &cc); in WeakRefCallOnMainThread()
84 WeakRefAutoAbandonWrapper(void (*callback_fn)(R* raw_data, in WeakRefAutoAbandonWrapper() argument
86 R* raw_data) in WeakRefAutoAbandonWrapper()
88 orig_data(raw_data) {} in WeakRefAutoAbandonWrapper()
90 void (*orig_callback_fn)(R* raw_data, int32_t err);
121 void (*raw_callback_fn)(R* raw_data, int32_t err), in WeakRefNewCallback() argument
122 R* raw_data) { in WeakRefNewCallback()
[all …]
/external/chromium_org/ui/gfx/image/
Dimage_png_rep.cc15 : raw_data(NULL), in ImagePNGRep()
21 : raw_data(data), in ImagePNGRep()
31 CHECK(raw_data.get()); in Size()
33 if (!gfx::PNGCodec::Decode(raw_data->front(), raw_data->size(), in Size()
Dimage.cc108 scoped_refptr<base::RefCountedMemory> raw_data = png_rep.raw_data; in ToImageSkiaRep() local
109 CHECK(raw_data.get()); in ToImageSkiaRep()
111 if (!PNGCodec::Decode(raw_data->front(), raw_data->size(), in ToImageSkiaRep()
425 if (image_reps[i].raw_data.get() && image_reps[i].raw_data->size()) in Image()
486 scoped_refptr<base::RefCountedBytes> raw_data(new base::RefCountedBytes()); in CreateFrom1xPNGBytes() local
487 raw_data->data().assign(input, input + input_size); in CreateFrom1xPNGBytes()
489 return CreateFrom1xPNGBytes(raw_data); in CreateFrom1xPNGBytes()
618 return image_png_reps[i].raw_data; in As1xPNGBytes()
Dimage_png_rep.h29 scoped_refptr<base::RefCountedMemory> raw_data; member
/external/chromium_org/content/child/webcrypto/openssl/
Daes_key_openssl.cc95 std::vector<uint8_t> raw_data; in ImportKeyJwk() local
97 key_data, jwk_suffix_, extractable, usage_mask, &raw_data); in ImportKeyJwk()
102 CryptoData(raw_data), algorithm, extractable, usage_mask, key); in ImportKeyJwk()
113 const std::vector<uint8_t>& raw_data = in ExportKeyJwk() local
116 WriteSecretKeyJwk(CryptoData(raw_data), in ExportKeyJwk()
117 MakeJwkAesAlgorithmName(jwk_suffix_, raw_data.size()), in ExportKeyJwk()
Dhmac_openssl.cc142 std::vector<uint8_t> raw_data; in ImportKeyJwk() local
144 key_data, algorithm_name, extractable, usage_mask, &raw_data); in ImportKeyJwk()
149 CryptoData(raw_data), algorithm, extractable, usage_mask, key); in ImportKeyJwk()
161 const std::vector<uint8_t>& raw_data = sym_key->raw_key_data(); in ExportKeyJwk() local
168 WriteSecretKeyJwk(CryptoData(raw_data), in ExportKeyJwk()
/external/chromium_org/content/child/webcrypto/nss/
Daes_key_nss.cc105 std::vector<uint8_t> raw_data; in ImportKeyJwk() local
107 key_data, jwk_suffix_, extractable, usage_mask, &raw_data); in ImportKeyJwk()
112 CryptoData(raw_data), algorithm, extractable, usage_mask, key); in ImportKeyJwk()
124 const std::vector<uint8_t>& raw_data = sym_key->raw_key_data(); in ExportKeyJwk() local
126 WriteSecretKeyJwk(CryptoData(raw_data), in ExportKeyJwk()
127 MakeJwkAesAlgorithmName(jwk_suffix_, raw_data.size()), in ExportKeyJwk()
Dhmac_nss.cc139 std::vector<uint8_t> raw_data; in ImportKeyJwk() local
141 key_data, algorithm_name, extractable, usage_mask, &raw_data); in ImportKeyJwk()
146 CryptoData(raw_data), algorithm, extractable, usage_mask, key); in ImportKeyJwk()
158 const std::vector<uint8_t>& raw_data = sym_key->raw_key_data(); in ExportKeyJwk() local
165 WriteSecretKeyJwk(CryptoData(raw_data), in ExportKeyJwk()
/external/chromium_org/tools/telemetry/telemetry/core/heap/
Dmodel.py13 def __init__(self, raw_data): argument
15 raw_data):
17 parser = chrome_js_heap_snapshot_parser.ChromeJsHeapSnapshotParser(raw_data)
Dchrome_js_heap_snapshot_parser.py44 def __init__(self, raw_data): argument
45 heap = json.loads(raw_data)
74 def CanImport(raw_data): argument
75 heap = json.loads(raw_data)
/external/chromium_org/media/cast/test/utility/
Dvideo_utility.cc99 uint8* raw_data = new uint8[frame_size]; in PopulateVideoFrameFromFile() local
100 size_t count = fread(raw_data, 1, frame_size, video_file); in PopulateVideoFrameFromFile()
104 memcpy(y_plane, raw_data, width * height); in PopulateVideoFrameFromFile()
105 memcpy(u_plane, raw_data + width * height, half_width * half_height); in PopulateVideoFrameFromFile()
107 raw_data + width * height + half_width * half_height, in PopulateVideoFrameFromFile()
109 delete[] raw_data; in PopulateVideoFrameFromFile()
/external/chromium_org/third_party/leveldatabase/src/util/
Dtestutil.cc38 std::string raw_data; in CompressibleString() local
39 RandomString(rnd, raw, &raw_data); in CompressibleString()
44 dst->append(raw_data); in CompressibleString()
/external/chromium_org/chrome/browser/install_verification/win/
Dmodule_ids.cc68 const base::StringPiece& raw_data, in ParseAdditionalModuleIDs() argument
72 base::CStringTokenizer file_tokenizer(raw_data.begin(), in ParseAdditionalModuleIDs()
73 raw_data.end(), in ParseAdditionalModuleIDs()
Dmodule_ids.h22 const base::StringPiece& raw_data,
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
Dsample-parsing.c85 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same()
153 const u64 raw_data[] = {0x123456780a0b0c0dULL, 0x1102030405060708ULL}; in do_test() local
166 .raw_size = sizeof(raw_data), in do_test()
168 .raw_data = (void *)raw_data, in do_test()
/external/chromium_org/chrome/browser/safe_browsing/
Dbinary_feature_extractor_win.cc132 const uint8_t* raw_data = NULL; in ExtractImageHeaders() local
135 pe_image.GetDebugEntry(i, &raw_data, &raw_data_size); in ExtractImageHeaders()
141 if (raw_data) in ExtractImageHeaders()
142 debug_data->set_raw_data(raw_data, raw_data_size); in ExtractImageHeaders()
Dpe_image_reader_win_unittest.cc120 const uint8_t* raw_data = NULL; in TEST_P() local
123 image_reader_.GetDebugEntry(i, &raw_data, &raw_data_size); in TEST_P()
125 EXPECT_NE(reinterpret_cast<const uint8_t*>(NULL), raw_data); in TEST_P()
/external/chromium_org/chrome/browser/android/thumbnail/
Dthumbnail_store.cc572 SkBitmap raw_data, in CompressionTask() argument
579 if (!raw_data.empty()) { in CompressionTask()
580 SkAutoLockPixels raw_data_lock(raw_data); in CompressionTask()
581 gfx::Size raw_data_size(raw_data.width(), raw_data.height()); in CompressionTask()
598 reinterpret_cast<unsigned char*>(raw_data.getPixels()), in CompressionTask()
855 SkBitmap raw_data; in DecompressionTask() local
856 raw_data.allocPixels(SkImageInfo::Make(buffer_size.width(), in DecompressionTask()
860 SkAutoLockPixels raw_data_lock(raw_data); in DecompressionTask()
864 reinterpret_cast<unsigned char*>(raw_data.getPixels()), in DecompressionTask()
867 raw_data.bytesPerPixel(), in DecompressionTask()
[all …]
/external/chromium_org/v8/src/
Dsnapshot.h28 static void set_raw_data(const byte* raw_data) { in set_raw_data() argument
29 raw_data_ = raw_data; in set_raw_data()
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Duser_image_screen_handler.cc178 std::string mime_type, charset, raw_data; in HandlePhotoTaken() local
179 if (!net::DataURL::Parse(GURL(image_url), &mime_type, &charset, &raw_data)) in HandlePhotoTaken()
184 screen_->OnPhotoTaken(raw_data); in HandlePhotoTaken()
Dsupervised_user_creation_screen_handler.cc415 std::string mime_type, charset, raw_data; in HandlePhotoTaken() local
416 if (!net::DataURL::Parse(GURL(image_url), &mime_type, &charset, &raw_data)) in HandlePhotoTaken()
421 delegate_->OnPhotoTaken(raw_data); in HandlePhotoTaken()
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/
Drdf-objfmt.c95 unsigned char *raw_data; /* raw section data, only used during output */ member
322 memset(&info->rsd->raw_data[info->rsd->size], 0, size); in rdf_objfmt_output_bytecode()
325 memcpy(&info->rsd->raw_data[info->rsd->size], in rdf_objfmt_output_bytecode()
364 rsd->raw_data = yasm_xmalloc(size); in rdf_objfmt_output_section_mem()
453 fwrite(rsd->raw_data, rsd->size, 1, info->f); in rdf_objfmt_output_section_file()
456 yasm_xfree(rsd->raw_data); in rdf_objfmt_output_section_file()
457 rsd->raw_data = NULL; in rdf_objfmt_output_section_file()
827 data->raw_data = NULL; in rdf_objfmt_init_new_section()
975 if (rsd->raw_data) in rdf_section_data_destroy()
976 yasm_xfree(rsd->raw_data); in rdf_section_data_destroy()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
Ddata.py138 def raw_data(self, filename): member in CoverageData
157 data = self.raw_data(filename)
273 pprint.pprint(covdata.raw_data(fname))
/external/chromium_org/content/browser/frame_host/
Dnavigation_entry_impl_unittest.cc203 const unsigned char* raw_data = in TEST_F() local
205 std::vector<unsigned char> post_data_vector(raw_data, raw_data+length); in TEST_F()
/external/chromium_org/chrome/browser/themes/
Dbrowser_theme_pack.cc449 std::vector<unsigned char> raw_data; in ReadFileData() local
450 raw_data.resize(size); in ReadFileData()
451 char* data = reinterpret_cast<char*>(&(raw_data.front())); in ReadFileData()
453 return base::RefCountedBytes::TakeVector(&raw_data); in ReadFileData()
1290 scoped_refptr<base::RefCountedMemory> raw_data( in LoadRawBitmapsTo() local
1292 if (!raw_data.get() || !raw_data->size()) { in LoadRawBitmapsTo()
1297 << (raw_data.get() ? " (zero size)" : " (read error)"); in LoadRawBitmapsTo()
1302 image_memory_[raw_id] = raw_data; in LoadRawBitmapsTo()
1305 if (gfx::PNGCodec::Decode(raw_data->front(), raw_data->size(), in LoadRawBitmapsTo()

1234