Searched defs:needed (Results 1 - 25 of 56) sorted by relevance

123

/external/chromium_org/ui/base/win/
H A Dlock_state.cc16 DWORD needed = 0; local
18 input_desk, UOI_NAME, name, sizeof(name), &needed)) {
/external/chromium_org/third_party/icu/source/samples/numfmt/
H A Dcapi.c25 int32_t needed; local
58 in the US locale. The return value is the buffer size needed.
64 needed = unum_formatDouble(fmt, a, buf, 256, NULL, &status);
/external/chromium_org/third_party/tlslite/tlslite/
H A D__init__.py28 from tlslite.api import __version__ # Unsure why this is needed, but it is namespace
/external/icu/icu4c/source/samples/numfmt/
H A Dcapi.c25 int32_t needed; local
58 in the US locale. The return value is the buffer size needed.
64 needed = unum_formatDouble(fmt, a, buf, 256, NULL, &status);
/external/bison/lib/
H A Dgetdelim.c99 size_t needed = 2 * *n + 1; /* Be generous. */ local
102 if (needed_max < needed)
103 needed = needed_max;
104 if (cur_len + 1 >= needed)
111 new_lineptr = (char *) realloc (*lineptr, needed);
119 *n = needed;
/external/chromium_org/cloud_print/virtual_driver/win/
H A Dvirtual_driver_helpers.cc35 DWORD needed = 0; local
41 &needed)) {
42 // We could try to allocate a larger buffer if needed > MAX_PATH
/external/chromium_org/third_party/leveldatabase/src/util/
H A Darena.cc47 size_t needed = bytes + slop; local
49 if (needed <= alloc_bytes_remaining_) {
51 alloc_ptr_ += needed;
52 alloc_bytes_remaining_ -= needed;
/external/srec/shared/src/
H A DLStringImpl.c56 size_t needed; local
58 needed = LSTRLEN(impl->value) + LSTRLEN(value) + 1;
60 if (needed > impl->size)
62 LCHAR* temp = REALLOC(impl->value, sizeof(LCHAR) * (needed + (impl->size / 2)));
65 impl->size = sizeof(LCHAR) * (needed + (impl->size / 2));
/external/wpa_supplicant_8/hs20/server/www/
H A Dspp.php27 $needed = array('nonce'=>1, 'nc'=>1, 'cnonce'=>1, 'qop'=>1, 'username'=>1, variable
30 $keys = implode('|', array_keys($needed));
35 unset($needed[$m[1]]);
37 if ($needed) {
38 error_log("spp.php - Authentication failed - missing: " . print_r($needed));
H A Dest.php14 $needed = array('nonce'=>1, 'nc'=>1, 'cnonce'=>1, 'qop'=>1, 'username'=>1, variable
17 $keys = implode('|', array_keys($needed));
22 unset($needed[$m[1]]);
24 if ($needed) {
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPlotMgr.h18 size_t needed = width * height; local
19 if (needed <= sizeof(fStorage)) {
22 fBusy = SkNEW_ARRAY(char, needed);
/external/skia/src/gpu/
H A DGrPlotMgr.h18 size_t needed = width * height; local
19 if (needed <= sizeof(fStorage)) {
22 fBusy = SkNEW_ARRAY(char, needed);
/external/chromium_org/base/strings/
H A Dsafe_sprintf_unittest.cc217 // have typos in the copy-n-pasted code that is needed to deal with various
376 size_t needed = SafeSNPrintf(out, out_sz, local
386 // The numbered of characters needed to print the full string should always
389 CHECK_GE(needed, len+1);
405 out_sz = std::min(needed, sz);
/external/chromium_org/third_party/leveldatabase/src/db/
H A Ddbformat.cc123 size_t needed = usize + 13; // A conservative estimate local
125 if (needed <= sizeof(space_)) {
128 dst = new char[needed];
/external/qemu/distrib/sdl-1.2.15/include/
H A DSDL_audio.h127 int needed; /**< Set to 1 if conversion possible */ member in struct:SDL_AudioCVT
228 * and rate, and initializes the 'cvt' structure with information needed
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dvideoframe.cc178 size_t needed = SizeOf(dst_width, dst_height); local
179 if (needed <= size) {
189 return needed;
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Dtools_common.c112 size_t needed = w * bytespp; local
116 const size_t more = (left < needed) ? left : needed;
119 needed -= more;
122 if (needed > 0) {
123 shortread |= (fread(ptr + buf_position, 1, needed, f) < needed);
/external/chromium_org/third_party/webrtc/base/
H A Dwin32filesystem.cc118 // Compute size needed for an ACL that allows access to just this user.
428 int needed = ::GetCurrentDirectory(path_len, path.get()); local
429 if (needed == 0) {
434 if (needed <= path_len) {
438 // Else need to re-alloc for "needed".
439 path.reset(new wchar_t[needed]);
440 path_len = needed;
H A Dstringencode.cc447 size_t needed = delimiter ? (srclen * 3) : (srclen * 2 + 1); local
448 if (buflen < needed)
498 size_t needed = (delimiter) ? (srclen + 1) / 3 : srclen / 2; local
499 if (buflen < needed)
516 // Remove the delimiter if needed.
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libbacktrace.cc49 uptr needed = data->size + l + 1; local
50 if (needed > data->allocated) {
52 if (needed > data->allocated)
53 data->allocated = needed;
/external/iproute2/tc/
H A Dem_meta.c169 struct tcf_meta_val *needed)
180 if (map_type(*p) == TCF_META_TYPE(needed->kind))
168 is_compatible(struct tcf_meta_val *what, struct tcf_meta_val *needed) argument
/external/libedit/examples/
H A Dwtc1.c44 int needed = wcstombs(0, wstr, 0) + 1; local
45 if (needed > buf.len) {
46 buf.str = malloc(needed);
47 buf.len = needed;
49 wcstombs(buf.str, wstr, needed);
50 buf.str[needed - 1] = 0;
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
H A Dnfc_hal_nci.c59 UINT16 size, needed; local
105 needed = (NFC_HDR_SIZE + nfc_hal_cb.ncit_cb.p_frag_msg->len + nfc_hal_cb.ncit_cb.p_frag_msg->offset + p_msg->len);
106 if (size >= needed)
/external/libvpx/libvpx/
H A Dtools_common.c111 size_t needed = w; local
115 const size_t more = (left < needed) ? left : needed;
118 needed -= more;
121 if (needed > 0) {
122 shortread |= (fread(ptr + buf_position, 1, needed, f) < needed);
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtcvideoframe.cc242 size_t needed = frame()->Length(); local
243 if (needed <= size) {
244 memcpy(buffer, frame()->Buffer(), needed);
246 return needed;
257 size_t needed = (stride_rgb >= 0 ? stride_rgb : -stride_rgb) * height; local
258 if (size < needed) {
260 return needed;
272 return needed;

Completed in 702 milliseconds

123