Searched refs:result (Results 51 - 75 of 568) sorted by relevance

1234567891011>>

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dbytes_methods.c247 _Py_bytes_lower(char *result, const char *cptr, Py_ssize_t len) argument
259 Py_MEMCPY(result, cptr, len);
262 int c = Py_CHARMASK(result[i]);
264 result[i] = Py_TOLOWER(c);
275 _Py_bytes_upper(char *result, const char *cptr, Py_ssize_t len) argument
287 Py_MEMCPY(result, cptr, len);
290 int c = Py_CHARMASK(result[i]);
292 result[i] = Py_TOUPPER(c);
304 _Py_bytes_title(char *result, char *s, Py_ssize_t len) argument
327 *result
339 _Py_bytes_capitalize(char *result, char *s, Py_ssize_t len) argument
375 _Py_bytes_swapcase(char *result, char *s, Py_ssize_t len) argument
[all...]
H A Denumobject.c9 PyObject* en_result; /* result tuple */
84 PyObject *result = en->en_result; local
105 if (result->ob_refcnt == 1) {
106 Py_INCREF(result);
107 Py_DECREF(PyTuple_GET_ITEM(result, 0));
108 Py_DECREF(PyTuple_GET_ITEM(result, 1));
110 result = PyTuple_New(2);
111 if (result == NULL) {
117 PyTuple_SET_ITEM(result, 0, next_index);
118 PyTuple_SET_ITEM(result,
127 PyObject *result = en->en_result; local
[all...]
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
H A Dgetservent.c71 char *result; local
97 &result, &resultlen))) {
100 strlen(buf), &result, &resultlen))
107 snprintf(line, BUFSIZ, "%.*s\n", resultlen, result);
109 free(result);
117 char *result; local
133 &result, &resultlen)) {
138 snprintf(line, BUFSIZ, "%.*s\n", resultlen, result);
140 free(result);
150 char *lastkey, *result; local
[all...]
H A Dgethostbynis.c61 char *result; local
80 if (yp_match(domain, map, name, strlen(name), &result, &resultlen))
84 bcopy((char *)result, (char *)&ypbuf, resultlen);
86 free(result);
87 result = (char *)&ypbuf;
89 if ((cp = index(result, '\n')))
92 cp = strpbrk(result, " \t");
96 *((u_long *)h.h_addr) = inet_addr(result);
H A Dgetnetbynis.c60 static char *result; local
79 if (yp_match(domain, map, name, strlen(name), &result, &resultlen))
82 bcopy((char *)result, (char *)&ypbuf, resultlen);
84 free(result);
85 result = (char *)&ypbuf;
87 if ((cp = index(result, '\n')))
90 cp = strpbrk(result, " \t");
92 h.n_name = result;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Dresource.c66 PyObject *result; local
81 result = PyStructSequence_New(&StructRUsageType);
82 if (!result)
85 PyStructSequence_SET_ITEM(result, 0,
87 PyStructSequence_SET_ITEM(result, 1,
89 PyStructSequence_SET_ITEM(result, 2, PyInt_FromLong(ru.ru_maxrss));
90 PyStructSequence_SET_ITEM(result, 3, PyInt_FromLong(ru.ru_ixrss));
91 PyStructSequence_SET_ITEM(result, 4, PyInt_FromLong(ru.ru_idrss));
92 PyStructSequence_SET_ITEM(result, 5, PyInt_FromLong(ru.ru_isrss));
93 PyStructSequence_SET_ITEM(result,
[all...]
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/
H A Dia64_cpu.h208 u_int64_t result; local
209 __asm __volatile("thash %0=%1" : "=r" (result) : "r" (va));
210 return result;
219 u_int64_t result; local
220 __asm __volatile("ttag %0=%1" : "=r" (result) : "r" (va));
221 return result;
230 u_int64_t result; local
231 __asm __volatile("tpa %0=%1" : "=r" (result) : "r" (va));
232 return result;
277 u_int64_t result; local
406 u_int64_t result; local
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
H A Dutil.py10 result = repr(obj)
12 result = object.__repr__(obj)
13 if not short or len(result) < _MAX_LENGTH:
14 return result
15 return result[:_MAX_LENGTH] + ' [truncated]...'
106 result = []
121 result.append(diff)
132 result.append(diff)
133 return result
146 result
[all...]
H A Drunner.py6 from . import result namespace
28 class TextTestResult(result.TestResult):
29 """A test result class that can print formatted text results to a stream.
142 result = self._makeResult()
143 registerResult(result)
144 result.failfast = self.failfast
145 result.buffer = self.buffer
147 startTestRun = getattr(result, 'startTestRun', None)
151 test(result)
153 stopTestRun = getattr(result, 'stopTestRu
[all...]
/device/linaro/bootloader/arm-trusted-firmware/drivers/io/
H A Dio_block.c144 int result = IO_FAIL; local
162 result = IO_SUCCESS;
165 result = IO_RESOURCES_EXHAUSTED;
168 return result;
174 int result = IO_FAIL; local
182 result = IO_SUCCESS;
184 result = IO_FAIL;
187 return result;
196 int result; local
208 result
227 int result; local
285 int result = IO_FAIL; local
[all...]
H A Dio_memmap.c123 int result = IO_FAIL; local
139 result = IO_SUCCESS;
142 result = IO_RESOURCES_EXHAUSTED;
145 return result;
152 int result = IO_FAIL; local
160 result = IO_SUCCESS;
162 result = IO_FAIL;
165 return result;
233 int result = IO_FAIL; local
236 result
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Denumobject.c9 PyObject* en_result; /* result tuple */
84 PyObject *result = en->en_result; local
105 if (result->ob_refcnt == 1) {
106 Py_INCREF(result);
107 Py_DECREF(PyTuple_GET_ITEM(result, 0));
108 Py_DECREF(PyTuple_GET_ITEM(result, 1));
110 result = PyTuple_New(2);
111 if (result == NULL) {
117 PyTuple_SET_ITEM(result, 0, next_index);
118 PyTuple_SET_ITEM(result,
127 PyObject *result = en->en_result; local
[all...]
/device/google/contexthub/util/nanotool/
H A Dcontexthub.cpp204 auto result = WriteEvent(req); local
205 if (result == TransportResult::Success) {
231 auto result = WriteEvent(req); local
232 if (result == TransportResult::Success) {
281 TransportResult result = WriteEvent(request);
282 if (result != TransportResult::Success) {
284 static_cast<int>(result));
370 auto result = WriteEvent(req);
371 if (result != TransportResult::Success) {
385 result
[all...]
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
H A Dpartitions.c157 int result = IO_FAIL; local
165 result = plat_get_image_source(NORMAL_EMMC_NAME, &emmc_dev_handle,
167 if (result) {
169 return result;
171 result = io_open(emmc_dev_handle, spec, &img_handle);
172 if (result != IO_SUCCESS) {
174 return result;
176 result = io_seek(img_handle, IO_SEEK_SET, 0);
177 if (result)
179 result
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
H A Didna.py131 result = label1.decode("punycode")
134 label2 = ToASCII(result)
136 # Step 7: Compare the result of step 6 with the one of step 3
141 # Step 8: return the result of step 5
142 return result
156 result = []
164 result.append(ToASCII(label))
166 return ".".join(result)+trailing_dot, len(input)
191 result = []
193 result
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
H A Didna.py131 result = label1.decode("punycode")
134 label2 = ToASCII(result)
136 # Step 7: Compare the result of step 6 with the one of step 3
141 # Step 8: return the result of step 5
142 return result
156 result = []
164 result.append(ToASCII(label))
166 return ".".join(result)+trailing_dot, len(input)
191 result = []
193 result
[all...]
/device/linaro/bootloader/arm-trusted-firmware/lib/semihosting/
H A Dsemihosting.c85 long result; local
90 result = semihosting_call(SEMIHOSTING_SYS_SEEK,
93 if (result)
94 result = semihosting_call(SEMIHOSTING_SYS_ERRNO, 0);
96 return result;
102 long result = -EINVAL; local
105 return result;
111 result = semihosting_call(SEMIHOSTING_SYS_READ,
114 if (result == *length) {
116 } else if (result < *lengt
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/
H A Dtest_encode_basestring_ascii.py28 result = self.json.encoder.encode_basestring_ascii(input_string)
29 self.assertEqual(result, expect,
31 result, expect, fname, input_string))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/
H A Dtest_encode_basestring_ascii.py28 result = self.json.encoder.encode_basestring_ascii(input_string)
29 self.assertEqual(result, expect,
31 result, expect, fname, input_string))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_strftime.py119 result = time.strftime(e[0], now)
122 if re.match(escapestr(e[1], self.ampm), result):
124 if not result or result[0] == '%':
129 % (e[0], e[2], e[1], result))
160 result = time.strftime(e[0], now)
161 except ValueError, result:
163 (e[0], e[2], str(result))
168 if re.match(escapestr(e[1], self.ampm), result):
171 elif not result o
[all...]
H A Dreperf.py15 result = func(*args, **kw)
16 return result
H A Dtest_textwrap.py22 result = []
24 result.append(" %d: %r" % (i, textin[i]))
25 result = '\n'.join(result)
27 result = " %s\n" % repr(textin)
28 return result
31 def check(self, result, expect):
32 self.assertEqual(result, expect,
34 self.show(expect), self.show(result)))
37 result
[all...]
H A Dtest_urlparse.py13 # a string with the query and a dictionary with the expected result.
32 result = urlparse.urlparse(url)
33 self.assertEqual(result, parsed)
34 t = (result.scheme, result.netloc, result.path,
35 result.params, result.query, result.fragment)
38 result2 = urlparse.urlunparse(result)
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
H A Danalyze_dxp.py81 The result is a list of tuples of the form
89 result = [(op, opcode.opname[op], count)
92 result.sort(key=operator.itemgetter(2), reverse=True)
93 return result
99 The result is a list of tuples of the form
107 result = [((op1, op2), (opcode.opname[op1], opcode.opname[op2]), count)
112 result.sort(key=operator.itemgetter(2), reverse=True)
113 return result
120 The result is a series of lines of the form:
/device/google/marlin/telephony/ims/src/org/codeaurora/ims/
H A DQtiImsExtListenerBaseImpl.java61 public void receiveCallDeflectResponse(int result) { argument
65 public void receiveCallTransferResponse(int result) { argument

Completed in 434 milliseconds

1234567891011>>