Lines Matching defs:table
151 static inline int register_ints(PyObject* d, struct inttable* table)
153 while (table->name != NULL) {
154 if (table->is_unsigned) {
155 int res = add_unsigned(d, table->name,
156 (unsigned)table->value);
159 int res = add_int(d, table->name, table->value);
163 table++;
195 static inline int register_strings(PyObject* d, struct stringtable* table)
197 while (table->name != NULL) {
198 add_string(d, table->name, *table->value);
199 table++;
207 register_variableList(PyObject* d, CFBundleRef bundle __attribute__((__unused__)), struct vartable* table, size_t count)
228 [names addObject:table[i].name];
238 val = PyObjC_ObjCToPython(table[i].type, ptrs[i]);
243 PyDict_SetItemString(d, (char*)[table[i].name cString], val);