HomeSort by relevance Sort by last modified time
    Searched refs:dict (Results 1 - 25 of 2670) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /system/libufdt/
ufdt_prop_dict.c 43 const struct ufdt_prop_dict *dict, const char *name) {
46 int size = dict->mem_size;
50 const struct fdt_property **prop_ptr = &dict->props[idx];
54 const char *prop_name = fdt_string(dict->fdtp, fdt32_to_cpu(prop->nameoff));
63 struct ufdt_prop_dict *dict, const struct fdt_property *prop) {
64 const char *name = fdt_string(dict->fdtp, fdt32_to_cpu(prop->nameoff));
66 return _ufdt_prop_dict_find_index_by_name(dict, name);
69 int _ufdt_prop_dict_construct_int(struct ufdt_prop_dict *dict, void *fdtp,
77 dict->mem_size = size;
78 dict->num_used = 0
    [all...]
ufdt_prop_dict.h 35 int ufdt_prop_dict_construct(struct ufdt_prop_dict *dict, void *fdtp);
40 void ufdt_prop_dict_destruct(struct ufdt_prop_dict *dict);
49 int ufdt_prop_dict_add(struct ufdt_prop_dict *dict,
60 const struct fdt_property *ufdt_prop_dict_find(const struct ufdt_prop_dict *dict,
  /external/libxml2/
dict.c 2 * dict.c: dictionary of reusable strings, just used to avoid allocation
36 * Note2: the fast function used for a small dict won't protect very
56 #include <libxml/dict.h>
70 #define xmlDictComputeKey(dict, name, len) \
71 (((dict)->size == MIN_DICT_SIZE) ? \
72 xmlDictComputeFastKey(name, len, (dict)->seed) : \
73 xmlDictComputeBigKey(name, len, (dict)->seed))
75 #define xmlDictComputeQKey(dict, prefix, plen, name, len) \
77 (xmlDictComputeKey(dict, name, len)) : \
78 (((dict)->size == MIN_DICT_SIZE) ?
118 struct _xmlDictEntry *dict; member in struct:_xmlDict
569 xmlDictPtr dict; local
616 xmlDictPtr dict = xmlDictCreate(); local
    [all...]
  /external/skia/tests/
RefDictTest.cpp 20 SkRefDict dict; local
22 REPORTER_ASSERT(reporter, nullptr == dict.find(nullptr));
23 REPORTER_ASSERT(reporter, nullptr == dict.find("foo"));
24 REPORTER_ASSERT(reporter, nullptr == dict.find("bar"));
26 dict.set("foo", &data0);
27 REPORTER_ASSERT(reporter, &data0 == dict.find("foo"));
30 dict.set("foo", &data0);
31 REPORTER_ASSERT(reporter, &data0 == dict.find("foo"));
34 dict.set("foo", &data1);
35 REPORTER_ASSERT(reporter, &data1 == dict.find("foo"))
    [all...]
  /external/skqp/tests/
RefDictTest.cpp 20 SkRefDict dict; local
22 REPORTER_ASSERT(reporter, nullptr == dict.find(nullptr));
23 REPORTER_ASSERT(reporter, nullptr == dict.find("foo"));
24 REPORTER_ASSERT(reporter, nullptr == dict.find("bar"));
26 dict.set("foo", &data0);
27 REPORTER_ASSERT(reporter, &data0 == dict.find("foo"));
30 dict.set("foo", &data0);
31 REPORTER_ASSERT(reporter, &data0 == dict.find("foo"));
34 dict.set("foo", &data1);
35 REPORTER_ASSERT(reporter, &data1 == dict.find("foo"))
    [all...]
  /packages/inputmethods/LatinIME/native/dicttoolkit/tests/offdevice_intermediate_dict/
offdevice_intermediate_dict_test.cpp 44 OffdeviceIntermediateDict dict = OffdeviceIntermediateDict( local
46 EXPECT_EQ(nullptr, dict.getWordProperty(CodePointArrayView()));
49 EXPECT_TRUE(dict.addWord(wordProperty0));
50 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty0.getCodePoints()));
53 EXPECT_TRUE(dict.addWord(wordProperty1));
54 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty1.getCodePoints()));
57 EXPECT_TRUE(dict.addWord(wordProperty2));
58 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty2.getCodePoints()));
61 EXPECT_TRUE(dict.addWord(wordProperty3));
62 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty3.getCodePoints()))
    [all...]
  /device/google/marlin/dataservices/datatop/src/
