Home
last modified time | relevance | path

Searched refs:LineBytes (Results 1 – 25 of 50) sorted by relevance

12

/dports/misc/fq/fq-0.0.2/pkg/interp/
H A Ddump.go57 for i := 0; i < opts.LineBytes; i++ {
60 if i < opts.LineBytes-1 {
228 if lastDisplayBit%(int64(opts.LineBytes)*8) != 0 {
229 lastDisplayBit += (int64(opts.LineBytes) * 8) - lastDisplayBit%(int64(opts.LineBytes)*8) - 1
251 startLine := startByte / int64(opts.LineBytes)
252 startLineByteOffset := startByte % int64(opts.LineBytes)
253 startLineByte := startLine * int64(opts.LineBytes)
254 lastDisplayLine := lastDisplayByte / int64(opts.LineBytes)
288 lineStartByte := startLineByte + i*int64(opts.LineBytes)
293 lastLineStopByte := startLineByte + addrLines*int64(opts.LineBytes) - 1
[all …]
/dports/editors/micro/micro-2.0.10/internal/buffer/
H A Dcursor.go79 bytes := c.buf.LineBytes(c.Y)
104 if c.X == util.CharacterCount(c.buf.LineBytes(c.Y)) {
116 if x == util.CharacterCount(c.buf.LineBytes(c.Y)) {
126 c.X = util.CharacterCount(c.buf.LineBytes(c.Y))
241 bytes := c.buf.LineBytes(proposedY)
293 if c.X < util.CharacterCount(c.buf.LineBytes(c.Y)) {
315 c.X = util.CharacterCount(c.buf.LineBytes(c.Y))
321 if len(c.buf.LineBytes(c.Y)) == 0 {
400 if c.X == util.CharacterCount(c.buf.LineBytes(c.Y)) {
408 if c.X == util.CharacterCount(c.buf.LineBytes(c.Y)) {
[all …]
H A Dloc.go69 loc += util.CharacterCount(buf.LineBytes(i)) + 1
71 loc += util.CharacterCount(buf.LineBytes(a.Y)) - a.X + b.X + 1
81 if l.X < util.CharacterCount(buf.LineBytes(l.Y)) {
98 res = Loc{util.CharacterCount(buf.LineBytes(l.Y - 1)), l.Y - 1}
H A Dautocomplete.go69 l := b.LineBytes(c.Y)
88 l := b.LineBytes(c.Y)
168 l := b.LineBytes(i)
181 l := b.LineBytes(i)
H A Dsearch.go10 lastcn := util.CharacterCount(b.LineBytes(b.LinesNum() - 1))
25 l := b.LineBytes(i)
58 lastcn := util.CharacterCount(b.LineBytes(b.LinesNum() - 1))
73 l := b.LineBytes(i)
H A Dbuffer.go552 line := b.LineBytes(loc.Y)
571 if len(b.LineBytes(loc.Y)) == 0 || !util.IsWordChar(b.RuneAt(loc)) {
582 lineLen := util.CharacterCount(b.LineBytes(loc.Y))
611 nb += len(b.LineBytes(i))
928 l := string(b.LineBytes(start - 1))
953 l := string(b.LineBytes(end))
979 curLine := []rune(string(b.LineBytes(start.Y)))
991 l := []rune(string(b.LineBytes(y)))
1052 l := b.LineBytes(i)
1099 return string(b.LineBytes(i))
H A Dbuffer_test.go43 assert.Equal([]byte(s), b.LineBytes(i))
142 b.LineBytes(j)
/dports/editors/micro/micro-2.0.10/internal/display/
H A Dsoftwrap.go62 line := w.Buf.LineBytes(loc.Y)
133 line := w.Buf.LineBytes(svloc.Line)
205 eol := buffer.Loc{X: util.CharacterCount(w.Buf.LineBytes(line)), Y: line}
310 visualx := util.StringWidth(w.Buf.LineBytes(loc.Y), loc.X, tabsize)
322 x := util.GetCharPosInLine(w.Buf.LineBytes(vloc.Line), vloc.VisualX, tabsize)
H A Dinfowindow.go70 l := i.Buffer.LineBytes(0)
100 line := b.LineBytes(0)
/dports/editors/micro/micro-2.0.10/pkg/highlight/
H A Dhighlighter.go74 LineBytes(n int) []byte methodSpec
323 line := input.LineBytes(i)
347 line := input.LineBytes(i)
372 line := input.LineBytes(i)
396 line := input.LineBytes(lineN)
/dports/graphics/grx/grx249/src/fdrivers/
H A Dsvga4.c45 static size_t LineBytes = 0; variable
69 bytes = LineBytes<<2; in alloc_blit_buffer()
72 LineBuff[1] = base+LineBytes; in alloc_blit_buffer()
73 LineBuff[2] = base+LineBytes*2; in alloc_blit_buffer()
74 LineBuff[3] = base+LineBytes*3; in alloc_blit_buffer()
90 LineBytes = sizeof(char) * (((mp->width+7) >> 3)+2); in init()
H A Degavga1.c55 static size_t LineBytes = 0; variable
60 LineBuff = _GrTempBufferAlloc(LineBytes); in alloc_blit_buffer()
78 LineBytes = sizeof(char) * (((mp->width+7) >> 3)+2); in init()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/
H A DVfrFormPkg.cpp322 IN UINT32 LineBytes, in _WRITE_PKG_LINE() argument
335 if ((Index % LineBytes) == 0) { in _WRITE_PKG_LINE()
345 IN UINT32 LineBytes, in _WRITE_PKG_END() argument
358 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()
364 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()
/dports/editors/micro/micro-2.0.10/internal/action/
H A Dactions.go190 line := h.Buf.LineBytes(h.Cursor.Y)
216 line := h.Buf.LineBytes(h.Cursor.Y)
422 if len(h.Buf.LineBytes(line)) == 0 && line != h.Cursor.Y {
440 if len(h.Buf.LineBytes(line)) == 0 && line != h.Cursor.Y {
511 ws := util.GetLeadingWhitespace(h.Buf.LineBytes(h.Cursor.Y))
527 line := h.Buf.LineBytes(h.Cursor.Y - 1)
551 lineStart := util.SliceStart(h.Buf.LineBytes(h.Cursor.Y), h.Cursor.X)
620 if len(h.Buf.LineBytes(y)) > 0 {
659 if len(util.GetLeadingWhitespace(h.Buf.LineBytes(h.Cursor.Y))) == 0 {
684 if len(util.GetLeadingWhitespace(h.Buf.LineBytes(y))) == 0 {
[all …]
H A Dinfopane.go109 resp := string(h.LineBytes(0))
167 l := b.LineBytes(0)
H A Dinfocomplete.go117 l := b.LineBytes(c.Y)
233 l := b.LineBytes(c.Y)
/dports/emulators/mess/mame-mame0226/src/devices/cpu/i386/
H A Dcache.h62 static const int LineBytes = 1 << LineBits; variable
70 u8 data[LineBytes];
/dports/emulators/mame/mame-mame0226/src/devices/cpu/i386/
H A Dcache.h62 static const int LineBytes = 1 << LineBits; variable
70 u8 data[LineBytes];
/dports/editors/micro/micro-2.0.10/internal/info/
H A Dinfobuffer.go145 resp := string(i.LineBytes(0))
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/BaseTools/Source/C/VfrCompile/
H A DVfrFormPkg.cpp370 IN UINT32 LineBytes, in _WRITE_PKG_LINE() argument
383 if ((Index % LineBytes) == 0) { in _WRITE_PKG_LINE()
393 IN UINT32 LineBytes, in _WRITE_PKG_END() argument
406 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()
412 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/BaseTools/Source/C/VfrCompile/
H A DVfrFormPkg.cpp371 IN UINT32 LineBytes, in _WRITE_PKG_LINE() argument
384 if ((Index % LineBytes) == 0) { in _WRITE_PKG_LINE()
394 IN UINT32 LineBytes, in _WRITE_PKG_END() argument
407 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()
413 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/BaseTools/Source/C/VfrCompile/
H A DVfrFormPkg.cpp371 IN UINT32 LineBytes, in _WRITE_PKG_LINE() argument
384 if ((Index % LineBytes) == 0) { in _WRITE_PKG_LINE()
394 IN UINT32 LineBytes, in _WRITE_PKG_END() argument
407 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()
413 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/BaseTools/Source/C/VfrCompile/
H A DVfrFormPkg.cpp371 IN UINT32 LineBytes, in _WRITE_PKG_LINE() argument
384 if ((Index % LineBytes) == 0) { in _WRITE_PKG_LINE()
394 IN UINT32 LineBytes, in _WRITE_PKG_END() argument
407 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()
413 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/BaseTools/Source/C/VfrCompile/
H A DVfrFormPkg.cpp371 IN UINT32 LineBytes, in _WRITE_PKG_LINE() argument
384 if ((Index % LineBytes) == 0) { in _WRITE_PKG_LINE()
394 IN UINT32 LineBytes, in _WRITE_PKG_END() argument
407 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()
413 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/BaseTools/Source/C/VfrCompile/
H A DVfrFormPkg.cpp371 IN UINT32 LineBytes, in _WRITE_PKG_LINE() argument
384 if ((Index % LineBytes) == 0) { in _WRITE_PKG_LINE()
394 IN UINT32 LineBytes, in _WRITE_PKG_END() argument
407 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()
413 if ((Index % LineBytes) == 0) { in _WRITE_PKG_END()

12