Home
last modified time | relevance | path

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

1234

/external/chromium-trace/catapult/common/py_utils/py_utils/
Dexpectations_parser_unittest.py61 raw_data = '# tags: Mac\ncrbug.com/23456 [ Mac ] b1/s2 [ Skip ]'
62 parser = expectations_parser.TestExpectationParser(raw_data)
71 raw_data = '# tags: None\ncrbug.com/23456 [ Mac ] b1/s2 [ Skip ]'
73 expectations_parser.TestExpectationParser(raw_data)
76 raw_data = '# tags: All\ncrbug.com/12345 b1/s1 [ Skip ]'
77 parser = expectations_parser.TestExpectationParser(raw_data)
86 raw_data = '# tags: All\n[ All ] b1/s1 [ Skip ]'
87 parser = expectations_parser.TestExpectationParser(raw_data)
96 raw_data = '# tags: All\nb1/s1 [ Skip ]'
97 parser = expectations_parser.TestExpectationParser(raw_data)
[all …]
Dexpectations_parser.py81 def __init__(self, raw_data): argument
84 self._ParseRawExpectationData(raw_data)
86 def _ParseRawExpectationData(self, raw_data): argument
87 for count, line in list(enumerate(raw_data.splitlines(), start=1)):
/external/pdfium/third_party/libtiff/
Dtif_print.c70 uint32 value_count, void *raw_data) in _TIFFPrintField() argument
78 fprintf(fd, "%u", ((uint8 *) raw_data)[j]); in _TIFFPrintField()
81 (unsigned int) ((unsigned char *) raw_data)[j]); in _TIFFPrintField()
83 fprintf(fd, "%d", ((int8 *) raw_data)[j]); in _TIFFPrintField()
85 fprintf(fd, "%u", ((uint16 *) raw_data)[j]); in _TIFFPrintField()
87 fprintf(fd, "%d", ((int16 *) raw_data)[j]); in _TIFFPrintField()
90 (unsigned long)((uint32 *) raw_data)[j]); in _TIFFPrintField()
92 fprintf(fd, "%ld", (long)((int32 *) raw_data)[j]); in _TIFFPrintField()
95 (unsigned long)((uint32 *) raw_data)[j]); in _TIFFPrintField()
99 fprintf(fd, "%f", ((float *) raw_data)[j]); in _TIFFPrintField()
[all …]
/external/libcap/libcap/
Dcap_alloc.c16 __u32 *raw_data; in cap_init() local
19 raw_data = malloc( sizeof(__u32) + sizeof(*result) ); in cap_init()
21 if (raw_data == NULL) { in cap_init()
27 *raw_data = CAP_T_MAGIC; in cap_init()
28 result = (cap_t) (raw_data + 1); in cap_init()
63 __u32 *raw_data; in _libcap_strdup() local
70 raw_data = malloc( sizeof(__u32) + strlen(old) + 1 ); in _libcap_strdup()
71 if (raw_data == NULL) { in _libcap_strdup()
76 *(raw_data++) = CAP_S_MAGIC; in _libcap_strdup()
77 strcpy((char *) raw_data, old); in _libcap_strdup()
[all …]
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_FMT.c228 sizeof(format.fmt.raw_data)) { in do_get_formats()
232 j < sizeof(format.fmt.raw_data); j++) { in do_get_formats()
234 format.fmt.raw_data[j]); in do_get_formats()
256 (format.fmt.raw_data + in do_get_formats()
258 format2.fmt.raw_data + in do_get_formats()
260 sizeof(format.fmt.raw_data) - in do_get_formats()
287 sizeof(format.fmt.raw_data)) { in do_get_formats()
291 j < sizeof(format.fmt.raw_data); j++) { in do_get_formats()
293 format.fmt.raw_data[j]); in do_get_formats()
313 (format.fmt.raw_data + in do_get_formats()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_get_stack_rawtp.c62 void *raw_data; in bpf_prog1() local
82 raw_data = bpf_map_lookup_elem(&rawdata_map, &key); in bpf_prog1()
83 if (!raw_data) in bpf_prog1()
86 usize = bpf_get_stack(ctx, raw_data, max_len, BPF_F_USER_STACK); in bpf_prog1()
90 ksize = bpf_get_stack(ctx, raw_data + usize, max_len - usize, 0); in bpf_prog1()
96 bpf_perf_event_output(ctx, &perfmap, 0, raw_data, total_size); in bpf_prog1()
/external/chromium-trace/catapult/systrace/systrace/
Doutput_generator.py40 trace_data_builder.AddTraceFor(trace_data_part, trace.raw_data)
98 html_file.write(_ConvertToHtmlString(result.raw_data))
151 if result.raw_data[0] != '{':
154 json_data = json.loads(result.raw_data)
167 merged_data = merge_candidates[0].raw_data
170 json_data = candidate.raw_data
188 trace_dict[trace.source_name] = trace.raw_data
Dtrace_result.py15 def __init__(self, source_name, raw_data): argument
17 self.raw_data = raw_data
/external/scapy/doc/notebooks/tls/
Dnotebook3_tls_compromised.ipynb29 "record1_str = open('raw_data/tls_session_compromised/01_cli.raw').read()\n",
43 "record2_str = open('raw_data/tls_session_compromised/02_srv.raw').read()\n",
58 "#key = PrivKey('raw_data/pki/srv_key.pem')\n",
70 "record3_str = open('raw_data/tls_session_compromised/03_cli.raw').read()\n",
83 "record4_str = open('raw_data/tls_session_compromised/04_srv.raw').read()\n",
96 "record5_str = open('raw_data/tls_session_compromised/05_cli.raw').read()\n",
Dnotebook4_tls13.ipynb30 "record1_str = open('raw_data/tls_session_13/01_cli.raw').read()\n",
42 "record2_str = open('raw_data/tls_session_13/02_srv.raw').read()\n",
53 "record3_str = open('raw_data/tls_session_13/03_cli.raw').read()\n",
69 "#secp256r1_client_privkey = open('raw_data/tls_session_13/cli_key.raw').read()\n",
84 "record4_str = open('raw_data/tls_session_13/04_srv.raw').read()\n",
95 "record5_str = open('raw_data/tls_session_13/05_srv.raw').read()\n",
106 "record6_str = open('raw_data/tls_session_13/06_cli.raw').read()\n",
Dnotebook2_tls_protected.ipynb40 "record1 = TLS(open('raw_data/tls_session_protected/01_cli.raw').read())\n",
72 "record2 = TLS(open('raw_data/tls_session_protected/02_srv.raw').read())\n",
91 "record3 = TLS(open('raw_data/tls_session_protected/03_srv.raw').read())\n",
143 "record4 = TLS(open('raw_data/tls_session_protected/04_srv.raw').read())\n",
183 "record5_str = open('raw_data/tls_session_protected/05_cli.raw').read()\n",
216 "record6_str = open('raw_data/tls_session_protected/06_srv.raw').read()\n",
236 "record7_str = open('raw_data/tls_session_protected/07_cli.raw').read()\n",
/external/autotest/client/cros/audio/
Dcheck_quality.py154 self.raw_data = None
249 self.raw_data = audio_data.AudioRawData(
272 def __init__(self, raw_data, rate): argument
279 self._raw_data = raw_data
435 raw_data = wavefile.raw_data
442 raw_data = audio_data.AudioRawData(
451 return raw_data, rate
483 raw_data, rate = read_audio_file(args) variable
485 checker = QualityChecker(raw_data, rate)
/external/perfetto/src/profiling/memory/
Dunwinding.cc74 void* raw_data) { in CreateFromRawData() argument
79 ret.reset(unwindstack::RegsX86::Read(raw_data)); in CreateFromRawData()
82 ret.reset(unwindstack::RegsX86_64::Read(raw_data)); in CreateFromRawData()
85 ret.reset(unwindstack::RegsArm::Read(raw_data)); in CreateFromRawData()
88 ret.reset(unwindstack::RegsArm64::Read(raw_data)); in CreateFromRawData()
91 ret.reset(unwindstack::RegsMips::Read(raw_data)); in CreateFromRawData()
94 ret.reset(unwindstack::RegsMips64::Read(raw_data)); in CreateFromRawData()
375 HandoffData* raw_data = new HandoffData(std::move(handoff_data)); in PostHandoffSocket() local
378 thread_task_runner_.get()->PostTask([this, raw_data] { in PostHandoffSocket()
379 HandoffData data = std::move(*raw_data); in PostHandoffSocket()
[all …]
/external/bsdiff/
Dbsdiff_main.cc77 std::vector<uint8_t> raw_data; in GenerateBsdiffFromFiles() local
87 &raw_data, arguments.compressor_types()[0], arguments.brotli_quality()); in GenerateBsdiffFromFiles()
106 if (raw_data.size() != fwrite(raw_data.data(), 1, raw_data.size(), fp)) { in GenerateBsdiffFromFiles()
/external/tensorflow/tensorflow/contrib/ffmpeg/default/
Dffmpeg_lib.cc137 string raw_data; in ReadPcmFile() local
138 TF_QCHECK_OK(ReadFileToString(Env::Default(), filename, &raw_data)) in ReadPcmFile()
142 const int32 sample_count = raw_data.size() / sizeof(int16); in ReadPcmFile()
149 char raw[2] = {raw_data[i * 2], raw_data[i * 2 + 1]}; in ReadPcmFile()
408 string raw_data; in ReadVideoFile() local
409 TF_QCHECK_OK(ReadFileToString(Env::Default(), output_filename, &raw_data)) in ReadVideoFile()
411 output_data->resize(raw_data.size()); in ReadVideoFile()
412 std::copy_n(raw_data.data(), raw_data.size(), output_data->begin()); in ReadVideoFile()
/external/fonttools/Snippets/
Dedit_raw_table_data.py13 raw_data = font.getTableData(table_tag) variable
19 raw_data = b"\0\0\0\1\0\0\0\0" variable
27 table.data = raw_data
/external/python/oauth2client/oauth2client/contrib/
Dmultistore_file.py383 raw_data = self._locked_json_read()
391 version = raw_data['file_version']
402 credentials = raw_data['data']
437 raw_data = {'file_version': 1}
439 raw_data['data'] = raw_creds
444 self._locked_json_write(raw_data)
/external/chromium-trace/catapult/tracing/tracing/trace_data/
Dtrace_data.py303 def CreateTraceDataFromRawData(raw_data): argument
316 raw_data = copy.deepcopy(raw_data)
317 if isinstance(raw_data, basestring):
318 json_data = json.loads(raw_data)
320 json_data = raw_data
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_data_transfer.py315 self.nth = self._nth_class(raw_data=raw_ntb_frame)
325 self.ndp = self._ndp_class(raw_data=raw_ntb_frame[ndp_offset:])
334 raw_data=raw_ntb_frame[ndp_entries_offset:])
363 raw_data = kwargs['raw_data']
366 data_length = len(raw_data)
373 field_values = struct.unpack_from(data_format, raw_data)
Dmbim_message_request.py99 raw_data = message.create_raw_data()
100 message = primary_frag_class(raw_data=raw_data)
Dmbim_message.py81 raw_data = kwargs['raw_data']
84 data_length = len(raw_data)
92 raw_data))
94 setattr(obj, 'payload_buffer', raw_data[unpack_length:])
/external/grpc-grpc/examples/ruby/route_guide/
Droute_guide_client.rb157 raw_data = []
159 raw_data = MultiJson.load(f.read)
161 run_record_route(stub, raw_data)
Droute_guide_server.rb165 raw_data = []
167 raw_data = MultiJson.load(f.read)
169 feature_db = Hash[raw_data.map { |x| [x['location'], x['name']] }]
/external/chromium-trace/catapult/systrace/profile_chrome/
Dprofiler.py44 util.WriteDataToCompressedFile(trace_results[0].raw_data, result)
52 f.write(trace_results[0].raw_data)
56 f.write(trace_results[0].raw_data)
/external/v8/src/parsing/
Dpreparsed-scope-data.cc403 byte_data_->WriteUint8(name->raw_data()[i]); in SaveDataForVariable()
627 DCHECK_EQ(scope_data_->ReadUint8(), name->raw_data()[i]); in RestoreDataForVariable()
628 DCHECK_EQ(0, name->raw_data()[i + 1]); in RestoreDataForVariable()
630 DCHECK_EQ(scope_data_->ReadUint8(), name->raw_data()[i + 1]); in RestoreDataForVariable()
631 DCHECK_EQ(0, name->raw_data()[i]); in RestoreDataForVariable()
636 DCHECK_EQ(scope_data_->ReadUint8(), name->raw_data()[i]); in RestoreDataForVariable()

1234