Home
last modified time | relevance | path

Searched refs:vt (Results 1 – 25 of 146) sorted by relevance

123456

/external/libvterm/src/
Dvterm.c38 VTerm *vt = (*funcs->malloc)(sizeof(VTerm), allocdata); in vterm_new_with_allocator() local
40 vt->allocator = funcs; in vterm_new_with_allocator()
41 vt->allocdata = allocdata; in vterm_new_with_allocator()
43 vt->rows = rows; in vterm_new_with_allocator()
44 vt->cols = cols; in vterm_new_with_allocator()
46 vt->parser_state = NORMAL; in vterm_new_with_allocator()
48 vt->strbuffer_len = 64; in vterm_new_with_allocator()
49 vt->strbuffer_cur = 0; in vterm_new_with_allocator()
50 vt->strbuffer = vterm_allocator_malloc(vt, vt->strbuffer_len); in vterm_new_with_allocator()
52 vt->outbuffer_len = 64; in vterm_new_with_allocator()
[all …]
Dparser.c10 static void do_control(VTerm *vt, unsigned char control) in do_control() argument
12 if(vt->parser_callbacks && vt->parser_callbacks->control) in do_control()
13 if((*vt->parser_callbacks->control)(control, vt->cbdata)) in do_control()
19 static void do_string_csi(VTerm *vt, const char *args, size_t arglen, char command) in do_string_csi() argument
99 if(vt->parser_callbacks && vt->parser_callbacks->csi) in do_string_csi()
100 …if((*vt->parser_callbacks->csi)(leaderlen ? leader : NULL, csi_args, argcount, intermedlen ? inter… in do_string_csi()
106 static void append_strbuffer(VTerm *vt, const char *str, size_t len) in append_strbuffer() argument
108 if(len > vt->strbuffer_len - vt->strbuffer_cur) { in append_strbuffer()
109 len = vt->strbuffer_len - vt->strbuffer_cur; in append_strbuffer()
114 strncpy(vt->strbuffer + vt->strbuffer_cur, str, len); in append_strbuffer()
[all …]
Dinput.c7 void vterm_input_push_char(VTerm *vt, VTermModifier mod, uint32_t c) in vterm_input_push_char() argument
19 vterm_push_output_bytes(vt, str, seqlen); in vterm_input_push_char()
40 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "%d;%du", c, mod+1); in vterm_input_push_char()
47 vterm_push_output_sprintf(vt, "%s%c", mod & VTERM_MOD_ALT ? "\e" : "", c); in vterm_input_push_char()
124 void vterm_input_push_key(VTerm *vt, VTermModifier mod, VTermKey key) in vterm_input_push_key() argument
153 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "Z"); in vterm_input_push_key()
155 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "1;%dZ", mod+1); in vterm_input_push_key()
162 if(vt->state->mode.newline) in vterm_input_push_key()
163 vterm_push_output_sprintf(vt, "\r\n"); in vterm_input_push_key()
170 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "%d;%du", k.literal, mod+1); in vterm_input_push_key()
[all …]
Dstate.c57 static VTermState *vterm_state_new(VTerm *vt) in vterm_state_new() argument
59 VTermState *state = vterm_allocator_malloc(vt, sizeof(VTermState)); in vterm_state_new()
61 state->vt = vt; in vterm_state_new()
63 state->rows = vt->rows; in vterm_state_new()
64 state->cols = vt->cols; in vterm_state_new()
75 vterm_allocator_free(state->vt, state->tabstops); in vterm_state_free()
76 vterm_allocator_free(state->vt, state->lineinfo); in vterm_state_free()
77 vterm_allocator_free(state->vt, state->combine_chars); in vterm_state_free()
78 vterm_allocator_free(state->vt, state); in vterm_state_free()
128 uint32_t *new_chars = vterm_allocator_malloc(state->vt, new_size * sizeof(new_chars[0])); in grow_combine_buffer()
[all …]
Dvterm_internal.h43 VTerm *vt; member
176 void *vterm_allocator_malloc(VTerm *vt, size_t size);
177 void vterm_allocator_free(VTerm *vt, void *ptr);
179 void vterm_push_output_bytes(VTerm *vt, const char *bytes, size_t len);
180 void vterm_push_output_vsprintf(VTerm *vt, const char *format, va_list args);
181 void vterm_push_output_sprintf(VTerm *vt, const char *format, ...);
182 void vterm_push_output_sprintf_ctrl(VTerm *vt, unsigned char ctrl, const char *fmt, ...);
183 void vterm_push_output_sprintf_dcs(VTerm *vt, const char *fmt, ...);
Dscreen.c43 VTerm *vt; member
82 …ScreenCell *new_buffer = vterm_allocator_malloc(screen->vt, sizeof(ScreenCell) * new_rows * new_co… in realloc_buffer()
98 vterm_allocator_free(screen->vt, buffer); in realloc_buffer()
522 vterm_allocator_free(screen->vt, screen->sb_buffer); in resize()
524 screen->sb_buffer = vterm_allocator_malloc(screen->vt, sizeof(VTermScreenCell) * new_cols); in resize()
624 static VTermScreen *screen_new(VTerm *vt) in screen_new() argument
626 VTermState *state = vterm_obtain_state(vt); in screen_new()
630 VTermScreen *screen = vterm_allocator_malloc(vt, sizeof(VTermScreen)); in screen_new()
633 vterm_get_size(vt, &rows, &cols); in screen_new()
635 screen->vt = vt; in screen_new()
[all …]
/external/llvm/test/CodeGen/X86/
Dtailcall-ri64.ll13 %vt = type { i32 (...)** }
15 define %vt* @_ZN4llvm9UnsetInit20convertInitializerToEPNS_5RecTyE(%class*
16 %this, %vt* %Ty) align 2 {
18 %0 = bitcast %vt* %Ty to %vt* (%vt*, %class*)***
19 %vtable = load %vt* (%vt*, %class*)**, %vt* (%vt*, %class*)*** %0, align 8
20 %vfn = getelementptr inbounds %vt* (%vt*, %class*)*, %vt* (%vt*, %class*)** %vtable, i64 4
21 %1 = load %vt* (%vt*, %class*)*, %vt* (%vt*, %class*)** %vfn, align 8
22 %call = tail call %vt* %1(%vt* %Ty, %class* %this)
23 ret %vt* %call
/external/lzma/CPP/Windows/
DPropVariant.cpp14 vt = VT_EMPTY; in CPropVariant()
20 vt = VT_EMPTY; in CPropVariant()
26 vt = VT_EMPTY; in CPropVariant()
32 vt = VT_EMPTY; in CPropVariant()
58 vt = VT_BSTR; in operator =()
74 vt = VT_BSTR; in operator =()
94 if (vt != VT_BOOL) in operator =()
97 vt = VT_BOOL; in operator =()
105 { if (vt != id) { InternalClear(); vt = id; } \
117 switch(prop->vt) in SET_PROP_FUNC()
[all …]
DPropVariant.h15 CPropVariant() { vt = VT_EMPTY; wReserved1 = 0; } in CPropVariant()
21 …CPropVariant(bool bSrc) { vt = VT_BOOL; wReserved1 = 0; boolVal = (bSrc ? VARIANT_TRUE : VARIANT_F… in CPropVariant()
22 CPropVariant(Byte value) { vt = VT_UI1; wReserved1 = 0; bVal = value; } in CPropVariant()
23 CPropVariant(Int16 value) { vt = VT_I2; wReserved1 = 0; iVal = value; } in CPropVariant()
24 CPropVariant(Int32 value) { vt = VT_I4; wReserved1 = 0; lVal = value; } in CPropVariant()
25 CPropVariant(UInt32 value) { vt = VT_UI4; wReserved1 = 0; ulVal = value; } in CPropVariant()
26 CPropVariant(UInt64 value) { vt = VT_UI8; wReserved1 = 0; uhVal.QuadPart = value; } in CPropVariant()
27 CPropVariant(const FILETIME &value) { vt = VT_FILETIME; wReserved1 = 0; filetime = value; } in CPropVariant()
/external/wpa_supplicant_8/src/drivers/
Dndis_events.c243 VARIANT vt; in ndis_events_media_specific() local
254 0, &vt, NULL, NULL); in ndis_events_media_specific()
262 SafeArrayGetLBound(V_ARRAY(&vt), 1, &lower); in ndis_events_media_specific()
263 SafeArrayGetUBound(V_ARRAY(&vt), 1, &upper); in ndis_events_media_specific()
269 VariantClear(&vt); in ndis_events_media_specific()
275 SafeArrayGetElement(V_ARRAY(&vt), &k, &ch); in ndis_events_media_specific()
280 VariantClear(&vt); in ndis_events_media_specific()
320 VARIANT vtClass, vt; in ndis_events_indicate() local
331 hr = IWbemClassObject_Get(pObj, L"InstanceName", 0, &vt, NULL, in ndis_events_indicate()
348 if (wcscmp(events->adapter_desc, vt.bstrVal) != 0) { in ndis_events_indicate()
[all …]
/external/libvterm/include/
Dvterm.h124 void vterm_free(VTerm* vt);
126 void vterm_get_size(const VTerm *vt, int *rowsp, int *colsp);
127 void vterm_set_size(VTerm *vt, int rows, int cols);
129 void vterm_push_bytes(VTerm *vt, const char *bytes, size_t len);
131 void vterm_input_push_char(VTerm *vt, VTermModifier state, uint32_t c);
132 void vterm_input_push_key(VTerm *vt, VTermModifier state, VTermKey key);
134 size_t vterm_output_bufferlen(VTerm *vt); /* deprecated */
136 size_t vterm_output_get_buffer_size(const VTerm *vt);
137 size_t vterm_output_get_buffer_current(const VTerm *vt);
138 size_t vterm_output_get_buffer_remaining(const VTerm *vt);
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_ap.cpp441 CPDF_VariableText vt; in GenerateWidgetAP() local
442 vt.SetProvider(&prd); in GenerateWidgetAP()
443 vt.SetPlateRect(rcBody); in GenerateWidgetAP()
444 vt.SetAlignment(nAlign); in GenerateWidgetAP()
446 vt.SetAutoFontSize(TRUE); in GenerateWidgetAP()
448 vt.SetFontSize(fFontSize); in GenerateWidgetAP()
452 vt.SetMultiLine(TRUE); in GenerateWidgetAP()
453 vt.SetAutoReturn(TRUE); in GenerateWidgetAP()
458 vt.SetPasswordChar(subWord); in GenerateWidgetAP()
462 vt.SetCharArray(dwMaxLen); in GenerateWidgetAP()
[all …]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/
DOBJLoader.java94 Vector2f vt; field in OBJLoader.Vertex
110 if (this.vt != other.vt && (this.vt == null || !this.vt.equals(other.vt))) { in equals()
123 hash = 53 * hash + (this.vt != null ? this.vt.hashCode() : 0); in hashCode()
241 int vt = 0; in readFace() local
249 vt = Integer.parseInt(split[1].trim()); in readFace()
252 vt = Integer.parseInt(split[1].trim()); in readFace()
262 if (vt > 0) in readFace()
263 vx.vt = texCoords.get(vt - 1); in readFace()
436 if (!hasTexCoord && v.vt != null) in constructMesh()
505 if (v0.vt != null){ in constructMesh()
[all …]
/external/clang/test/CodeGenCXX/
Dtls-init-funcs.cpp23 thread_local int vt = 5; variable
25 int get_vt() { return vt<int>; } in get_vt()
33 template int vt<void>; variable
34 int &get_vt_void() { return vt<void>; } in get_vt_void()
/external/mesa3d/src/glx/tests/
Dfake_glx_screen.h31 this->vtable = &fake_glx_screen::vt; in fake_glx_screen()
53 static struct glx_screen_vtable vt; variable
62 this->vtable = &fake_glx_screen_direct::vt; in fake_glx_screen_direct()
66 static struct glx_screen_vtable vt; variable
75 this->vtable = &fake_glx_context::vt; in fake_glx_context()
110 static const struct glx_context_vtable vt; variable
Dfake_glx_screen.cpp25 struct glx_screen_vtable fake_glx_screen::vt = { member in fake_glx_screen
30 struct glx_screen_vtable fake_glx_screen_direct::vt = { member in fake_glx_screen_direct
35 const struct glx_context_vtable fake_glx_context::vt = { member in fake_glx_context
/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
Datomic_exchange.pass.cpp36 volatile A vt; in test() local
37 std::atomic_init(&vt, T(3)); in test()
38 assert(std::atomic_exchange(&vt, T(4)) == T(3)); in test()
39 assert(vt == T(4)); in test()
Datomic_exchange_explicit.pass.cpp37 volatile A vt; in test() local
38 std::atomic_init(&vt, T(3)); in test()
39 assert(std::atomic_exchange_explicit(&vt, T(4), std::memory_order_seq_cst) in test()
41 assert(vt == T(4)); in test()
Datomic_init.pass.cpp35 volatile A vt; in test() local
36 std::atomic_init(&vt, T(2)); in test()
37 assert(vt == T(2)); in test()
Datomic_store.pass.cpp35 volatile A vt; in test() local
36 std::atomic_store(&vt, T(2)); in test()
37 assert(vt == T(2)); in test()
/external/lzma/CPP/7zip/Archive/Common/
DParseProperties.cpp12 if (prop.vt == VT_UI4) in ParsePropValue()
18 else if (prop.vt == VT_EMPTY) in ParsePropValue()
85 if (prop.vt == VT_UI4) in ParsePropDictionaryValue()
93 if (prop.vt == VT_BSTR) in ParsePropDictionaryValue()
117 switch(value.vt) in SetBoolProperty()
154 switch(prop.vt) in ParseMtProp()
/external/lzma/CPP/7zip/Archive/7z/
D7zHandlerOut.cpp148 prop.Id == NCoderPropID::kUsedMemorySize) && prop.Value.vt == VT_UI4) in SetCompressionMethod()
177 if (prop.vt == VT_FILETIME) in GetTime()
182 else if (prop.vt != VT_EMPTY) in GetTime()
246 if (prop.vt == VT_EMPTY) in UpdateItems()
248 else if (prop.vt != VT_UI4) in UpdateItems()
265 if (prop.vt == VT_EMPTY) in UpdateItems()
267 else if (prop.vt != VT_BSTR) in UpdateItems()
278 if (prop.vt == VT_EMPTY) in UpdateItems()
280 else if (prop.vt != VT_BOOL) in UpdateItems()
292 if (prop.vt == VT_EMPTY) in UpdateItems()
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZPatterns.td118 multiclass MVCLoadStore<SDPatternOperator load, ValueType vt, Instruction insn,
120 def : Pat<(mvc_store (vt (load bdaddr12only:$src)), bdaddr12only:$dest),
129 ValueType vt, Instruction insn, bits<5> length> {
130 def : Pat<(operator (vt (load bdaddr12only:$src)), bdaddr12only:$dest),
136 multiclass BlockLoadStore<SDPatternOperator load, ValueType vt,
139 defm : MVCLoadStore<load, vt, mvc, length>;
140 defm : BinaryLoadStore<block_and1, load, vt, nc, length>;
141 defm : BinaryLoadStore<block_and2, load, vt, nc, length>;
142 defm : BinaryLoadStore<block_or1, load, vt, oc, length>;
143 defm : BinaryLoadStore<block_or2, load, vt, oc, length>;
[all …]
/external/lzma/CPP/7zip/UI/Common/
DPropIDUtils.cpp59 if (prop.vt != VT_FILETIME) in ConvertPropertyToString()
70 if (prop.vt != VT_UI4) in ConvertPropertyToString()
78 if (prop.vt != VT_UI4) in ConvertPropertyToString()
91 if (prop.vt != VT_UI4) in ConvertPropertyToString()
/external/v8/test/cctest/
Dtest-types.cc509 for (ValueIterator vt = T.values.begin(); vt != T.values.end(); ++vt) { in Constant() local
510 Handle<i::Object> value = *vt; in Constant()
516 for (ValueIterator vt = T.values.begin(); vt != T.values.end(); ++vt) { in Constant() local
517 Handle<i::Object> value = *vt; in Constant()
720 for (ValueIterator vt = T.values.begin(); vt != T.values.end(); ++vt) { in Of() local
721 Handle<i::Object> value = *vt; in Of()
728 for (ValueIterator vt = T.values.begin(); vt != T.values.end(); ++vt) { in Of() local
730 Handle<i::Object> value = *vt; in Of()
739 for (ValueIterator vt = T.values.begin(); vt != T.values.end(); ++vt) { in Of() local
741 Handle<i::Object> value = *vt; in Of()
[all …]

123456