Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 102) sorted by relevance

12345

/system/media/camera/tests/
Dcamera_metadata_tests.cpp45 #define FINISH_USING_CAMERA_METADATA(m) \ argument
46 EXPECT_EQ(OK, validate_camera_metadata_structure(m, NULL)); \
47 free_camera_metadata(m); \
50 camera_metadata_t *m = NULL; in TEST() local
54 m = allocate_camera_metadata(entry_capacity, data_capacity); in TEST()
56 EXPECT_NOT_NULL(m); in TEST()
57 EXPECT_EQ((size_t)0, get_camera_metadata_entry_count(m)); in TEST()
58 EXPECT_EQ(entry_capacity, get_camera_metadata_entry_capacity(m)); in TEST()
59 EXPECT_EQ((size_t)0, get_camera_metadata_data_count(m)); in TEST()
60 EXPECT_EQ(data_capacity, get_camera_metadata_data_capacity(m)); in TEST()
[all …]
/system/chre/external/kiss_fft/
Dkiss_fft.c25 int m in kf_bfly2() argument
31 Fout2 = Fout + m; in kf_bfly2()
41 }while (--m); in kf_bfly2()
48 const size_t m in kf_bfly4() argument
53 size_t k=m; in kf_bfly4()
54 const size_t m2=2*m; in kf_bfly4()
55 const size_t m3=3*m; in kf_bfly4()
61 C_FIXDIV(*Fout,4); C_FIXDIV(Fout[m],4); C_FIXDIV(Fout[m2],4); C_FIXDIV(Fout[m3],4); in kf_bfly4()
63 C_MUL(scratch[0],Fout[m] , *tw1 ); in kf_bfly4()
78 Fout[m].r = scratch[5].r - scratch[4].i; in kf_bfly4()
[all …]
Dkissfft.hh81 int m = _stageRemainder[stage]; in kf_work() local
83 cpx_type * Fout_end = Fout + p*m; in kf_work()
85 if (m==1) { in kf_work()
98 }while( (Fout += m) != Fout_end ); in kf_work()
105 case 2: kf_bfly2(Fout,fstride,m); break; in kf_work()
106 case 3: kf_bfly3(Fout,fstride,m); break; in kf_work()
107 case 4: kf_bfly4(Fout,fstride,m); break; in kf_work()
108 case 5: kf_bfly5(Fout,fstride,m); break; in kf_work()
109 default: kf_bfly_generic(Fout,fstride,m,p); break; in kf_work()
123 void kf_bfly2( cpx_type * Fout, const size_t fstride, int m) in kf_bfly2() argument
[all …]
D_kiss_fft_guts.h69 # define C_MUL(m,a,b) \ argument
70 do{ (m).r = sround( smul((a).r,(b).r) - smul((a).i,(b).i) ); \
71 (m).i = sround( smul((a).r,(b).i) + smul((a).i,(b).r) ); }while(0)
87 #define C_MUL(m,a,b) \ argument
88 do{ (m).r = (a).r*(b).r - (a).i*(b).i;\
89 (m).i = (a).r*(b).i + (a).i*(b).r; }while(0)
/system/extras/boottime_tools/bootanalyze/
Dbugreport_anayze.py163 m = event_pattern.search(line)
164 if m:
165 return event_key, m
170 m = self.re_time_dmesg.search(line)
171 if not m:
174 return int(float(m.group(1)) * 1000)
176 m = self.re_time_logcat.search(line)
177 if not m:
180 mm = int(m.group(1))
181 dd = int(m.group(2))
[all …]
/system/bt/profile/avrcp/
Davrcp_message_converter.h67 static std::shared_ptr<::bluetooth::Packet> Parse(tAVRC_MSG* m) { in Parse() argument
70 switch (m->hdr.opcode) { in Parse()
72 tAVRC_MSG_VENDOR* msg = (tAVRC_MSG_VENDOR*)m; in Parse()
73 data.push_back(m->hdr.ctype); in Parse()
74 data.push_back((m->hdr.subunit_type << 3) | m->hdr.subunit_id); in Parse()
75 data.push_back(m->hdr.opcode); in Parse()
84 tAVRC_MSG_PASS* msg = (tAVRC_MSG_PASS*)m; in Parse()
85 data.push_back(m->hdr.ctype); in Parse()
86 data.push_back((m->hdr.subunit_type << 3) | m->hdr.subunit_id); in Parse()
87 data.push_back(m->hdr.opcode); in Parse()
[all …]
/system/core/base/
Dmapped_file_test.cpp34 auto m = android::base::MappedFile::FromFd(tf.fd, 3, 2, PROT_READ); in TEST() local
35 ASSERT_EQ(2u, m->size()); in TEST()
36 ASSERT_EQ('l', m->data()[0]); in TEST()
37 ASSERT_EQ('o', m->data()[1]); in TEST()
46 auto m = android::base::MappedFile::FromFd(tf.fd, 4096, 0, PROT_READ); in TEST() local
47 ASSERT_EQ(0u, m->size()); in TEST()
/system/core/libutils/
DFileMap_test.cpp29 android::FileMap m; in TEST() local
30 ASSERT_TRUE(m.create("test", tf.fd, 4096, 0, true)); in TEST()
31 ASSERT_STREQ("test", m.getFileName()); in TEST()
32 ASSERT_EQ(0u, m.getDataLength()); in TEST()
33 ASSERT_EQ(4096, m.getDataOffset()); in TEST()
/system/sepolicy/tests/
Dmini_parser.py27 m = re.match(r"(\d+\.\d+).+\.cil", fn)
28 if m:
29 self.apiLevel = m.group(1)
81 m = re.match(r"type\s+(.+)", stmt)
82 self.types.add(m.group(1))
86 m = re.match(r"expandtypeattribute\s+\((.+)\)\s+(true|false)", stmt)
87 self.expandtypeattributes[m.group(1)] = m.group(2)
91 m = re.match(r"typeattribute\s+(.+)", stmt)
92 self.typeattributes.add(m.group(1))
96 m = re.match(r"typeattributeset\s+(.+?)\s+\((.+?)\)", stmt, flags = re.M |re.S)
[all …]
Dcombine_maps.py42 m = re.match(r"(\w+)_\d+_\d+", top_ta)
44 bottom_type = m.group(1) if m else top_ta
/system/netd/include/
DFwmark.h36 Fwmark m; in getUidBillingMask() local
37 m.uidBillingDone = true; in getUidBillingMask()
38 return m.intValue; in getUidBillingMask()
/system/bt/stack/test/
Dcrypto_toolbox_test.cc38 uint8_t m[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in TEST() local
47 aes_encrypt(m, output, &ctx); /* outputs in byte 48 to byte 63 */ in TEST()
84 Octet16 m = {0x6b, 0xc1, 0xbe, 0xe2, 0x2e, 0x40, 0x9f, 0x96, in TEST() local
92 std::reverse(std::begin(m), std::end(m)); in TEST()
95 Octet16 output = aes_cmac(k, m); in TEST()
111 uint8_t m[] = {0x6b, 0xc1, 0xbe, 0xe2, 0x2e, 0x40, 0x9f, 0x96, 0xe9, 0x3d, in TEST() local
121 std::reverse(std::begin(m), std::end(m)); in TEST()
124 Octet16 output = aes_cmac(k, m, sizeof(m)); in TEST()
133 uint8_t m[] = {0x6b, 0xc1, 0xbe, 0xe2, 0x2e, 0x40, 0x9f, 0x96, 0xe9, 0x3d, in TEST() local
146 std::reverse(std::begin(m), std::end(m)); in TEST()
[all …]
/system/core/liblog/
Dlogger_write.cpp134 EventTagMap* m; in __android_log_close() local
178 m = (EventTagMap*)atomic_exchange(&tagMap, (uintptr_t)0); in __android_log_close()
184 if (m != (EventTagMap*)(uintptr_t)-1LL) android_closeEventTagMap(m); in __android_log_close()
275 EventTagMap *m, *f; in __write_to_log_daemon() local
285 m = (EventTagMap*)atomic_load(&tagMap); in __write_to_log_daemon()
287 if (!m) { in __write_to_log_daemon()
289 m = (EventTagMap*)atomic_load(&tagMap); /* trylock flush cache */ in __write_to_log_daemon()
290 if (!m) { in __write_to_log_daemon()
291 m = android_openEventTagMap(NULL); in __write_to_log_daemon()
293 f = m; in __write_to_log_daemon()
[all …]
/system/sepolicy/tools/
Dcheck_seapp.c131 key_map m[]; /** key value mapping */ member
448 static bool key_map_validate(key_map *m, const char *filename, int lineno, in key_map_validate() argument
454 char *key = m->name; in key_map_validate()
455 char *value = m->data; in key_map_validate()
466 if (!m->regex.compiled) { in key_map_validate()
467 rc = compile_regex(m, &errcode, &erroff); in key_map_validate()
480 if (m->fn_validate) { in key_map_validate()
481 rc = m->fn_validate(value, &errmsg); in key_map_validate()
504 key_map *m; in rule_map_print() local
507 m = &(r->m[i]); in rule_map_print()
[all …]
/system/libvintf/
Dparse_xml.cpp669 void mutateNode(const ManifestHal& m, NodeType* root, DocType* d) const override { in mutateNode()
670 mutateNode(m, root, d, SerializeFlags::EVERYTHING); in mutateNode()
862 void mutateNode(const Version &m, NodeType *root, DocType *d) const override { in mutateNode()
863 appendChild(root, versionConverter(m, d)); in mutateNode()
919 void mutateNode(const HalManifest &m, NodeType *root, DocType *d) const override { in mutateNode()
920 mutateNode(m, root, d, SerializeFlags::EVERYTHING); in mutateNode()
922 void mutateNode(const HalManifest& m, NodeType* root, DocType* d, in mutateNode()
925 appendAttr(root, "version", m.getMetaVersion()); in mutateNode()
928 appendAttr(root, "type", m.mType); in mutateNode()
932 appendChildren(root, manifestHalConverter, m.getHals(), d, flags); in mutateNode()
[all …]
/system/extras/simpleperf/scripts/
Ddebug_unwind_reporter.py337 m = re.search(r'ip\s+0x(\w+),\s+sp\s+0x(\w+)$', line)
338 if m:
339 ips.append(int(m.group(1), 16))
340 sps.append(int(m.group(2), 16))
351 m = re.match(r'(.*)\[\+(\w+)\]\)', line[break_pos + 1:])
352 if m:
354 filenames.append(m.group(1))
355 vaddr_in_files.append(int(m.group(2), 16))
400 m = re.search(r'pid\s+(\d+).+addr\s+0x(\w+).+len\s+0x(\w+)', lines[i])
401 if m:
[all …]
/system/apex/tests/src/com/android/tests/apex/
DMediaHostTest.java76 Matcher m = EXTRACTOR_PLUGIN_REGEX.matcher(line); in checkMediaExtractor() local
77 if (m.matches()) { in checkMediaExtractor()
80 m.group(5).startsWith(MEDIA_APEX_PATH)); in checkMediaExtractor()
DApexTestUtils.java65 Matcher m = p.matcher(l); in getApexInfo() local
66 if (m.matches()) { in getApexInfo()
67 ApexInfo apexInfo = new ApexInfo(m.group(1), Long.parseLong(m.group(2))); in getApexInfo()
/system/core/toolbox/
Dgenerate-input.h-labels.py44 m = r.match(line) variable
45 if m:
46 name = m.group(1)
/system/extras/libfec/
Dfec_read.cpp48 for (size_t m = 0; m < bytes_per_line; ++m) { in dump() local
49 if (n + m < size) { in dump()
50 ptrdiff_t offset = &hex[m * 3] - hex; in dump()
52 data[n + m]); in dump()
54 if (isprint(data[n + m])) { in dump()
55 prn[m] = data[n + m]; in dump()
57 prn[m] = '.'; in dump()
60 strcpy(&hex[m * 3], " "); in dump()
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dutil.c293 int c = 0, m = 0, r = 0; in procline() local
342 if (m < MAX_LINE_MATCHES) in procline()
343 matches[m++] = pmatch; in procline()
373 printline(l, ':', matches, m); in procline()
375 printline(l, '-', matches, m); in procline()
444 printline(struct str *line, int sep, regmatch_t *matches, int m) in printline() argument
473 if ((oflag || color) && m > 0) { in printline()
474 for (i = 0; i < m; i++) { in printline()
/system/tools/aidl/
Daidl_language.cpp725 for (const auto& m : GetMethods()) { in CheckValid() local
726 if (!m->GetType().CheckValid(typenames)) { in CheckValid()
730 if (m->IsOneway() && m->GetType().GetName() != "void") { in CheckValid()
731 AIDL_ERROR(m) << "oneway method '" << m->GetName() << "' cannot return a value"; in CheckValid()
736 for (const auto& arg : m->GetArguments()) { in CheckValid()
739 AIDL_ERROR(m) << "method '" << m->GetName() << "' has duplicate argument name '" in CheckValid()
749 if (m->IsOneway() && arg->IsOut()) { in CheckValid()
750 AIDL_ERROR(m) << "oneway method '" << m->GetName() << "' cannot have out parameters"; in CheckValid()
755 auto it = method_names.find(m->GetName()); in CheckValid()
758 method_names[m->GetName()] = m.get(); in CheckValid()
[all …]
/system/extras/pagecache/
Dpagecache.py232m = re.match('.* (mm_filemap_add_to_page_cache|mm_filemap_delete_from_page_cache): dev (\d+):(\d+)…
233 if m != None:
235 device_number = int(m.group(2)) << 8 | int(m.group(3))
238 inode = int(m.group(4), 16)
239 if app_name != None and not (app_name in m.group(0)):
241 if m.group(1) == 'mm_filemap_add_to_page_cache':
242 pagecache_stats.add_page(device_number, inode, m.group(4))
243 elif m.group(1) == 'mm_filemap_delete_from_page_cache':
244 pagecache_stats.remove_page(device_number, inode, m.group(4))
/system/core/logd/
DLogWhiteBlackList.cpp188 int m = uid - p.mUid; in init() local
189 if (m == 0) { in init()
197 m = pid - p.mPid; in init()
199 if (m <= 0) { in init()
200 if (m < 0) { in init()
/system/sepolicy/build/soong/
Dcil_compat_map.go103 if m := android.SrcIsModule(s); m != "" {
104 module := ctx.GetDirectDepWithTag(m, android.SourceDepTag)
116 ctx.ModuleErrorf("srcs dependency %q is not an selinux filegroup", m)

12345