Home
last modified time | relevance | path

Searched refs:dic (Results 1 – 25 of 53) sorted by relevance

123

/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/train/
Ddata_prepare.py91 dic = {DATA_NAME: [], LABEL_NAME: "negative", "name": "negative8"}
93 dic = {DATA_NAME: [], LABEL_NAME: "negative", "name": "negative7"}
95 dic = {DATA_NAME: [], LABEL_NAME: "negative", "name": "negative6"}
103 dic[DATA_NAME].append([
108 data.append(dic)
112 dic = {DATA_NAME: [], LABEL_NAME: "negative", "name": "negative8"}
114 dic = {DATA_NAME: [], LABEL_NAME: "negative", "name": "negative7"}
116 dic = {DATA_NAME: [], LABEL_NAME: "negative", "name": "negative6"}
118 dic[DATA_NAME].append([(random.random() - 0.5) * 1000,
121 data.append(dic)
[all …]
Ddata_load.py57 dic = json.loads(line)
58 data.append(dic[DATA_NAME])
59 label.append(dic[LABEL_NAME])
Ddata_split.py45 dic = json.loads(line)
46 data.append(dic)
Ddata_split_test.py49 dic = json.loads(line)
51 if dic["gesture"] == ges:
/external/llvm-project/lldb/test/API/functionalities/data-formatter/setvaluefromcstring/
Dmain.m4 NSDictionary* dic = @{@1 : @2};
5 NSLog(@"hello world"); //% dic = self.frame().FindVariable("dic")
6 //% dic.SetPreferSyntheticValue(True)
7 //% dic.SetPreferDynamicValue(lldb.eDynamicCanRunTarget)
8 //% dic.SetValueFromCString("12")
9 return 0; //% dic = self.frame().FindVariable("dic")
10 //% self.assertTrue(dic.GetValueAsUnsigned() == 0xC, "failed to read what I wrote")
/external/autotest/server/site_tests/enterprise_CFM_HuddlyUpdater/
Dparse.py27 dic = {}
32 dic[target] = {}
36 dic[target] = {}
49 dic[target]['boot'] = val
51 dic[target]['app'] = val
53 dic[target]['hw_rev'] = val
57 return dic
/external/llvm-project/clang/test/Analysis/
Dtrustnonnullchecker_test.m77 NSDictionary *dic) {
78 id obj = dic[s];
86 NSDictionary *dic) {
87 id obj = [dic objectForKey:s];
95 NSDictionary *dic) {
96 id obj = dic[s];
104 NSDictionary *dic) {
105 id obj = dic[s];
113 NSDictionary *dic) {
114 id obj = dic[s];
[all …]
/external/erofs-utils/lib/
Dnamei.c30 struct erofs_inode_compact *dic; in erofs_read_inode_from_disk() local
34 ret = dev_read(buf, inode_loc, sizeof(*dic)); in erofs_read_inode_from_disk()
38 dic = (struct erofs_inode_compact *)buf; in erofs_read_inode_from_disk()
39 ifmt = le16_to_cpu(dic->i_format); in erofs_read_inode_from_disk()
51 ret = dev_read(buf + sizeof(*dic), inode_loc + sizeof(*dic), in erofs_read_inode_from_disk()
52 sizeof(*die) - sizeof(*dic)); in erofs_read_inode_from_disk()
89 vi->xattr_isize = erofs_xattr_ibody_size(dic->i_xattr_icount); in erofs_read_inode_from_disk()
90 vi->i_mode = le16_to_cpu(dic->i_mode); in erofs_read_inode_from_disk()
96 vi->u.i_blkaddr = le32_to_cpu(dic->i_u.raw_blkaddr); in erofs_read_inode_from_disk()
101 erofs_new_decode_dev(le32_to_cpu(dic->i_u.rdev)); in erofs_read_inode_from_disk()
[all …]
Dinode.c397 struct erofs_inode_compact dic; in erofs_bh_flush_write_inode() member
404 u.dic.i_format = cpu_to_le16(0 | (inode->datalayout << 1)); in erofs_bh_flush_write_inode()
405 u.dic.i_xattr_icount = cpu_to_le16(icount); in erofs_bh_flush_write_inode()
406 u.dic.i_mode = cpu_to_le16(inode->i_mode); in erofs_bh_flush_write_inode()
407 u.dic.i_nlink = cpu_to_le16(inode->i_nlink); in erofs_bh_flush_write_inode()
408 u.dic.i_size = cpu_to_le32((u32)inode->i_size); in erofs_bh_flush_write_inode()
410 u.dic.i_ino = cpu_to_le32(inode->i_ino[0]); in erofs_bh_flush_write_inode()
412 u.dic.i_uid = cpu_to_le16((u16)inode->i_uid); in erofs_bh_flush_write_inode()
413 u.dic.i_gid = cpu_to_le16((u16)inode->i_gid); in erofs_bh_flush_write_inode()
420 u.dic.i_u.rdev = cpu_to_le32(inode->u.i_rdev); in erofs_bh_flush_write_inode()
[all …]
/external/lzma/C/
DLzmaDec.c227 Byte *dic = p->dic; in LZMA_DECODE_REAL() local
253 …prob += (UInt32)3 * ((((processedPos << 8) + dic[(dicPos == 0 ? dicBufSize : dicPos) - 1]) & lpMas… in LZMA_DECODE_REAL()
275 unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LZMA_DECODE_REAL()
303 dic[dicPos++] = (Byte)symbol; in LZMA_DECODE_REAL()
332 dic[dicPos] = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LZMA_DECODE_REAL()
547 Byte *dest = dic + dicPos; in LZMA_DECODE_REAL()
559 dic[dicPos++] = dic[pos]; in LZMA_DECODE_REAL()
592 Byte *dic = p->dic; in LzmaDec_WriteRem() local
609 dic[dicPos] = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LzmaDec_WriteRem()
686 (p->dic[(p->dicPos == 0 ? p->dicBufSize : p->dicPos) - 1] >> (8 - p->prop.lc)))); in LzmaDec_TryDummy()
[all …]
DLzmaDec.h59 Byte *dic; member
76 #define LzmaDec_Construct(p) { (p)->dic = NULL; (p)->probs = NULL; }
DLzma2Dec.c165 memcpy(p->dic + p->dicPos, src, size); in LzmaDec_UpdateWithUncompressed()
456 memcpy(dest, p->decoder.dic + dicPos, outCur); in Lzma2Dec_DecodeToBuf()
478 p.decoder.dic = dest; in Lzma2Decode()
D7zDec.c142 state.dic = outBuffer; in SzDecodeLzma()
204 state.decoder.dic = outBuffer; in SzDecodeLzma2()
/external/lzma/Asm/x86/
DLzmaDecOpt.asm78 ; x12 offs (MATCHED) / dic / len_temp
111 dic equ r12 define
434 …; prob += (UInt32)3 * ((((processedPos << 8) + dic[(dicPos == 0 ? dicBufSize : dicPos) - 1]) & lpM…
627 mov dic, GLOB_2 dic_Spec
628 add PARAM_limit, dic
637 add dicPos, dic
639 mov LOC_0 dic_Spec, dic
690 add t0_R, dic
691 cmp dicPos, dic
738 ; mov dic, LOC dic_Spec
[all …]
/external/marisa-trie/bindings/python/
Dbenchmark.py13 dic = dict() variable
15 dic[keys[i]] = i
21 dic.get(key)
/external/icu/icu4c/source/data/locales/
Des_VE.txt82 "dic.",
98 "dic.",
Des_PY.txt95 "dic.",
111 "dic.",
Des_UY.txt34 "dic.",
Des_PE.txt113 "dic.",
/external/python/cpython2/Lib/test/
Dtest_datetime.py701 dic = {d: 1}
702 dic[e] = 2
703 self.assertEqual(len(dic), 1)
704 self.assertEqual(dic[d], 2)
705 self.assertEqual(dic[e], 2)
713 dic = {d: 1}
714 dic[e] = 2
715 self.assertEqual(len(dic), 1)
716 self.assertEqual(dic[d], 2)
717 self.assertEqual(dic[e], 2)
[all …]
/external/clang/test/SemaObjC/
Dobjc-dictionary-literal.m19 …id dic = @{ key : value }; // expected-error {{definition of class NSDictionary must be available …
/external/icu/icu4c/source/data/brkitr/
Des.txt40 "dic.",
/external/toolchain-utils/crosperf/
Dmachine_manager.py528 dic = collections.defaultdict(list)
532 dic[machine.cpuinfo].append(label.name)
535 for key, v in dic.items():
/external/llvm-project/clang/test/SemaObjC/
Dobjc-dictionary-literal.m19 …id dic = @{ key : value }; // expected-error {{definition of class NSDictionary must be available …
/external/python/cpython3/Lib/test/
Ddatetimetester.py1216 dic = {d: 1}
1217 dic[e] = 2
1218 self.assertEqual(len(dic), 1)
1219 self.assertEqual(dic[d], 2)
1220 self.assertEqual(dic[e], 2)
1228 dic = {d: 1}
1229 dic[e] = 2
1230 self.assertEqual(len(dic), 1)
1231 self.assertEqual(dic[d], 2)
1232 self.assertEqual(dic[e], 2)
[all …]

123