/external/libtextclassifier/lang_id/common/fel/ |
D | task-context.cc | 38 string TaskContext::Get(const string &name, const char *defval) const { in Get() 43 return defval; in Get() 46 int TaskContext::Get(const string &name, int defval) const { in Get() 48 int value = defval; in Get() 52 return defval; in Get() 55 float TaskContext::Get(const string &name, float defval) const { in Get() 57 float value = defval; in Get() 61 return defval; in Get() 64 bool TaskContext::Get(const string &name, bool defval) const { in Get() 66 return value.empty() ? defval : value == "true"; in Get()
|
D | task-context.h | 53 string Get(const string &name, const char *defval) const; 54 int Get(const string &name, int defval) const; 55 float Get(const string &name, float defval) const; 56 bool Get(const 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/google-breakpad/src/third_party/linux/include/gflags/ |
D | gflags.h | 313 extern bool BoolFromEnv(const char *varname, bool defval); 314 extern int32 Int32FromEnv(const char *varname, int32 defval); 315 extern int64 Int64FromEnv(const char *varname, int64 defval); 316 extern uint64 Uint64FromEnv(const char *varname, uint64 defval); 317 extern double DoubleFromEnv(const char *varname, double defval); 318 extern 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/webrtc/third_party/gflags/gen/posix/include/gflags/ |
D | gflags.h | 335 extern bool BoolFromEnv(const char *varname, bool defval); 336 extern int32 Int32FromEnv(const char *varname, int32 defval); 337 extern int64 Int64FromEnv(const char *varname, int64 defval); 338 extern uint64 Uint64FromEnv(const char *varname, uint64 defval); 339 extern double DoubleFromEnv(const char *varname, double defval); 340 extern const char *StringFromEnv(const char *varname, const char *defval);
|
/external/webrtc/third_party/gflags/gen/win/include/gflags/ |
D | gflags.h | 357 extern GFLAGS_DLL_DECL bool BoolFromEnv(const char *varname, bool defval); 358 extern GFLAGS_DLL_DECL int32 Int32FromEnv(const char *varname, int32 defval); 359 extern GFLAGS_DLL_DECL int64 Int64FromEnv(const char *varname, int64 defval); 360 extern GFLAGS_DLL_DECL uint64 Uint64FromEnv(const char *varname, uint64 defval); 361 extern GFLAGS_DLL_DECL double DoubleFromEnv(const char *varname, double defval); 362 extern GFLAGS_DLL_DECL const char *StringFromEnv(const char *varname, const char *defval);
|
/external/u-boot/env/ |
D | flags.c | 543 const char *defval = env_get_default(name); in env_flags_validate() local 545 if (defval == NULL) in env_flags_validate() 546 defval = ""; in env_flags_validate() 547 printf("oldval: %s defval: %s\n", oldval, defval); in env_flags_validate() 548 if (strcmp(oldval, defval) != 0) { in env_flags_validate()
|
/external/libcups/cups/ |
D | adminutil.c | 49 ipp_attribute_t *defattr, int defval, 2290 int defval, /* I - Default value number */ in write_option() argument 2307 defattr->values[defval].integer); in write_option() 2324 else if (defval == 0) in write_option() 2326 else if (defval < (valcount - 1)) in write_option() 2345 else if (defval == 0) in write_option() 2348 else if (defval < (valcount - 1)) in write_option() 2362 defattr->values[defval].string.text); in write_option() 2372 else if (defval == 0) in write_option() 2375 else if (defval < (valcount - 1)) in write_option()
|
/external/curl/src/ |
D | tool_setopt.c | 638 long defval = 0L; in tool_setopt() local 642 defval = nv->value; in tool_setopt() 650 if(lval == defval) in tool_setopt()
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 3279 PyObject *defval; in _validate_paramflags() local 3281 if (!PyArg_ParseTuple(item, "i|ZO", &flag, &name, &defval)) { in _validate_paramflags() 3598 _get_arg(int *pindex, PyObject *name, PyObject *defval, PyObject *inargs, PyObject *kwds) in _get_arg() argument 3613 if (defval) { in _get_arg() 3614 Py_INCREF(defval); in _get_arg() 3615 return defval; in _get_arg() 3690 PyObject *defval = NULL; in _build_callargs() local 3698 defval = tsize > 2 ? PyTuple_GET_ITEM(item, 2) : NULL; in _build_callargs() 3704 if (defval == NULL) in _build_callargs() 3705 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/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);
|
/external/u-boot/tools/env/ |
D | fw_env.c | 574 const char *defval = fw_getdefenv(name); in fw_env_write() local 576 if (defval == NULL) in fw_env_write() 577 defval = ""; in fw_env_write() 578 if (strcmp(oldval, defval) in fw_env_write()
|
/external/v8/src/wasm/ |
D | wasm-interpreter.cc | 2429 #define ASMJS_LOAD_CASE(name, ctype, mtype, defval) \ in Execute() argument 2435 result = defval; \ in Execute()
|