datatop_str.h 60 struct dt_procdict *dict);
62 int dt_find_dict_idx(const char *str, struct dt_procdict *dict);
65 struct dt_procdict *dict);
67 void dt_parse_for_prefix(char *line1, int len1, struct dt_procdict *dict);
69 int dt_single_line_parse(char *line1, int len1, struct dt_procdict *dict);
datatop_str.c 89 * @param dict Dictionary that keys and values are added to.
93 int len2, struct dt_procdict *dict)
100 if (line1 == 0 || line2 == 0 || dict == 0)
106 dict->key[k] = &line1[i+1];
116 dict->val[k] = &line2[i+1];
126 dict->max = j;
138 * @param dict Dictionary prefix is being added to.
140 void dt_parse_for_prefix(char *line1, int len1, struct dt_procdict *dict)
147 if (line1 == 0 || dict == 0)
153 dict->key[k] = &line1[i+1]
    [all...]
  /external/libxml2/os400/
transcode.h 13 #include <libxml/dict.h>
16 XMLPUBFUN void xmlZapDict(xmlDictPtr * dict);
18 const char * encoding, xmlDictPtr * dict,
21 const char * encoding, xmlDictPtr * dict);
23 const char * encoding, xmlDictPtr * dict);
25 const char * encoding, xmlDictPtr * dict);
40 XMLPUBFUN const char * xmlVasprintf(xmlDictPtr * dict, const char * encoding,
transcode.c 15 #include "libxml/dict.h"
24 xmlZapDict(xmlDictPtr * dict)
27 if (dict && *dict) {
28 xmlDictFree(*dict);
29 *dict = (xmlDictPtr) NULL;
47 xmlDictPtr * dict, void (*freeproc)(const void *))
71 if (!l && dict)
74 if (dict && !*dict)
    [all...]
  /packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
BinaryDictEncoderFlattenTreeTests.java 34 final FusionDictionary dict = new FusionDictionary(new PtNodeArray(), local
36 dict.add("foo", new ProbabilityInfo(1), null, false /* isNotAWord */,
38 dict.add("fta", new ProbabilityInfo(1), null, false /* isNotAWord */,
40 dict.add("ftb", new ProbabilityInfo(1), null, false /* isNotAWord */,
42 dict.add("bar", new ProbabilityInfo(1), null, false /* isNotAWord */,
44 dict.add("fool", new ProbabilityInfo(1), null, false /* isNotAWord */,
47 BinaryDictEncoderUtils.flattenTree(dict.mRootNodeArray);
  /external/autotest/client/site_tests/graphics_dEQP/scripts/
failure_matrix.py 64 def get_problem_count(dict, gpu):
65 if gpu in dict:
66 if not dict[gpu]:
69 for status in dict[gpu]:
71 count = count + len((dict[gpu])[status])
78 if status in dict[gpu]:
79 count = count + len((dict[gpu])[status])
81 print 'Warning: %s not found in dict!' % gpu
85 def get_problem_tests(dict):
87 for gpu in dict
109 dict = {} variable
    [all...]
  /external/python/cpython2/Mac/scripts/
mkestrres.py 52 def writepython(fp, dict):
53 k = dict.keys()
56 fp.write("%s\t=\t%d\t#%s\n"%(dict[i][1], i, dict[i][0]))
59 def parse_errno_h(fp, dict):
68 if not dict.has_key(number):
69 dict[number] = desc, name
72 print '\t', dict[number]
75 def parse_errors_h(fp, dict):
95 if not dict.has_key(number)
    [all...]
  /external/skia/src/pdf/
SkPDFFormXObject.cpp 18 form->dict()->insertName("Type", "XObject");
19 form->dict()->insertName("Subtype", "Form");
22 form->dict()->insertObject("Matrix", std::move(mat));
24 form->dict()->insertObject("Resources", std::move(resourceDict));
25 form->dict()->insertObject("BBox", std::move(mediaBox));
37 form->dict()->insertObject("Group", std::move(group));
  /external/skqp/src/pdf/
SkPDFFormXObject.cpp 18 form->dict()->insertName("Type", "XObject");
19 form->dict()->insertName("Subtype", "Form");
22 form->dict()->insertObject("Matrix", std::move(mat));
24 form->dict()->insertObject("Resources", std::move(resourceDict));
25 form->dict()->insertObject("BBox", std::move(mediaBox));
37 form->dict()->insertObject("Group", std::move(group));
  /external/libxml2/include/libxml/
dict.h 45 xmlDictSetLimit (xmlDictPtr dict,
48 xmlDictGetUsage (xmlDictPtr dict);
52 xmlDictReference(xmlDictPtr dict);
54 xmlDictFree (xmlDictPtr dict);
60 xmlDictLookup (xmlDictPtr dict,
64 xmlDictExists (xmlDictPtr dict,
68 xmlDictQLookup (xmlDictPtr dict,
72 xmlDictOwns (xmlDictPtr dict,
75 xmlDictSize (xmlDictPtr dict);
  /art/tools/checker/common/
immutables.py 15 class ImmutableDict(dict):
24 dict.__setitem__(newDict, key, value)
  /external/swiftshader/third_party/LLVM/utils/
llvmbuild 256 abbrevs = dict(zip(paths, [base for base in unique_bases]))
292 abbrevs = dict(zip(unique_bases, abbrevs))
314 self.component_abbrev = dict(
415 configure_flags = dict(
416 llvm=dict(debug=["--prefix=" + self.install_prefix,
434 llvm_gcc=dict(debug=["--prefix=" + self.install_prefix,
454 llvm2=dict(debug=["--prefix=" + self.install_prefix,
475 gcc=dict(debug=["--prefix=" + self.install_prefix,
480 dragonegg=dict(debug=[],
484 configure_env = dict(
    [all...]
  /external/e2fsprogs/lib/support/
dict.c 17 * $Id: dict.c,v 1.40.2.7 2000/11/13 01:36:44 kaz Exp $
39 #include "dict.h"
42 static const char rcsid[] = "$Id: dict.c,v 1.40.2.7 2000/11/13 01:36:44 kaz Exp $";
49 * program which uses dict to define, for instance, a macro called ``parent''.
144 static void free_nodes(dict_t *dict, dnode_t *node, dnode_t *nil)
148 free_nodes(dict, node->left, nil);
149 free_nodes(dict, node->right, nil);
150 dict->freenode(node, dict->context);
162 static int verify_bintree(dict_t *dict)
1069 dict_t *dict = load->dictptr; local
1093 dict_t *dict = load->dictptr; local
    [all...]
  /external/f2fs-tools/fsck/
dict.c 17 * $Id: dict.c,v 1.40.2.7 2000/11/13 01:36:44 kaz Exp $
33 #include "dict.h"
37 static const char rcsid[] = "$Id: dict.c,v 1.40.2.7 2000/11/13 01:36:44 kaz Exp $";
44 * program which uses dict to define, for instance, a macro called ``parent''.
136 static void free_nodes(dict_t *dict, dnode_t *node, dnode_t *nil)
140 free_nodes(dict, node->left, nil);
141 free_nodes(dict, node->right, nil);
142 dict->freenode(node, dict->context);
154 static int verify_bintree(dict_t *dict)
1039 dict_t *dict = load->dictptr; local
1063 dict_t *dict = load->dictptr; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/
nasty_eq_vs_dict.py 22 # leave dict alone
37 dict.clear()
39 dict[i] = i
40 dict[self] = "OK!"
43 dict = {y: "OK!"} variable
47 print dict[z]
  /external/python/cpython2/Lib/test/crashers/
nasty_eq_vs_dict.py 22 # leave dict alone
37 dict.clear()
39 dict[i] = i
40 dict[self] = "OK!"
43 dict = {y: "OK!"} variable
47 print dict[z]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_pep292.py 26 self.assertEqual(s.substitute(dict(who='tim', what='ham')),
28 self.assertRaises(KeyError, s.substitute, dict(who='tim'))
32 d = dict(who='tim', what='ham', meal='dinner')
35 dict(who='tim', what='ham'))
40 eq(s.substitute(dict(who='tim', what='ham')),
43 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $')
48 d = dict(foo='baz')
55 d = dict(count=7)
64 d = dict(who=('tim', 'fred'), meal=('ham', 'kung pao'))
71 eq(s.safe_substitute(dict(who='tim')), 'tim likes ${what} for ${meal}')
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_pep292.py 26 self.assertEqual(s.substitute(dict(who='tim', what='ham')),
28 self.assertRaises(KeyError, s.substitute, dict(who='tim'))
32 d = dict(who='tim', what='ham', meal='dinner')
35 dict(who='tim', what='ham'))
40 eq(s.substitute(dict(who='tim', what='ham')),
43 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $')
48 d = dict(foo='baz')
55 d = dict(count=7)
64 d = dict(who=('tim', 'fred'), meal=('ham', 'kung pao'))
71 eq(s.safe_substitute(dict(who='tim')), 'tim likes ${what} for ${meal}'
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_pep292.py 26 self.assertEqual(s.substitute(dict(who='tim', what='ham')),
28 self.assertRaises(KeyError, s.substitute, dict(who='tim'))
32 d = dict(who='tim', what='ham', meal='dinner')
35 dict(who='tim', what='ham'))
40 eq(s.substitute(dict(who='tim', what='ham')),
43 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $')
48 d = dict(foo='baz')
55 d = dict(count=7)
64 d = dict(who=('tim', 'fred'), meal=('ham', 'kung pao'))
71 eq(s.safe_substitute(dict(who='tim')), 'tim likes ${what} for ${meal}'
    [all...]

Completed in 343 milliseconds

1 2 3 4 5 6 7 8 91011>>