/external/libtextclassifier/native/lang_id/common/fel/ |
D | task-context.cc | 40 const char *defval) const { in Get() 45 return defval; in Get() 48 int TaskContext::Get(const std::string &name, int defval) const { in Get() 50 int value = defval; in Get() 54 return defval; in Get() 57 float TaskContext::Get(const std::string &name, float defval) const { in Get() 59 float value = defval; in Get() 63 return defval; in Get() 66 bool TaskContext::Get(const std::string &name, bool defval) const { in Get() 68 return value.empty() ? defval : value == "true"; in Get()
|
D | task-context.h | 53 std::string Get(const std::string &name, const char *defval) const; 54 int Get(const std::string &name, int defval) const; 55 float Get(const std::string &name, float defval) const; 56 bool Get(const std::string &name, bool defval) const;
|
/external/gflags/android/gflags/ |
D | gflags.h | 315 extern GFLAGS_DLL_DECL bool BoolFromEnv(const char *varname, bool defval); 316 extern GFLAGS_DLL_DECL int32 Int32FromEnv(const char *varname, int32 defval); 317 extern GFLAGS_DLL_DECL uint32 Uint32FromEnv(const char *varname, uint32 defval); 318 extern GFLAGS_DLL_DECL int64 Int64FromEnv(const char *varname, int64 defval); 319 extern GFLAGS_DLL_DECL uint64 Uint64FromEnv(const char *varname, uint64 defval); 320 extern GFLAGS_DLL_DECL double DoubleFromEnv(const char *varname, double defval); 321 extern GFLAGS_DLL_DECL const char *StringFromEnv(const char *varname, const char *defval);
|
/external/libyuv/files/third_party/gflags/gen/posix/include/gflags/ |
D | gflags.h | 314 extern GFLAGS_DLL_DECL bool BoolFromEnv(const char *varname, bool defval); 315 extern GFLAGS_DLL_DECL int32 Int32FromEnv(const char *varname, int32 defval); 316 extern GFLAGS_DLL_DECL int64 Int64FromEnv(const char *varname, int64 defval); 317 extern GFLAGS_DLL_DECL uint64 Uint64FromEnv(const char *varname, uint64 defval); 318 extern GFLAGS_DLL_DECL double DoubleFromEnv(const char *varname, double defval); 319 extern GFLAGS_DLL_DECL const char *StringFromEnv(const char *varname, const char *defval);
|
/external/libyuv/files/third_party/gflags/gen/win/include/gflags/ |
D | gflags.h | 314 extern GFLAGS_DLL_DECL bool BoolFromEnv(const char *varname, bool defval); 315 extern GFLAGS_DLL_DECL int32 Int32FromEnv(const char *varname, int32 defval); 316 extern GFLAGS_DLL_DECL int64 Int64FromEnv(const char *varname, int64 defval); 317 extern GFLAGS_DLL_DECL uint64 Uint64FromEnv(const char *varname, uint64 defval); 318 extern GFLAGS_DLL_DECL double DoubleFromEnv(const char *varname, double defval); 319 extern GFLAGS_DLL_DECL const char *StringFromEnv(const char *varname, const char *defval);
|
/external/llvm-project/mlir/lib/Dialect/OpenMP/IR/ |
D | OpenMPDialect.cpp | 289 llvm::StringRef defval; in parseParallelOp() local 290 if (parser.parseLParen() || parser.parseKeyword(&defval) || in parseParallelOp() 297 attrval += defval; in parseParallelOp()
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 3488 PyObject *defval; in _validate_paramflags() local 3490 if (!PyArg_ParseTuple(item, "i|ZO", &flag, &name, &defval)) { in _validate_paramflags() 3824 _get_arg(int *pindex, PyObject *name, PyObject *defval, PyObject *inargs, PyObject *kwds) in _get_arg() argument 3845 if (defval) { in _get_arg() 3846 Py_INCREF(defval); in _get_arg() 3847 return defval; in _get_arg() 3922 PyObject *defval = NULL; in _build_callargs() local 3930 defval = tsize > 2 ? PyTuple_GET_ITEM(item, 2) : NULL; in _build_callargs() 3936 if (defval == NULL) in _build_callargs() 3937 defval = _PyLong_Zero; in _build_callargs() [all …]
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 3390 PyObject *defval; in _validate_paramflags() local 3392 if (!PyArg_ParseTuple(item, "i|zO", &flag, &name, &defval)) { in _validate_paramflags() 3700 _get_arg(int *pindex, char *name, PyObject *defval, PyObject *inargs, PyObject *kwds) in _get_arg() argument 3715 if (defval) { in _get_arg() 3716 Py_INCREF(defval); in _get_arg() 3717 return defval; in _get_arg() 3792 PyObject *defval = NULL; in _build_callargs() local 3800 defval = tsize > 2 ? PyTuple_GET_ITEM(item, 2) : NULL; in _build_callargs() 3806 if (defval == NULL) { in _build_callargs() 3807 defval = PyInt_FromLong(0); in _build_callargs() [all …]
|
/external/curl/src/ |
D | tool_setopt.c | 654 long defval = 0L; in tool_setopt() local 658 defval = nv->value; in tool_setopt() 666 if(lval == defval) in tool_setopt()
|
/external/gflags/src/ |
D | gflags.h.in | 310 // return defval. If 'varname' does exist but is not valid 315 extern GFLAGS_DLL_DECL bool BoolFromEnv(const char *varname, bool defval); 316 extern GFLAGS_DLL_DECL int32 Int32FromEnv(const char *varname, int32 defval); 317 extern GFLAGS_DLL_DECL uint32 Uint32FromEnv(const char *varname, uint32 defval); 318 extern GFLAGS_DLL_DECL int64 Int64FromEnv(const char *varname, int64 defval); 319 extern GFLAGS_DLL_DECL uint64 Uint64FromEnv(const char *varname, uint64 defval); 320 extern GFLAGS_DLL_DECL double DoubleFromEnv(const char *varname, double defval); 321 extern GFLAGS_DLL_DECL const char *StringFromEnv(const char *varname, const char *defval);
|