/external/python/cpython2/Python/ |
H A D | bltinmodule.c | 1107 PyObject *def = NULL; local 1109 if (!PyArg_UnpackTuple(args, "next", 1, 2, &it, &def)) 1121 } else if (def != NULL) { 1127 Py_INCREF(def); 1128 return def;
|
H A D | sysmodule.c | 60 PySys_GetFile(char *name, FILE *def) argument 67 fp = def;
|
/external/python/cpython3/Modules/ |
H A D | _sre.c | 1999 match_getslice_by_index(MatchObject* self, Py_ssize_t index, PyObject* def) argument 2021 Py_INCREF(def); 2022 return def; 2068 match_getslice(MatchObject* self, PyObject* index, PyObject* def) argument 2070 return match_getslice_by_index(self, match_getindex(self, index), def);
|
/external/python/cpython3/Objects/ |
H A D | descrobject.c | 802 PyObject *key, *def = Py_None; local 805 if (!PyArg_UnpackTuple(args, "get", 1, 2, &key, &def)) 807 return _PyObject_CallMethodId(pp->mapping, &PyId_get, "(OO)", key, def); 1259 def __init__(self, fget=None, fset=None, fdel=None, doc=None): 1267 def __get__(self, inst, type=None): 1274 def __set__(self, inst, value): 1279 def __delete__(self, inst): 1567 " def getx(self): return self._x\n" 1568 " def setx(self, value): self._x = value\n" 1569 " def del [all...] |
/external/python/cpython3/Python/ |
H A D | bltinmodule.c | 1310 PyObject *def = NULL; local 1312 if (!PyArg_UnpackTuple(args, "next", 1, 2, &it, &def)) 1324 } else if (def != NULL) { 1330 Py_INCREF(def); 1331 return def;
|
H A D | import.c | 531 struct PyModuleDef *def; local 542 def = PyModule_GetDef(mod); 543 if (!def) { 550 if (_PyState_AddModule(mod, def) < 0) { 554 if (def->m_size == -1) { 555 if (def->m_base.m_copy) { 559 Py_CLEAR(def->m_base.m_copy); 564 def->m_base.m_copy = PyDict_Copy(dict); 565 if (def->m_base.m_copy == NULL) 571 res = PyDict_SetItem(extensions, key, (PyObject *)def); 595 PyModuleDef* def; local 1060 PyModuleDef *def; local 1934 PyModuleDef *def; local [all...] |
/external/selinux/libsepol/cil/src/ |
H A D | cil.c | 2615 void cil_default_init(struct cil_default **def) argument 2617 *def = cil_malloc(sizeof(**def)); 2619 (*def)->flavor = CIL_NONE; 2620 (*def)->class_strs = NULL; 2621 (*def)->class_datums = NULL; 2624 void cil_defaultrange_init(struct cil_defaultrange **def) argument 2626 *def = cil_malloc(sizeof(**def)); 2628 (*def) [all...] |
H A D | cil_policy.c | 781 struct cil_default *def; local 785 def = i1->data; 787 cil_list_for_each(i2, def->class_datums) { 795 if (def->object == CIL_DEFAULT_SOURCE) { 797 } else if (def->object == CIL_DEFAULT_TARGET) { 807 struct cil_defaultrange *def; local 811 def = i1->data; 813 cil_list_for_each(i2, def->class_datums) { 822 switch (def->object_range) {
|
/external/selinux/mcstrans/src/ |
H A D | mcstrans.c | 89 ebitmap_t def; member in struct:word_group 217 parse_ebitmap(ebitmap_t *e, ebitmap_t *def, const char *raw) { argument 218 int rc = ebitmap_cpy(e, def); 323 ebitmap_destroy(&group->def); 435 int rc = parse_ebitmap(&word->cat, &group->def, raw); 441 if (ebitmap_andnot(&word->normal, &word->cat, &group->def, maxbit) < 0) 445 if (ebitmap_xor(&temp, &word->cat, &group->def) < 0) 447 if (ebitmap_and(&word->inverse, &temp, &group->def) < 0) 834 if (parse_ebitmap(&group->def, &empty, tok) < 0) { 1202 if (ebitmap_andnot(&set, &w->cat, &g->def, maxbi [all...] |
/external/skia/tools/bookmaker/ |
H A D | includeParser.cpp | 93 Definition* def = &fParent->fTokens.back(); local 94 this->addDefinition(def); 256 const Definition* def = root->find(fullName, RootDefinition::AllowParens::kYes); local 262 if (!def) { 266 def = root->find(paramName, RootDefinition::AllowParens::kYes); 267 if (!def && 0 == token.fName.find("operator")) { 283 def = root->find(operatorName, RootDefinition::AllowParens::kYes); 286 if (!def) { 292 def = root->find(constructorName, RootDefinition::AllowParens::kYes); 294 if (!def [all...] |
H A D | includeWriter.cpp | 24 void IncludeWriter::descriptionOut(const Definition* def, SkipFirstLine skipFirstLine) { argument 25 const char* commentStart = def->fContentStart; 27 TextParser parser(def); 31 int commentLen = (int) (def->fContentEnd - commentStart); 34 if (def->fDeprecated) { 35 this->writeString(def->fToBeDeprecated ? "To be deprecated soon." : "Deprecated."); 38 for (auto prop : def->fChildren) { 94 if (def->fToBeDeprecated) { 107 commentLen = (int) (def->fContentEnd - commentStart); 120 commentLen = (int) (def 982 populate(Definition* def, ParentPair* prevPair, RootDefinition* root) argument [all...] |
/external/skqp/tools/bookmaker/ |
H A D | includeParser.cpp | 93 Definition* def = &fParent->fTokens.back(); local 94 this->addDefinition(def); 256 const Definition* def = root->find(fullName, RootDefinition::AllowParens::kYes); local 262 if (!def) { 266 def = root->find(paramName, RootDefinition::AllowParens::kYes); 267 if (!def && 0 == token.fName.find("operator")) { 283 def = root->find(operatorName, RootDefinition::AllowParens::kYes); 286 if (!def) { 292 def = root->find(constructorName, RootDefinition::AllowParens::kYes); 294 if (!def [all...] |
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
H A D | ARMDecoderEmitter.cpp | 138 static uint8_t getByteField(const Record &def, const char *str) { argument 139 BitsInit *bits = def.getValueAsBitsInit(str); 143 static BitsInit &getBitsField(const Record &def, const char *str) { argument 144 BitsInit *bits = def.getValueAsBitsInit(str);
|
H A D | FixedLenDecoderEmitter.cpp | 79 static BitsInit &getBitsField(const Record &def, const char *str) { argument 80 BitsInit *bits = def.getValueAsBitsInit(str);
|
/external/syslinux/gpxe/src/drivers/net/ |
H A D | via-velocity.c | 252 * @def: default value 262 int def, char *name, const char *devname) 266 devname, name, def); 267 *opt = def; 272 *opt = def; 284 * @def: default value (yes/no) 294 static void velocity_set_bool_opt(u32 * opt, int val, int def, u32 flag, argument 300 devname, name, def ? "TRUE" : "FALSE"); 301 *opt |= (def ? flag : 0); 306 *opt |= (def 261 velocity_set_int_opt(int *opt, int val, int min, int max, int def, char *name, const char *devname) argument [all...] |
/external/tensorflow/tensorflow/core/framework/ |
H A D | op_kernel.cc | 85 std::unique_ptr<const NodeDef>(new NodeDef(context->def()))) {} 204 return HasNodeAttr(def(), attr_name); 881 : def(d), kernel_class_name(c.ToString()), factory(f) {} 882 const KernelDef def; member in struct:tensorflow::KernelRegistration 1001 TF_RETURN_IF_ERROR(AttrsMatch(node_def, iter->second.def, &match)); 1007 ProtoShortDebugString((*reg)->def), "' and '", 1008 ProtoShortDebugString(iter->second.def), "'"); 1022 const KernelDef** def, string* kernel_class_name) { 1040 if (def != nullptr) *def 1021 FindKernelDef(const DeviceType& device_type, const NodeDef& node_def, const KernelDef** def, string* kernel_class_name) argument 1045 SupportedDeviceTypesForNode( const std::vector<DeviceType>& prioritized_types, const NodeDef& def, DeviceTypeVector* device_types) argument [all...] |
H A D | op_kernel.h | 121 const NodeDef& def() const { return *def_; } function in class:tensorflow::OpKernel 122 const string& name() const; // Same as def().name() 123 const string& type_string() const; // Same as def().op() 124 const string& requested_device() const; // Same as def().device() 133 const string& requested_input(int i) const; // Same as def().input(i) 278 const NodeDef& def() const { return *def_; } function in class:tensorflow::OpKernelConstruction 307 // attr with attr_name is found in def(), or the attr does not have 312 // Return true if the attr_name is defined in def(). 1159 // REQUIRES: def has all attrs specified (e.g. using AddDefaultsToNodeDef()). 1163 const NodeDef& def, [all...] |
/external/tensorflow/tensorflow/core/grappler/costs/ |
H A D | virtual_scheduler_test.cc | 123 GraphDef def; local 124 TF_CHECK_OK(s.ToGraphDef(&def)); 128 grappler_item_->graph = def; 144 GraphDef def; local 145 TF_CHECK_OK(s.ToGraphDef(&def)); 149 grappler_item_->graph = def; 174 GraphDef def; local 175 TF_CHECK_OK(s.ToGraphDef(&def)); 179 grappler_item_->graph = def; 197 GraphDef def; local 219 GraphDef def; local 261 GraphDef def; local 826 GraphDef def; local [all...] |
/external/testng/src/main/java/org/testng/xml/ |
H A D | XmlSuite.java | 673 * @param def the the default value to be used if no timeout was specified. 677 public long getTimeOut(long def) { argument 678 long result = def; 940 private boolean eq(String o1, String o2, String def) { argument 944 result = o1.equals(o2) || (def.equals(o1) && o2 == null); 947 result = o2.equals(o1) || (def.equals(o2) && o1 == null);
|
/external/toybox/lib/ |
H A D | lib.c | 786 int yesno(int def) argument 790 fprintf(stderr, " (%c/%c):", def ? 'Y' : 'y', def ? 'n' : 'N'); 797 if (-1 != (new = stridx("ny", tolower(buf)))) def = new; 800 return def;
|
/external/toybox/toys/posix/ |
H A D | ps.c | 141 -o Show FIELDS (def PID,USER,PR,NI,VIRT,RES,SHR,S,%CPU,%MEM,TIME+,CMDLINE) 1188 struct arg_list def; local 1190 memset(&def, 0, sizeof(struct arg_list)); 1191 def.arg = s; 1192 comma_args(arg ? arg : &def, fields, err, parse_ko);
|
/external/v8/src/compiler/ |
H A D | scheduler.cc | 59 SchedulerData def = {schedule_->start(), 0, kUnknown}; local 60 return def;
|
/external/vulkan-validation-layers/layers/ |
H A D | shader_validation.cpp | 344 static unsigned value_or_default(std::unordered_map<unsigned, unsigned> const &map, unsigned id, unsigned def) { argument 347 return def; 440 static spirv_inst_iter get_struct_type(shader_module const *src, spirv_inst_iter def, bool is_array_of_verts) { argument 442 if (def.opcode() == spv::OpTypePointer) { 443 def = src->get_def(def.word(3)); 444 } else if (def.opcode() == spv::OpTypeArray && is_array_of_verts) { 445 def = src->get_def(def.word(2)); 447 } else if (def 623 auto def = src->get_def(id); local [all...] |
/external/elfutils/src/ |
H A D | elflint.c | 3235 GElf_Verdef *def = gelf_getverdef (data, offset, &defmem); local 3236 if (def == NULL) 3239 if ((def->vd_flags & VER_FLG_BASE) != 0) 3245 if (def->vd_ndx != VER_NDX_GLOBAL) 3251 if ((def->vd_flags & ~(VER_FLG_BASE|VER_FLG_WEAK)) != 0) 3256 if (def->vd_version != EV_CURRENT) 3259 idx, section_name (ebl, idx), cnt, (int) def->vd_version); 3261 if (def->vd_cnt > 0 && def->vd_aux < gelf_fsize (ebl->elf, ELF_T_VDEF, 3270 unsigned int auxoffset = offset + def [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | cnumtst.c | 178 UNumberFormat *def, *fr, *cur_def, *cur_fr, *per_def, *per_fr, local 184 def=unum_open(style, NULL,0,NULL, NULL,&status); 232 myclone = unum_clone(def,&status); 234 log_err("Error: could not clone unum_clone(def, &status): %s\n", myErrorName(status)); 677 unum_setTextAttribute(def, UNUM_POSITIVE_PREFIX, prefix, u_strlen(prefix) , &status); 682 unum_getTextAttribute(def, UNUM_POSITIVE_PREFIX, temp, resultlength, &status); 694 unum_setTextAttribute(def, UNUM_NEGATIVE_PREFIX, prefix, u_strlen(prefix), &status); 699 unum_getTextAttribute(def, UNUM_NEGATIVE_PREFIX, temp, resultlength, &status); 710 unum_setTextAttribute(def, UNUM_NEGATIVE_SUFFIX, suffix, u_strlen(suffix) , &status); 716 unum_getTextAttribute(def, UNUM_NEGATIVE_SUFFI [all...] |