Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 97) sorted by relevance

1234

/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DglUtils.h82 template <class T> void minmax(const T *indices, int count, int *min, int *max) { in minmax() argument
84 *max = -1; in minmax()
88 if (*max == -1 || *ptr > *max) *max = *ptr; in minmax()
94 (const T *indices, int count, int *min, int *max, in minmaxExcept() argument
97 if (!shouldExclude) return minmax(indices, count, min, max); in minmaxExcept()
100 *max = -1; in minmaxExcept()
105 if (*max == -1 || *ptr > *max) *max = *ptr; in minmaxExcept()
/device/google/contexthub/firmware/os/algos/calibration/diversity_checker/
Ddiversity_checker.c153 float max = 0.0f; in diversityCheckerNormQuality() local
171 max = norm_results; in diversityCheckerNormQuality()
179 if (norm_results > max) { in diversityCheckerNormQuality()
180 max = norm_results; in diversityCheckerNormQuality()
184 if ((max - min) > diverse_data->max_min_threshold) { in diversityCheckerNormQuality()
196 diverse_data->diversity_dbg.max_log = max; in diversityCheckerNormQuality()
/device/google/bonito/json-c/
Darraylist.c59 static int array_list_expand_internal(struct array_list *arr, int max) in array_list_expand_internal() argument
64 if(max < arr->size) return 0; in array_list_expand_internal()
66 if (new_size < max) in array_list_expand_internal()
67 new_size = max; in array_list_expand_internal()
/device/google/coral/json-c/
Darraylist.c59 static int array_list_expand_internal(struct array_list *arr, int max) in array_list_expand_internal() argument
64 if(max < arr->size) return 0; in array_list_expand_internal()
66 if (new_size < max) in array_list_expand_internal()
67 new_size = max; in array_list_expand_internal()
/device/google/crosshatch/json-c/
Darraylist.c59 static int array_list_expand_internal(struct array_list *arr, int max) in array_list_expand_internal() argument
64 if(max < arr->size) return 0; in array_list_expand_internal()
66 if (new_size < max) in array_list_expand_internal()
67 new_size = max; in array_list_expand_internal()
/device/google/contexthub/firmware/os/algos/common/math/
Dvec.c124 float max = NANO_ABS(v[0]); in vecMaxAbsoluteValue() local
129 if(tmp > max) { in vecMaxAbsoluteValue()
130 max = tmp; in vecMaxAbsoluteValue()
133 return max; in vecMaxAbsoluteValue()
/device/generic/goldfish/network/wifi_forwarder/
Dwifi_forwarder.h58 Pollable::Timestamp mInitDeadline = Pollable::Timestamp::max();
59 Pollable::Timestamp mDeadline = Pollable::Timestamp::max();
Dpoller.cpp35 if (deadline < Pollable::Timestamp::max()) { in calculateTimeout()
87 Pollable::Timestamp deadline = Pollable::Timestamp::max(); in run()
Dremote_connection.h57 Pollable::Timestamp mDeadline = Pollable::Timestamp::max();
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dpcm.c180 i->max = val; in param_set_max()
188 return i->max; in param_get_max()
198 i->max = val; in param_set_int()
208 return i->max; in param_get_int()
228 i->max = ~0; in param_init()
775 unsigned int min, max; in pcm_params_to_string() local
790 max = pcm_params_get_max(params, PCM_PARAM_RATE); in pcm_params_to_string()
791 STRLOG(string, offset, size, " Rate:\tmin=%uHz\tmax=%uHz\n", min, max); in pcm_params_to_string()
793 max = pcm_params_get_max(params, PCM_PARAM_CHANNELS); in pcm_params_to_string()
794 STRLOG(string, offset, size, " Channels:\tmin=%u\t\tmax=%u\n", min, max); in pcm_params_to_string()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp656 GLint max = 0; in virgl_renderer_fill_caps() local
719 s_gles1.glGetIntegerv(GL_MAX_DRAW_BUFFERS_EXT, &max); in virgl_renderer_fill_caps()
720 caps->v1.max_render_targets = max; in virgl_renderer_fill_caps()
722 s_gles1.glGetIntegerv(GL_MAX_SAMPLES_EXT, &max); in virgl_renderer_fill_caps()
723 caps->v1.max_samples = max; in virgl_renderer_fill_caps()
735 s_gles1.glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &max); in virgl_renderer_fill_caps()
736 caps->v2.max_vertex_attribs = max; in virgl_renderer_fill_caps()
763 s_gles1.glGetIntegerv(GL_MAX_ARRAY_TEXTURE_LAYERS, &max); in virgl_renderer_fill_caps()
764 caps->v1.max_texture_array_layers = max; in virgl_renderer_fill_caps()
766 s_gles1.glGetIntegerv(GL_MAX_VERTEX_UNIFORM_BLOCKS, &max); in virgl_renderer_fill_caps()
[all …]
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/assets/
Dstyle.css64 max-width: 100%;
65 max-height: 100%;
/device/linaro/hikey/hifi/xaf/host-apf/include/
Dxaf-api.h125 #define XAF_CHK_RANGE(val, min, max) \ argument
129 if ((__ret < (int)min) || (__ret > (int)max)) \
/device/linaro/hikey/hifi/xaf/host-apf/playback/
Dxa_playback.c181 unsigned int max; in check_param() local
191 max = pcm_params_get_max(params, param); in check_param()
192 if (value > max) { in check_param()
194 param_unit, max, param_unit); in check_param()
/device/generic/goldfish/network/netmgr/
Dpoller.cpp35 if (deadline < Pollable::Timestamp::max()) { in calculateTimeout()
88 Pollable::Timestamp deadline = Pollable::Timestamp::max(); in run()
/device/linaro/hikey/bluetooth/
Dasync_fd_watcher.cc122 max_read_fd = std::max(max_read_fd, it.first); in ThreadRoutine()
134 int nfds = std::max(notification_listen_fd_, max_read_fd); in ThreadRoutine()
/device/generic/goldfish/camera/
DCallbackNotifier.cpp28 #undef max
61 static int GetMessageStrings(uint32_t msg, const char** strings, int max) in GetMessageStrings() argument
65 while (msg != 0 && out < max && index < lCameraMessagesNum) { in GetMessageStrings()
DEmulatedCameraCommon.h58 #define max(a,b) (((a) > (b)) ? (a) : (b)) macro
/device/generic/goldfish-opengl/android-emu/android/base/
DAlignedBuf.h103 size_t pad = std::max(align, sizeof(T)); in resizeImpl()
122 size_t actualAlign = std::max(align, sizeof(void*)); in reallocImpl()
DAlignedBuf.cpp21 size_t actualAlign = std::max(align, sizeof(void*)); in aligned_buf_alloc()
/device/google/cuttlefish/guest/hals/camera/
DCameraConfiguration.h19 #undef max
/device/google/cuttlefish/host/commands/metrics/
Dmetrics.cc53 sleep(std::numeric_limits<unsigned int>::max()); in main()
/device/amlogic/yukawa/hal/audio/
Dspeaker_eq_sei610.fir10 # Values must be 16-bit integers. Currently, a max of 512 taps is supported.
/device/amlogic/yukawa/binaries/bt-wifi-firmware/
Dnvram.txt202 # --- mode switch data rows (max is 4) ---
207 # --- desense switching data rows (max is 4) ---
/device/google/cuttlefish/host/frontend/adb_connector/
Dmain.cpp55 sleep(std::numeric_limits<unsigned int>::max()); in SleepForever()

1234