Home
last modified time | relevance | path

Searched refs:needed (Results 1 – 25 of 2437) sorted by relevance

12345678910>>...98

/external/elfutils/libcpu/
Di386_data.h402 int needed; in FCT_MOD$R_M() local
404 needed = snprintf (buf, avail, "%%%s", dregs[byte]); in FCT_MOD$R_M()
406 needed = snprintf (buf, avail, "%%mm%" PRIxFAST8, byte); in FCT_MOD$R_M()
407 if ((size_t) needed > avail) in FCT_MOD$R_M()
408 return needed - avail; in FCT_MOD$R_M()
409 *bufcntp += needed; in FCT_MOD$R_M()
431 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, in FCT_Mod$R_m() local
433 if ((size_t) needed > avail) in FCT_Mod$R_m()
434 return needed - avail; in FCT_Mod$R_m()
435 *d->bufcntp += needed; in FCT_Mod$R_m()
[all …]
/external/u-boot/lib/
Dtrace.c146 int trace_list_functions(void *buff, int buff_size, unsigned int *needed) in trace_list_functions() argument
184 *needed = ptr - buff; in trace_list_functions()
190 int trace_list_calls(void *buff, int buff_size, unsigned *needed) in trace_list_calls() argument
228 *needed = ptr - buff; in trace_list_calls()
282 size_t needed; in trace_init() local
309 needed = sizeof(*hdr) + func_count * sizeof(uintptr_t); in trace_init()
310 if (needed > buff_size) { in trace_init()
312 buff_size, needed); in trace_init()
317 memset(hdr, '\0', needed); in trace_init()
322 hdr->ftrace = (struct trace_call *)(buff + needed); in trace_init()
[all …]
/external/grpc-grpc/src/core/lib/gpr/
Dstring_util_windows.cc46 int needed = MultiByteToWideChar(CP_UTF8, 0, input, -1, NULL, 0); in gpr_char_to_tchar() local
47 if (needed <= 0) return NULL; in gpr_char_to_tchar()
48 ret = (LPTSTR)gpr_malloc((unsigned)needed * sizeof(TCHAR)); in gpr_char_to_tchar()
49 MultiByteToWideChar(CP_UTF8, 0, input, -1, ret, needed); in gpr_char_to_tchar()
56 int needed = WideCharToMultiByte(CP_UTF8, 0, input, -1, NULL, 0, NULL, NULL); in gpr_tchar_to_char() local
57 if (needed <= 0) return NULL; in gpr_tchar_to_char()
58 ret = (LPSTR)gpr_malloc((unsigned)needed); in gpr_tchar_to_char()
59 WideCharToMultiByte(CP_UTF8, 0, input, -1, ret, needed, NULL, NULL); in gpr_tchar_to_char()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Linker/
Donly-needed-named-metadata.ll1 ; Without -only-needed we should lazy link linkonce globals, and the
3 ; RUN: llvm-link -S %S/Inputs/only-needed-named-metadata.ll %S/only-needed-named-metadata.ll | File…
7 ; With -only-needed the metadata references should not cause any of the
11 ; Note that doing -only-needed with the comdat shown below leads to a only
13 ; RUN: llvm-link -S -only-needed %S/Inputs/only-needed-named-metadata.ll %S/only-needed-named-metad…
14 ; RUN: llvm-link -S -internalize -only-needed %S/Inputs/only-needed-named-metadata.ll %S/only-neede…
Donly-needed-used.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-used.ll | FileCheck %s
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-used.ll | FileCheck %s
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-used.ll | FileCheck %s
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-used.ll | FileCheck %s
Donly-needed-compiler-used.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-compiler-used.ll | FileCheck…
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-compiler-used.ll | FileCheck…
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-compiler-used.ll | FileCheck…
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-compiler-used.ll | FileCheck…
Donly-needed-ctors1.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
Donly-needed-dtors1.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
Donly-needed-ctors2.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-ctors.ll | FileCheck %s --ch…
Donly-needed-dtors2.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-dtors.ll | FileCheck %s --ch…
Donly-needed-debug-metadata.ll2 ; RUN: llvm-as %p/Inputs/only-needed-debug-metadata.ll -o %t2.bc
4 ; Without -only-needed, we need to link in both DISubprogram.
9 ; With -only-needed, we only need to link in foo's DISubprogram.
10 ; RUN: llvm-link -S -only-needed %t2.bc %t.bc | FileCheck %s -check-prefix=ONLYNEEDED
14 source_filename = "test/Linker/only-needed-debug-metadata.ll"
/external/llvm/test/Linker/
Donly-needed-named-metadata.ll1 ; Without -only-needed we should lazy link linkonce globals, and the
3 ; RUN: llvm-link -S %S/Inputs/only-needed-named-metadata.ll %S/only-needed-named-metadata.ll | File…
7 ; With -only-needed the metadata references should not cause any of the
11 ; Note that doing -only-needed with the comdat shown below leads to a only
13 ; RUN: llvm-link -S -only-needed %S/Inputs/only-needed-named-metadata.ll %S/only-needed-named-metad…
14 ; RUN: llvm-link -S -internalize -only-needed %S/Inputs/only-needed-named-metadata.ll %S/only-neede…
/external/u-boot/cmd/
Dtrace.c34 unsigned int needed; in create_func_list() local
42 err = trace_list_functions(buff + buff_ptr, avail, &needed); in create_func_list()
44 printf("Error: truncated (%#x bytes needed)\n", needed); in create_func_list()
45 used = min(avail, (size_t)needed); in create_func_list()
58 unsigned int needed; in create_call_list() local
66 err = trace_list_calls(buff + buff_ptr, avail, &needed); in create_call_list()
68 printf("Error: truncated (%#x bytes needed)\n", needed); in create_call_list()
69 used = min(avail, (size_t)needed); in create_call_list()
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
DICUCurrencyMetaInfo.java79 int needed = collector.collects(); in collect() local
81 needed |= Region; in collect()
84 needed |= Currency; in collect()
87 needed |= Date; in collect()
90 needed |= Tender; in collect()
93 if (needed != 0) { in collect()
97 collectRegion(collector, filter, needed, b); in collect()
101 collectRegion(collector, filter, needed, regionInfo.at(i)); in collect()
110 int needed, ICUResourceBundle b) { in collectRegion() argument
113 if (needed == Region) { in collectRegion()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUCurrencyMetaInfo.java81 int needed = collector.collects(); in collect() local
83 needed |= Region; in collect()
86 needed |= Currency; in collect()
89 needed |= Date; in collect()
92 needed |= Tender; in collect()
95 if (needed != 0) { in collect()
99 collectRegion(collector, filter, needed, b); in collect()
103 collectRegion(collector, filter, needed, regionInfo.at(i)); in collect()
112 int needed, ICUResourceBundle b) { in collectRegion() argument
115 if (needed == Region) { in collectRegion()
[all …]
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c84 unsigned long long breaks, needed; in runtestsingle() local
137 needed = 0; in runtestsingle()
139 needed += loop_num; in runtestsingle()
141 needed += loop_num; in runtestsingle()
142 needed = needed * (1 - exclude_user); in runtestsingle()
145 if (breaks != needed) { in runtestsingle()
147 (unsigned long int)ptr, breaks, needed, loop_num, readwriteflag, exclude_user); in runtestsingle()
/external/icu/icu4c/source/tools/gencolusb/
Dextract_unsafe_backwards.cpp80 int32_t needed = pattern.length(); in main() local
90 const UnicodeString unsafeBackwardPattern(FALSE, buf, needed); in main()
120 printf("static const int32_t collunsafe_len = %d;\n", needed); in main()
122 for(int i=0;i<needed;i++) { in main()
127 if(i != (needed-1)) { in main()
131 printf(" //%d\n};\n", (needed-1)); in main()
/external/grpc-grpc/test/core/json/
Djson_rewrite.cc69 static void check_string(json_reader_userdata* state, size_t needed) { in check_string() argument
70 if (state->free_space >= needed) return; in check_string()
71 needed -= state->free_space; in check_string()
72 needed = (needed + 0xffu) & ~0xffu; in check_string()
74 gpr_realloc(state->scratchpad, state->allocated + needed)); in check_string()
75 state->free_space += needed; in check_string()
76 state->allocated += needed; in check_string()
Djson_rewrite_test.cc80 static void check_string(json_reader_userdata* state, size_t needed) { in check_string() argument
81 if (state->free_space >= needed) return; in check_string()
82 needed -= state->free_space; in check_string()
83 needed = (needed + 0xffu) & ~0xffu; in check_string()
85 gpr_realloc(state->scratchpad, state->allocated + needed)); in check_string()
86 state->free_space += needed; in check_string()
87 state->allocated += needed; in check_string()
/external/libcxx/utils/google-benchmark/src/
Dre.h123 size_t needed = regerror(ec, &re_, nullptr, 0); in Init() local
124 char* errbuf = new char[needed]; in Init()
125 regerror(ec, &re_, errbuf, needed); in Init()
129 CHECK_NE(needed, 0); in Init()
130 error->assign(errbuf, needed - 1); in Init()
/external/google-benchmark/src/
Dre.h123 size_t needed = regerror(ec, &re_, nullptr, 0); in Init() local
124 char* errbuf = new char[needed]; in Init()
125 regerror(ec, &re_, errbuf, needed); in Init()
129 CHECK_NE(needed, 0); in Init()
130 error->assign(errbuf, needed - 1); in Init()
/external/u-boot/tools/binman/
Dentry.py174 needed = self.pad_before + self.contents_size + self.pad_after
175 needed = tools.Align(needed, self.align_size)
178 size = needed
188 if self.size < needed:
190 "%#x (%d)" % (needed, needed, self.size, self.size))
/external/wpa_supplicant_8/hs20/server/www/
Dspp.php32 $needed = array('nonce'=>1, 'nc'=>1, 'cnonce'=>1, 'qop'=>1, 'username'=>1, variable
35 $keys = implode('|', array_keys($needed));
40 unset($needed[$m[1]]);
42 if ($needed) {
43 error_log("spp.php - Authentication failed - missing: " . print_r($needed));
/external/grpc-grpc/src/core/lib/json/
Djson_string.cc67 static void json_writer_output_check(void* userdata, size_t needed) { in json_writer_output_check() argument
69 if (state->free_space >= needed) return; in json_writer_output_check()
70 needed -= state->free_space; in json_writer_output_check()
72 needed = (needed + 0xff) & ~0xffU; in json_writer_output_check()
74 static_cast<char*>(gpr_realloc(state->output, state->allocated + needed)); in json_writer_output_check()
75 state->free_space += needed; in json_writer_output_check()
76 state->allocated += needed; in json_writer_output_check()
/external/webrtc/talk/media/base/
Dvideoframe.cc89 const size_t needed = y_size + u_size + v_size; in CopyToBuffer() local
90 if (size < needed) in CopyToBuffer()
91 return needed; in CopyToBuffer()
94 return needed; in CopyToBuffer()
132 const size_t needed = std::abs(stride_rgb) * GetHeight(); in ConvertToRgbBuffer() local
133 if (size < needed) { in ConvertToRgbBuffer()
135 return needed; in ConvertToRgbBuffer()
145 return needed; in ConvertToRgbBuffer()

12345678910>>...98