Home
last modified time | relevance | path

Searched refs:defval (Results 1 – 7 of 7) sorted by relevance

/third_party/json/test/src/
Dunit-regression2.cpp445 std::string defval = "default value"; variable
446 auto val = j.value("x", defval);
447 auto val2 = j.value("y", defval);
/third_party/boost/tools/build/src/tools/
Ddoxproc.py432 defval = self._getChild('defval',root=param)
445 if defval:
446 value = self._getChildData('ref',root=defval.firstChild)
448 value = self._getData(defval)
716 defval = self._getChild('defval',root=param)
717 if defval:
/third_party/python/Modules/_ctypes/
D_ctypes.c3485 PyObject *defval; in _validate_paramflags() local
3487 if (!PyArg_ParseTuple(item, "i|OO", &flag, &name, &defval) || in _validate_paramflags()
3823 _get_arg(int *pindex, PyObject *name, PyObject *defval, PyObject *inargs, PyObject *kwds) in _get_arg() argument
3844 if (defval) { in _get_arg()
3845 Py_INCREF(defval); in _get_arg()
3846 return defval; in _get_arg()
3921 PyObject *defval = NULL; in _build_callargs() local
3929 defval = tsize > 2 ? PyTuple_GET_ITEM(item, 2) : NULL; in _build_callargs()
3935 if (defval == NULL) { in _build_callargs()
3936 defval = _PyLong_GetZero(); in _build_callargs()
[all …]
/third_party/curl/src/
Dtool_setopt.c665 long defval = 0L; in tool_setopt() local
669 defval = nv->value; in tool_setopt()
677 if(lval == defval) in tool_setopt()
/third_party/flatbuffers/src/
Didl_gen_lobster.cpp113 auto defval = field.IsOptional() ? "0" : field.value.constant; in GenStructAccessor() local
115 "(pos_, " + offsets + ", " + defval + ")"; in GenStructAccessor()
Didl_gen_rust.cpp959 const std::string defval = in GetDefaultValue() local
961 if (context == kObject) return defval + ".to_string()"; in GetDefaultValue()
962 if (context == kAccessor) return "&" + defval; in GetDefaultValue()
/third_party/ffmpeg/libavformat/
Dasfdec_f.c956 #define DO_2BITS(bits, var, defval) \ argument
971 var = defval; \