| /openbmc/openbmc/poky/bitbake/lib/hashserv/ |
| H A D | sqlite.py | 73 def _make_table(cursor, name, definition): argument 74 cursor.execute( 109 def _get_sqlite_version(cursor): argument 110 cursor.execute("SELECT sqlite_version()") 113 for v in cursor.fetchone()[0].split("."): 139 with closing(db.cursor()) as cursor: 140 _make_table(cursor, "unihashes_v3", UNIHASH_TABLE_DEFINITION) 141 _make_table(cursor, "outhashes_v2", OUTHASH_TABLE_DEFINITION) 142 _make_table(cursor, "users", USERS_TABLE_DEFINITION) 143 _make_table(cursor, "config", CONFIG_TABLE_DEFINITION) [all …]
|
| /openbmc/libpldm/src/msgbuf/ |
| H A D | core.h | 70 uint8_t *cursor; member 75 const uint8_t *cursor; member 81 void pldm__msgbuf_cleanup(const void *cursor LIBPLDM_CC_UNUSED, in pldm__msgbuf_cleanup() 84 assert(cursor == NULL && remaining == INTMAX_MIN); in pldm__msgbuf_cleanup() 92 pldm__msgbuf_cleanup((const void *)ctx->cursor, ctx->remaining); in pldm__msgbuf_rw_cleanup() 100 pldm__msgbuf_cleanup((const void *)ctx->cursor, ctx->remaining); in pldm__msgbuf_ro_cleanup() 133 pldm__msgbuf_init_errno(const uint8_t **cursor, intmax_t *remaining, in pldm__msgbuf_init_errno() argument 136 *cursor = NULL; in pldm__msgbuf_init_errno() 152 *cursor = (const uint8_t *)buf; in pldm__msgbuf_init_errno() 177 return pldm__msgbuf_init_errno((const uint8_t **)&ctx->cursor, in pldm_msgbuf_rw_init_errno() [all …]
|
| /openbmc/openbmc/poky/bitbake/lib/prserv/ |
| H A D | db.py | 37 with closing(self.conn.cursor()) as cursor: 38 cursor.execute("CREATE TABLE IF NOT EXISTS %s \ 72 with closing(self.conn.cursor()) as cursor: 73 data=cursor.execute("SELECT value FROM %s WHERE version=? AND pkgarch=?;" % self.table, 84 with closing(self.conn.cursor()) as cursor: 85 …data=cursor.execute("SELECT value FROM %s WHERE version=? AND pkgarch=? and checksum=? and value=?… 97 with closing(self.conn.cursor()) as cursor: 98 …data=cursor.execute("SELECT value FROM %s WHERE version=? AND pkgarch=? and value=?;" % self.table, 110 with closing(self.conn.cursor()) as cursor: 111 … data = cursor.execute("SELECT value FROM %s where version=? AND pkgarch=?;" % (self.table), [all …]
|
| /openbmc/libpldm/tests/ |
| H A D | msgbuf.hpp | 120 const void** cursor) in pldm_msgbuf_span_required() argument 122 return pldm_msgbuf_ro_span_required(ctx, required, cursor); in pldm_msgbuf_span_required() 127 void** cursor) in pldm_msgbuf_span_required() argument 129 return pldm_msgbuf_rw_span_required(ctx, required, cursor); in pldm_msgbuf_span_required() 133 pldm_msgbuf_span_string_ascii(struct pldm_msgbuf_rw* ctx, void** cursor, in pldm_msgbuf_span_string_ascii() argument 136 return pldm_msgbuf_rw_span_string_ascii(ctx, cursor, length); in pldm_msgbuf_span_string_ascii() 141 const void** cursor, size_t* length) in pldm_msgbuf_span_string_ascii() argument 143 return pldm_msgbuf_ro_span_string_ascii(ctx, cursor, length); in pldm_msgbuf_span_string_ascii() 147 const void** cursor, in pldm_msgbuf_span_string_utf16() argument 150 return pldm_msgbuf_ro_span_string_utf16(ctx, cursor, length); in pldm_msgbuf_span_string_utf16() [all …]
|
| /openbmc/libpldm/src/ |
| H A D | utils.c | 142 char *cursor; in ver2str() local 156 cursor = buffer; in ver2str() 160 INSERT_INT(BCD_H(version->major), cursor, remaining) in ver2str() 161 INSERT_INT(BCD_L(version->major), cursor, remaining); in ver2str() 162 INSERT_CHAR('.', cursor, remaining); in ver2str() 165 INSERT_INT(BCD_H(version->minor), cursor, remaining); in ver2str() 166 INSERT_INT(BCD_L(version->minor), cursor, remaining); in ver2str() 169 INSERT_CHAR('.', cursor, remaining); in ver2str() 171 INSERT_INT(BCD_H(version->update), cursor, remaining); in ver2str() 172 INSERT_INT(BCD_L(version->update), cursor, remaining); in ver2str() [all …]
|
| H A D | msgbuf.h | 66 #define pldm_msgbuf_span_required(ctx, required, cursor) \ argument 70 ctx, required, cursor) 72 #define pldm_msgbuf_span_until(ctx, trailer, cursor, length) \ argument 76 ctx, trailer, cursor, length) 78 #define pldm_msgbuf_span_string_utf16(ctx, cursor, len) \ argument 82 ctx, cursor, len) 84 #define pldm_msgbuf_span_remaining(ctx, cursor, len) \ argument 88 ctx, cursor, len) 90 #define pldm_msgbuf_span_string_ascii(ctx, cursor, len) \ argument 94 ctx, cursor, len)
|
| /openbmc/qemu/hw/display/ |
| H A D | qxl-render.c | 254 static QEMUCursor *qxl_cursor(PCIQXLDevice *qxl, QXLCursor *cursor, in qxl_cursor() argument 261 c = cursor_alloc(cursor->header.width, cursor->header.height); in qxl_cursor() 265 cursor->header.width, cursor->header.height); in qxl_cursor() 269 c->hot_x = cursor->header.hot_spot_x; in qxl_cursor() 270 c->hot_y = cursor->header.hot_spot_y; in qxl_cursor() 271 switch (cursor->header.type) { in qxl_cursor() 275 if (size != cursor->data_size) { in qxl_cursor() 277 __func__, c->width, c->height, cursor->data_size); in qxl_cursor() 280 and_mask = cursor->chunk.data; in qxl_cursor() 289 qxl_unpack_chunks(c->data, size, qxl, &cursor->chunk, group_id); in qxl_cursor() [all …]
|
| H A D | qxl-logger.c | 206 QXLCursor *cursor; in qxl_log_cmd_cursor() local 217 cursor = qxl_phys2virt(qxl, cmd->u.set.shape, group_id, in qxl_log_cmd_cursor() 219 if (!cursor) { in qxl_log_cmd_cursor() 224 qxl_name(spice_cursor_type, cursor->header.type), in qxl_log_cmd_cursor() 225 cursor->header.width, cursor->header.height, in qxl_log_cmd_cursor() 226 cursor->header.hot_spot_x, cursor->header.hot_spot_y, in qxl_log_cmd_cursor() 227 cursor->header.unique, cursor->data_size); in qxl_log_cmd_cursor()
|
| H A D | vmware_vga.c | 58 } cursor; member 621 QEMU_UNINITIALIZED struct vmsvga_cursor_definition_s cursor; in vmsvga_fifo_run() local 689 cursor.id = vmsvga_fifo_read(s); in vmsvga_fifo_run() 690 cursor.hot_x = vmsvga_fifo_read(s); in vmsvga_fifo_run() 691 cursor.hot_y = vmsvga_fifo_read(s); in vmsvga_fifo_run() 692 cursor.width = x = vmsvga_fifo_read(s); in vmsvga_fifo_run() 693 cursor.height = y = vmsvga_fifo_read(s); in vmsvga_fifo_run() 695 cursor.bpp = vmsvga_fifo_read(s); in vmsvga_fifo_run() 697 args = SVGA_BITMAP_SIZE(x, y) + SVGA_PIXMAP_SIZE(x, y, cursor.bpp); in vmsvga_fifo_run() 698 if (cursor.width > 256 in vmsvga_fifo_run() [all …]
|
| H A D | virtio-gpu.c | 78 static void update_cursor(VirtIOGPU *g, struct virtio_gpu_update_cursor *cursor) in update_cursor() argument 82 bool move = cursor->hdr.type == VIRTIO_GPU_CMD_MOVE_CURSOR; in update_cursor() 84 if (cursor->pos.scanout_id >= g->parent_obj.conf.max_outputs) { in update_cursor() 87 s = &g->parent_obj.scanout[cursor->pos.scanout_id]; in update_cursor() 89 trace_virtio_gpu_update_cursor(cursor->pos.scanout_id, in update_cursor() 90 cursor->pos.x, in update_cursor() 91 cursor->pos.y, in update_cursor() 93 cursor->resource_id); in update_cursor() 100 s->current_cursor->hot_x = cursor->hot_x; in update_cursor() 101 s->current_cursor->hot_y = cursor->hot_y; in update_cursor() [all …]
|
| /openbmc/libpldm/src/transport/ |
| H A D | test.c | 18 size_t cursor; member 50 if (test->cursor >= test->count) { in pldm_transport_test_init_pollfd() 54 desc = &test->seq[test->cursor]; in pldm_transport_test_init_pollfd() 63 test->cursor++; in pldm_transport_test_init_pollfd() 109 if (test->cursor >= test->count) { in pldm_transport_test_recv() 113 desc = &test->seq[test->cursor]; in pldm_transport_test_recv() 129 test->cursor++; in pldm_transport_test_recv() 142 if (test->cursor > test->count) { in pldm_transport_test_send() 146 desc = &test->seq[test->cursor]; in pldm_transport_test_send() 164 test->cursor++; in pldm_transport_test_send() [all …]
|
| /openbmc/entity-manager/src/fru_device/ |
| H A D | fru_reader.cpp | 12 size_t cursor = start; in read() local 15 if (eof.has_value() && cursor >= eof.value()) in read() 22 size_t blk = cursor / cacheBlockSize; in read() 23 size_t blkOffset = cursor % cacheBlockSize; in read() 72 cursor += toCopy; in read()
|
| /openbmc/u-boot/drivers/misc/ |
| H A D | cbmem_console.c | 24 int cursor; in cbmemc_putc() local 26 cursor = cbmem_console_p->buffer_cursor++; in cbmemc_putc() 27 if (cursor < cbmem_console_p->buffer_size) in cbmemc_putc() 28 cbmem_console_p->buffer_body[cursor] = data; in cbmemc_putc()
|
| /openbmc/qemu/hw/vfio/ |
| H A D | display.c | 292 VFIODMABuf *primary, *cursor; in vfio_display_dmabuf_update() local 314 cursor = vfio_display_get_dmabuf(vdev, DRM_PLANE_TYPE_CURSOR); in vfio_display_dmabuf_update() 315 if (dpy->dmabuf.cursor != cursor) { in vfio_display_dmabuf_update() 316 dpy->dmabuf.cursor = cursor; in vfio_display_dmabuf_update() 321 if (cursor && (new_cursor || cursor->hot_updates)) { in vfio_display_dmabuf_update() 322 bool have_hot = (cursor->hot_x != 0xffffffff && in vfio_display_dmabuf_update() 323 cursor->hot_y != 0xffffffff); in vfio_display_dmabuf_update() 324 dpy_gl_cursor_dmabuf(dpy->con, cursor->buf, have_hot, in vfio_display_dmabuf_update() 325 cursor->hot_x, cursor->hot_y); in vfio_display_dmabuf_update() 326 cursor->hot_updates = 0; in vfio_display_dmabuf_update() [all …]
|
| /openbmc/qemu/scripts/ |
| H A D | minikconf.py | 358 self.cursor = 0 582 self.tok = self.src[self.cursor] 583 self.pos = self.cursor 584 self.cursor += 1 592 if not self.src.startswith(rest, self.cursor): 595 if self.src[self.cursor + length].isalnum() or self.src[self.cursor + length] == '_': 597 self.cursor += length 602 self.cursor = self.src.find('\n', self.cursor) 611 self.cursor += 1 614 self.cursor += 1 [all …]
|
| /openbmc/openbmc/poky/meta/recipes-devtools/clang/clang/ |
| H A D | 0021-libunwind-Added-unw_backtrace-method.patch | 36 + unw_cursor_t cursor; 37 + if (unw_getcontext(&context) || unw_init_local(&cursor, &context)) { 43 + while (unw_step(&cursor) > 0) { 44 + if (current >= size || unw_get_reg(&cursor, UNW_REG_IP, &ip)) {
|
| H A D | 0036-libunwind-Use-gcs-instead-of-gcs-target-attribute.patch | 20 cargo:warning= 191 | unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exc… 47 unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *exception_object) { 48 @@ -329,7 +329,7 @@ unwind_phase2(unw_context_t *uc, unw_cursor_t *cursor, _Unwind_Exception *except 56 unwind_phase2_forced(unw_context_t *uc, unw_cursor_t *cursor,
|
| /openbmc/qemu/docs/interop/ |
| H A D | vhost-user-gpu.rst | 21 events for the display updates. It will also update the cursor shape 68 :scanout-id: ``u32``, the scanout where the cursor is located 70 :x/y: ``u32``, the cursor position 76 | pos | hot_x | hot_y | cursor | 79 :pos: a ``VhostUserGpuCursorPos``, the cursor location 81 :hot_x/hot_y: ``u32``, the cursor hot location 83 :cursor: ``[u32; 64 * 64]``, 64x64 RGBA cursor data (PIXMAN_a8r8g8b8 format) 218 Set/show the cursor position. 225 Set/hide the cursor. 232 Update the cursor shape and location.
|
| /openbmc/phosphor-webui/app/configuration/styles/ |
| H A D | firmware.scss | 22 cursor: default; 26 cursor: pointer; 32 cursor: default; 49 cursor: pointer;
|
| /openbmc/bmcweb/redfish-core/include/utils/ |
| H A D | journal_utils.hpp | 84 char* cursor = nullptr; in fillBMCJournalLogEntryJson() local 85 int ret = sd_journal_get_cursor(journal, &cursor); in fillBMCJournalLogEntryJson() 90 std::unique_ptr<char*> cursorptr = std::make_unique<char*>(cursor); in fillBMCJournalLogEntryJson() 91 std::string bmcJournalLogEntryID(cursor); in fillBMCJournalLogEntryJson()
|
| /openbmc/ipmitool/lib/ |
| H A D | ipmi_sel.c | 2344 char *cursor = NULL; in ipmi_sel_interpret() local 2381 cursor = buffer; in ipmi_sel_interpret() 2385 evt.record_id = strtol((const char *)cursor, (char **)NULL, 16); in ipmi_sel_interpret() 2397 cursor = index((const char *)cursor, ';'); in ipmi_sel_interpret() 2398 cursor++; in ipmi_sel_interpret() 2404 cursor = index((const char *)cursor, ';'); in ipmi_sel_interpret() 2405 cursor++; in ipmi_sel_interpret() 2408 cursor = index((const char *)cursor, '('); in ipmi_sel_interpret() 2409 cursor++; in ipmi_sel_interpret() 2413 strtol((const char *)cursor, (char **)NULL, 16); in ipmi_sel_interpret() [all …]
|
| /openbmc/openbmc/poky/meta/recipes-graphics/xorg-app/ |
| H A D | xeyes_1.3.0.bb | 3 SUMMARY = "X11 eyes that follow the mouse cursor demo" 5 follow the location of the mouse cursor around the screen."
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/xorg-font/ |
| H A D | font-cursor-misc_1.0.3.bb | 3 SUMMARY = "X.org cursor fonts" 4 HOMEPAGE = "http://cgit.freedesktop.org/xorg/font/cursor-misc/"
|
| /openbmc/qemu/scripts/qapi/ |
| H A D | parser.py | 105 self.cursor = 0 295 self.tok = self.src[self.cursor] 296 self.pos = self.cursor 297 self.cursor += 1 301 if self.src[self.cursor] == '#': 304 self.cursor = self.src.find('\n', self.cursor) 306 self.val = self.src[self.pos:self.cursor] 315 ch = self.src[self.cursor] 316 self.cursor += 1 338 self.cursor += 3 [all …]
|
| /openbmc/qemu/contrib/vhost-user-gpu/ |
| H A D | vhost-user-gpu.c | 964 vg_process_cursor_cmd(VuGpu *g, struct virtio_gpu_update_cursor *cursor) in vg_process_cursor_cmd() argument 966 switch (cursor->hdr.type) { in vg_process_cursor_cmd() 969 .request = cursor->resource_id ? in vg_process_cursor_cmd() 973 .scanout_id = cursor->pos.scanout_id, in vg_process_cursor_cmd() 974 .x = cursor->pos.x, in vg_process_cursor_cmd() 975 .y = cursor->pos.y, in vg_process_cursor_cmd() 988 .scanout_id = cursor->pos.scanout_id, in vg_process_cursor_cmd() 989 .x = cursor->pos.x, in vg_process_cursor_cmd() 990 .y = cursor->pos.y, in vg_process_cursor_cmd() 992 .hot_x = cursor->hot_x, in vg_process_cursor_cmd() [all …]
|