/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | parsermodule.c | 305 PyObject *res = 0; in parser_st2tuple() local 331 res = node2tuple(((PyST_Object*)self)->st_node, in parser_st2tuple() 334 return (res); in parser_st2tuple() 357 PyObject *res = 0; in parser_st2list() local 382 res = node2tuple(self->st_node, in parser_st2list() 385 return (res); in parser_st2list() 406 PyObject* res = 0; in parser_compilest() local 426 res = (PyObject *)PyAST_Compile(mod, str, &(self->st_flags), arena); in parser_compilest() 432 return (res); in parser_compilest() 454 PyObject* res = 0; in parser_isexpr() local [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | parsermodule.c | 336 PyObject *res = 0; in parser_st2tuple() local 366 res = node2tuple(((PyST_Object*)self)->st_node, in parser_st2tuple() 369 return (res); in parser_st2tuple() 392 PyObject *res = 0; in parser_st2list() local 421 res = node2tuple(self->st_node, in parser_st2list() 424 return (res); in parser_st2list() 445 PyObject* res = 0; in parser_compilest() local 465 res = (PyObject *)PyAST_Compile(mod, str, &(self->st_flags), arena); in parser_compilest() 471 return (res); in parser_compilest() 493 PyObject* res = 0; in parser_isexpr() local [all …]
|
/device/generic/goldfish/wifi/ipv6proxy/ |
D | interface.cpp | 46 Result res = socket.open(AF_INET, SOCK_DGRAM, IPPROTO_IP); in setAllMulti() local 47 if (!res) { in setAllMulti() 76 Result res = mLinkAddr.resolveEth(mName); in resolveAddresses() local 77 if (!res) { in resolveAddresses() 79 mName.c_str(), res.c_str()); in resolveAddresses() 92 Result res = mIcmpSocket.open(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6); in configureIcmpSocket() local 93 if (!res) { in configureIcmpSocket() 94 loge("Error opening socket: %s\n", res.c_str()); in configureIcmpSocket() 100 res = mIcmpSocket.setMulticastHopLimit(255); in configureIcmpSocket() 101 if (!res) { in configureIcmpSocket() [all …]
|
/device/generic/goldfish/camera/ |
D | PreviewWindow.cpp | 52 status_t res = NO_ERROR; in setPreviewWindow() local 62 res = window->set_usage(window, GRALLOC_USAGE_SW_WRITE_OFTEN); in setPreviewWindow() 63 if (res != NO_ERROR) { in setPreviewWindow() 65 res = -res; // set_usage returns a negative errno. in setPreviewWindow() 67 __FUNCTION__, res, strerror(res)); in setPreviewWindow() 72 return res; in setPreviewWindow() 100 int res; in onNextFrameAvailable() local 115 res = mPreviewWindow->set_buffers_geometry(mPreviewWindow, in onNextFrameAvailable() 119 if (res != NO_ERROR) { in onNextFrameAvailable() 121 __FUNCTION__, -res, strerror(-res)); in onNextFrameAvailable() [all …]
|
D | EmulatedQemuCamera.cpp | 60 status_t res = mQemuCameraDevice.Initialize(device_name); in Initialize() local 61 if (res != NO_ERROR) { in Initialize() 62 return res; in Initialize() 66 res = EmulatedCamera::Initialize(); in Initialize() 67 if (res != NO_ERROR) { in Initialize() 68 return res; in Initialize() 104 for (const auto& res : resolutions) { in Initialize() local 105 int area = res.first * res.second; in Initialize() 108 maxAreaWidth = res.first; in Initialize() 109 maxAreaHeight = res.second; in Initialize() [all …]
|
D | EmulatedQemuCameraDevice.cpp | 49 status_t res = mQemuClient.connectClient(connect_str); in Initialize() local 50 if (res != NO_ERROR) { in Initialize() 51 return res; in Initialize() 55 res = EmulatedCameraDevice::Initialize(); in Initialize() 56 if (res == NO_ERROR) { in Initialize() 64 return res; in Initialize() 87 const status_t res = mQemuClient.queryConnect(); in connectDevice() local 88 if (res == NO_ERROR) { in connectDevice() 97 return res; in connectDevice() 117 const status_t res = mQemuClient.queryDisconnect(); in disconnectDevice() local [all …]
|
/device/generic/goldfish/dhcp/server/ |
D | dhcpserver.cpp | 44 Result res = mSocket.open(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in init() local 45 if (!res) { in init() 46 return res; in init() 48 res = mSocket.enableOption(SOL_IP, IP_PKTINFO); in init() 49 if (!res) { in init() 50 return res; in init() 52 res = mSocket.enableOption(SOL_SOCKET, SO_BROADCAST); in init() 53 if (!res) { in init() 54 return res; in init() 57 res = mSocket.bindIp(INADDR_ANY, PORT_BOOTP_SERVER); in init() [all …]
|
/device/google/cuttlefish_common/guest/hals/camera/ |
D | PreviewWindow.cpp | 49 status_t res = NO_ERROR; in setPreviewWindow() local 61 res = window->set_usage(window, GRALLOC_USAGE_SW_WRITE_OFTEN); in setPreviewWindow() 62 if (res == NO_ERROR) { in setPreviewWindow() 67 res = -res; // set_usage returns a negative errno. in setPreviewWindow() 69 res, strerror(res)); in setPreviewWindow() 74 return res; in setPreviewWindow() 100 int res; in onNextFrameAvailable() local 114 res = mPreviewWindow->set_buffers_geometry( in onNextFrameAvailable() 117 if (res != NO_ERROR) { in onNextFrameAvailable() 118 ALOGE("%s: Error in set_buffers_geometry %d -> %s", __FUNCTION__, -res, in onNextFrameAvailable() [all …]
|
D | EmulatedQemuCameraDevice.cpp | 48 status_t res = mQemuClient.connectClient(connect_str); in Initialize() local 49 if (res != NO_ERROR) { in Initialize() 50 return res; in Initialize() 54 res = EmulatedCameraDevice::Initialize(); in Initialize() 55 if (res == NO_ERROR) { in Initialize() 63 return res; in Initialize() 85 const status_t res = mQemuClient.queryConnect(); in connectDevice() local 86 if (res == NO_ERROR) { in connectDevice() 95 return res; in connectDevice() 114 const status_t res = mQemuClient.queryDisconnect(); in disconnectDevice() local [all …]
|
/device/generic/goldfish/dhcp/client/ |
D | dhcpclient.cpp | 62 Result res = mInterface.init(interfaceName); in init() local 63 if (!res) { in init() 64 return res; in init() 67 res = mRouter.init(); in init() 68 if (!res) { in init() 69 return res; in init() 72 res = mSocket.open(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); in init() 73 if (!res) { in init() 74 return res; in init() 77 res = mSocket.bindRaw(mInterface.getIndex()); in init() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | fnmatch.py | 51 res = translate(pat) 54 _cache[pat] = re.compile(res) 75 res = translate(pat) 78 _cache[pat] = re.compile(res) 88 res = '' 93 res = res + '.*' 95 res = res + '.' 105 res = res + '\\[' 113 res = '%s[%s]' % (res, stuff) 115 res = res + re.escape(c) [all …]
|
/device/generic/goldfish-opengl/system/vulkan_enc/ |
D | Resources.cpp | 33 struct goldfish_##type* res = \ 35 if (!res) { \ 39 res->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; \ 40 res->underlying = (uint64_t)underlying; \ 41 return reinterpret_cast<type>(res); \ 46 struct goldfish_##type* res = \ 48 res->underlying = (uint64_t)underlying; \ 49 return reinterpret_cast<type>(res); \ 77 struct goldfish_##type* res = \ 79 if (!res) { \ [all …]
|
/device/generic/goldfish-opengl/android-emu/android/base/ |
D | Pool.h | 59 void* res = alloc(bytes); in allocArray() local 60 return (T*) res; in allocArray() 65 void* res = alloc(bytes); in strDup() local 66 memset(res, 0x0, bytes); in strDup() 67 memcpy(res, toCopy, bytes); in strDup() 68 return (char*)res; in strDup() 72 char** res = allocArray<char*>(count); in strDupArray() local 75 res[i] = strDup(arrayToCopy[i]); in strDupArray() 78 return res; in strDupArray() 82 void* res = alloc(bytes); in dupArray() local [all …]
|
D | SubAllocator.h | 50 void* res = alloc(bytes); in allocArray() local 51 return (T*) res; in allocArray() 56 void* res = alloc(bytes); in strDup() local 57 memset(res, 0x0, bytes); in strDup() 58 memcpy(res, toCopy, bytes); in strDup() 59 return (char*)res; in strDup() 63 char** res = allocArray<char*>(count); in strDupArray() local 66 res[i] = strDup(arrayToCopy[i]); in strDupArray() 69 return res; in strDupArray() 73 void* res = alloc(bytes); in dupArray() local [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | fnmatch.py | 53 res = translate(pat) 56 _cache[pat] = re_pat = re.compile(res) 79 res = translate(pat) 82 _cache[pat] = re_pat = re.compile(res) 92 res = '' 97 res = res + '.*' 99 res = res + '.' 109 res = res + '\\[' 117 res = '%s[%s]' % (res, stuff) 119 res = res + re.escape(c) [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | AVDVirglRenderer.cpp | 148 Resource const* res = it.second; in dump_global_state() local 153 res->args.handle, res->args.width, res->args.height, res->args.format, in dump_global_state() 154 res->iov ? res->iov[0].iov_base : nullptr, res->iov ? res->iov[0].iov_len : 0, in dump_global_state() 155 res->args.target, res->args.bind, res->args.depth, res->args.array_size, in dump_global_state() 156 res->args.last_level, res->args.nr_samples, res->args.flags); in dump_global_state() 158 for (auto const& it : res->context_map) { in dump_global_state() 173 Resource const* res = it.second; in dump_global_state() local 175 printf(" Resource %u\n", res->args.handle); in dump_global_state() 180 static int sync_linear_to_iovec(Resource* res, uint64_t offset, const virgl_box* box) { in sync_linear_to_iovec() argument 182 switch (res->args.format) { in sync_linear_to_iovec() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
D | iobase.c | 140 PyObject *res; in iobase_closed() local 144 res = PyObject_GetAttr(self, _PyIO_str_closed); in iobase_closed() 145 if (res == NULL) in iobase_closed() 147 closed = PyObject_IsTrue(res); in iobase_closed() 148 Py_DECREF(res); in iobase_closed() 178 PyObject *res; in iobase_close() local 183 res = PyObject_CallMethodObjArgs(self, _PyIO_str_flush, NULL); in iobase_close() 185 if (res == NULL) { in iobase_close() 188 Py_XDECREF(res); in iobase_close() 197 PyObject *res; in _PyIOBase_finalize() local [all …]
|
D | bufferedio.c | 427 PyObject *res; in buffered_closed() local 429 res = PyObject_GetAttr(self->raw, _PyIO_str_closed); in buffered_closed() 430 if (res == NULL) in buffered_closed() 432 closed = PyObject_IsTrue(res); in buffered_closed() 433 Py_DECREF(res); in buffered_closed() 447 PyObject *res = NULL; in buffered_close() local 458 res = Py_None; in buffered_close() 459 Py_INCREF(res); in buffered_close() 464 res = PyObject_CallMethodObjArgs((PyObject *)self, _PyIO_str_flush, NULL); in buffered_close() 467 if (res == NULL) { in buffered_close() [all …]
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | QemuPipeStream.cpp | 111 size_t res = len; in writeFully() local 114 while (res > 0) { in writeFully() 115 ssize_t stat = qemu_pipe_write(m_sock, (const char *)(buf) + (len - res), res); in writeFully() 117 res -= stat; in writeFully() 155 size_t res = len; in readFully() local 156 while (res > 0) { in readFully() 157 ssize_t stat = qemu_pipe_read(m_sock, (char *)(buf) + len - res, res); in readFully() 166 ", res %zu): %s, lethal error, exiting.", buf, len, res, in readFully() 171 res -= stat; in readFully() 204 int res = qemu_pipe_read(m_sock, p, len); in recv() local [all …]
|
/device/generic/goldfish/camera/qemu-pipeline3/ |
D | QemuSensor.cpp | 76 status_t res = run("EmulatedQemuCamera3::QemuSensor", in startUp() local 79 if (res != OK) { in startUp() 80 ALOGE("Unable to start up sensor capture thread: %d", res); in startUp() 85 res = mCameraQemuClient.connectClient(connect_str); in startUp() 86 if (res != NO_ERROR) { in startUp() 87 return res; in startUp() 90 res = mCameraQemuClient.queryConnect(); in startUp() 91 if (res == NO_ERROR) { in startUp() 100 return res; in startUp() 106 status_t res = requestExitAndWait(); in shutDown() local [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
D | iobase.c | 140 PyObject *res; in iobase_closed() local 144 res = PyObject_GetAttr(self, _PyIO_str_closed); in iobase_closed() 145 if (res == NULL) in iobase_closed() 147 closed = PyObject_IsTrue(res); in iobase_closed() 148 Py_DECREF(res); in iobase_closed() 178 PyObject *res; in iobase_close() local 183 res = PyObject_CallMethodObjArgs(self, _PyIO_str_flush, NULL); in iobase_close() 185 if (res == NULL) { in iobase_close() 188 Py_XDECREF(res); in iobase_close() 197 PyObject *res; in _PyIOBase_finalize() local [all …]
|
D | bufferedio.c | 392 Py_ssize_t res; in buffered_sizeof() local 394 res = sizeof(buffered); in buffered_sizeof() 396 res += self->buffer_size; in buffered_sizeof() 397 return PyLong_FromSsize_t(res); in buffered_sizeof() 438 PyObject *res; in buffered_closed() local 440 res = PyObject_GetAttr(self->raw, _PyIO_str_closed); in buffered_closed() 441 if (res == NULL) in buffered_closed() 443 closed = PyObject_IsTrue(res); in buffered_closed() 444 Py_DECREF(res); in buffered_closed() 458 PyObject *res = NULL, *exc = NULL, *val, *tb; in buffered_close() local [all …]
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | SocketStream.cpp | 95 size_t res = size; in writeFully() local 98 while (res > 0) { in writeFully() 99 ssize_t stat = ::send(m_sock, (const char *)buffer + (size - res), res, 0); in writeFully() 107 res -= stat; in writeFully() 119 size_t res = len; in readFully() local 120 while (res > 0) { in readFully() 121 ssize_t stat = ::recv(m_sock, (char *)(buf) + len - res, res, 0); in readFully() 123 res -= stat; in readFully() 156 int res = 0; in recv() local 158 res = ::recv(m_sock, (char *)buf, len, 0); in recv() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/ |
D | LzmaCompress.c | 98 SRes res; in Encode() local 118 res = SZ_ERROR_READ; in Encode() 126 res = SZ_ERROR_MEM; in Encode() 140 res = SZ_ERROR_MEM; in Encode() 158 res = LzmaEncode(outBuffer + LZMA_HEADER_SIZE, &outSizeProcessed, in Encode() 163 if (res != SZ_OK) in Encode() 170 res = SZ_ERROR_WRITE; in Encode() 177 return res; in Encode() 182 SRes res; in Decode() local 201 res = SZ_ERROR_READ; in Decode() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | object.c | 380 PyObject *res; in PyObject_Repr() local 381 res = (*Py_TYPE(v)->tp_repr)(v); in PyObject_Repr() 382 if (res == NULL) in PyObject_Repr() 385 if (PyUnicode_Check(res)) { in PyObject_Repr() 387 str = PyUnicode_AsEncodedString(res, NULL, NULL); in PyObject_Repr() 388 Py_DECREF(res); in PyObject_Repr() 390 res = str; in PyObject_Repr() 395 if (!PyString_Check(res)) { in PyObject_Repr() 398 Py_TYPE(res)->tp_name); in PyObject_Repr() 399 Py_DECREF(res); in PyObject_Repr() [all …]
|