/external/libtextclassifier/common/ |
D | task-context.cc | 31 int32 ParseInt32WithDefault(const std::string &s, int32 defval) { in ParseInt32WithDefault() argument 32 int32 value = defval; in ParseInt32WithDefault() 33 return ParseInt32(s.c_str(), &value) ? value : defval; in ParseInt32WithDefault() 36 int64 ParseInt64WithDefault(const std::string &s, int64 defval) { in ParseInt64WithDefault() argument 37 int64 value = defval; in ParseInt64WithDefault() 38 return ParseInt64(s.c_str(), &value) ? value : defval; in ParseInt64WithDefault() 41 double ParseDoubleWithDefault(const std::string &s, double defval) { in ParseDoubleWithDefault() argument 42 double value = defval; in ParseDoubleWithDefault() 43 return ParseDouble(s.c_str(), &value) ? value : defval; in ParseDoubleWithDefault() 129 const char *defval) const { in Get() [all …]
|
D | task-context.h | 57 std::string Get(const std::string &name, const std::string &defval) const; 58 std::string Get(const std::string &name, const char *defval) const; 59 int Get(const std::string &name, int defval) const; 60 int64 Get(const std::string &name, int64 defval) const; 61 double Get(const std::string &name, double defval) const; 62 bool Get(const std::string &name, bool defval) const;
|
/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/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/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/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/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/fio/ |
D | ghelpers.c | 71 GtkWidget *create_spinbutton(GtkWidget *hbox, double min, double max, double defval) in create_spinbutton() argument 82 gtk_spin_button_set_value(GTK_SPIN_BUTTON(button), defval); in create_spinbutton()
|
D | ghelpers.h | 9 GtkWidget *create_spinbutton(GtkWidget *hbox, double min, double max, double defval);
|
D | goptions.c | 505 unsigned long long defval; in __gopt_new_int() local 521 defval = 0; in __gopt_new_int() 523 defval = *p; in __gopt_new_int() 528 defval = val; in __gopt_new_int() 541 gopt_int_set_val(i, defval); in __gopt_new_int()
|
/external/curl/src/ |
D | tool_setopt.c | 507 long defval = 0L; in tool_setopt() local 511 defval = nv->value; in tool_setopt() 519 if(lval == defval) in tool_setopt()
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 3292 PyObject *defval; in _validate_paramflags() local 3294 if (!PyArg_ParseTuple(item, "i|zO", &flag, &name, &defval)) { in _validate_paramflags() 3603 _get_arg(int *pindex, char *name, PyObject *defval, PyObject *inargs, PyObject *kwds) in _get_arg() argument 3618 if (defval) { in _get_arg() 3619 Py_INCREF(defval); in _get_arg() 3620 return defval; in _get_arg() 3695 PyObject *defval = NULL; in _build_callargs() local 3703 defval = tsize > 2 ? PyTuple_GET_ITEM(item, 2) : NULL; in _build_callargs() 3709 if (defval == NULL) { in _build_callargs() 3710 defval = PyInt_FromLong(0); in _build_callargs() [all …]
|
/external/v8/src/wasm/ |
D | wasm-interpreter.cc | 1516 #define ASMJS_LOAD_CASE(name, ctype, mtype, defval) \ in Execute() argument 1521 result = defval; \ in Execute()
|