| /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/libpldm/tests/ |
| H A D | msgbuf.hpp | 15 * - pldm_msgbuf_ro: read-only buffer with a `const` cursor 16 * - pldm_msgbuf_rw: read-write buffer with a non-const cursor 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() [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/src/ |
| H A D | msgbuf.h | 21 * - pldm_msgbuf_ro: read-only buffer with a `const` cursor 22 * - pldm_msgbuf_rw: read-write buffer with a non-const cursor 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) [all …]
|
| 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 …]
|
| /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() 264 qxl_set_guest_bug(qxl, "%s: cursor %ux%u alloc error", __func__, 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() 273 /* Assume that the full cursor is available in a single chunk. */ in qxl_cursor() 275 if (size != cursor->data_size) { in qxl_cursor() 276 fprintf(stderr, "%s: bad monochrome cursor %ux%u with size %u\n", in qxl_cursor() [all …]
|
| H A D | vmware_vga.c | 58 } cursor; member 156 SVGA_REG_CURSOR_ID = 24, /* ID of cursor */ 157 SVGA_REG_CURSOR_X = 25, /* Set cursor X position */ 158 SVGA_REG_CURSOR_Y = 26, /* Set cursor Y position */ 159 SVGA_REG_CURSOR_ON = 27, /* Turn cursor on/off */ 288 /* Legal values for the SVGA_REG_CURSOR_ON register in cursor bypass mode */ 551 fprintf(stderr, "%s: unhandled bpp %d, using fallback cursor\n", in vmsvga_cursor_define() 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() [all …]
|
| H A D | qxl-logger.c | 30 [ QXL_CMD_CURSOR ] = "cursor", 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 | g364fb.c | 44 uint16_t cursor[512]; member 146 uint16_t curs = s->cursor[(y - ycursor) * 8 + xdiff / 8]; in g364fb_draw_graphic8() 156 /* get cursor color */ in g364fb_draw_graphic8() 283 memset(s->cursor, 0, sizeof(s->cursor)); in g364fb_reset() 301 /* cursor pattern */ in g364fb_ctrl_read() 303 val = s->cursor[idx]; in g364fb_ctrl_read() 305 /* cursor palette */ in g364fb_ctrl_read() 347 /* invalidate only near the cursor */ in g364_invalidate_cursor_position() 373 /* cursor pattern */ in g364fb_ctrl_write() 375 s->cursor[idx] = val; in g364fb_ctrl_write() [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() 88 /* Don't increment test->cursor as recv needs to consume the current test element */ 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() [all …]
|
| /openbmc/u-boot/include/ |
| H A D | lcd_console.h | 43 * Set the number of the console column where the cursor is. 52 * Set the number of the console row where the cursor is. 59 * lcd_position_cursor() - Position the cursor on the screen 61 * Position the cursor at the given coordinates on the screen. 83 * lcd_putc() - Print to screen a single character at the location of the cursor 90 * lcd_puts() - Print to screen a string at the location of the cursor 97 * lcd_printf() - Print to screen a formatted string at location of the cursor
|
| H A D | video_console.h | 103 * @return number of fractional pixels that the cursor should move, 151 * character and update the cursor position (xcur_frac, ycur) to the 171 * @return number of fractional pixels that the cursor should move, 204 * Outputs a character to the console and advances the cursor. This function 208 * The device always starts with the cursor at position 0,0 (top left). It 218 * vidconsole_position_cursor() - Move the text cursor 221 * @col: New cursor text column 222 * @row: New cursor text row
|
| /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/lib/efi_selftest/ |
| H A D | efi_selftest_textoutput.c | 54 L"Testing cursor column update\n"); in execute() 66 efi_st_error("Cursor column changed by line feed\n"); in execute() 75 efi_st_error("Cursor column not 0 at beginning of line\n"); in execute() 84 efi_st_error("Cursor column not incremented properly\n"); in execute() 93 efi_st_error("Cursor column not decremented properly\n"); in execute() 102 efi_st_error("Cursor column not decremented properly\n"); in execute() 111 efi_st_error("Cursor column decremented past zero\n"); in execute()
|
| /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/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/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/u-boot/include/linux/ |
| H A D | list.h | 353 * @pos: the &struct list_head to use as a loop cursor. 362 * @pos: the &struct list_head to use as a loop cursor. 375 * @pos: the &struct list_head to use as a loop cursor. 384 * @pos: the &struct list_head to use as a loop cursor. 394 * @pos: the &struct list_head to use as a loop cursor. 405 * @pos: the type * to use as a loop cursor. 416 * @pos: the type * to use as a loop cursor. 438 * @pos: the type * to use as a loop cursor. 452 * @pos: the type * to use as a loop cursor. 466 * @pos: the type * to use as a loop cursor. [all …]
|
| /openbmc/obmc-ikvm/ |
| H A D | ikvm_server.hpp | 131 /* @brief Cursor bitmap width */ 133 /* @brief Cursor bitmap height */ 135 /* @brief Cursor bitmap */ 136 static constexpr char cursor[] = member in ikvm::Server 157 /* @brief Cursor bitmap mask */
|
| /openbmc/phosphor-webui/app/configuration/styles/ |
| H A D | firmware.scss | 22 cursor: default; 26 cursor: pointer; 32 cursor: default; 49 cursor: pointer;
|
| /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."
|