Home
last modified time | relevance | path

Searched refs:text (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_stdlib.c21 char text[1024]; in stdlib_strlcpy() local
24 result = SDL_strlcpy(text, "foo", sizeof(text)); in stdlib_strlcpy()
50 result = SDL_snprintf(text, sizeof(text), "%s", "foo"); in stdlib_snprintf()
65 result = SDL_snprintf(text, sizeof(text), "%f", 1.0); in stdlib_snprintf()
71 result = SDL_snprintf(text, sizeof(text), "%.f", 1.0); in stdlib_snprintf()
77 result = SDL_snprintf(text, sizeof(text), "%#.f", 1.0); in stdlib_snprintf()
136 char * text; in stdlib_getsetenv() local
173 text); in stdlib_getsetenv()
192 text); in stdlib_getsetenv()
211 text); in stdlib_getsetenv()
[all …]
A Dcheckkeys.c47 *text += len; in print_string()
58 print_modifiers(char **text, size_t *maxlen) in print_modifiers() argument
76 print_string(text, maxlen, " LALT"); in print_modifiers()
78 print_string(text, maxlen, " RALT"); in print_modifiers()
80 print_string(text, maxlen, " LGUI"); in print_modifiers()
84 print_string(text, maxlen, " NUM"); in print_modifiers()
138 PrintText(char *eventtype, char *text) in PrintText() argument
143 for ( spot = text; *spot; ++spot ) in PrintText()
148 SDL_Log("%s Text (%s): \"%s%s\"\n", eventtype, expanded, *text == '"' ? "\\" : "", text); in PrintText()
165 PrintText("EDIT", event.text.text); in loop()
[all …]
A Dtestautomation_clipboard.c58 char *text = SDL_strdup(textRef); in clipboard_testSetClipboardText() local
60 result = SDL_SetClipboardText((const char *)text); in clipboard_testSetClipboardText()
67 SDL_strcmp(textRef, text) == 0, in clipboard_testSetClipboardText()
69 textRef, text); in clipboard_testSetClipboardText()
73 SDL_free(text); in clipboard_testSetClipboardText()
89 char *text = SDL_strdup(textRef); in clipboard_testClipboardTextFunctions() local
125 intResult = SDL_SetClipboardText((const char *)text); in clipboard_testClipboardTextFunctions()
132 SDL_strcmp(textRef, text) == 0, in clipboard_testClipboardTextFunctions()
134 textRef, text); in clipboard_testClipboardTextFunctions()
151 SDL_free(text); in clipboard_testClipboardTextFunctions()
A Dtestime.c448 text[0] = 0; in InitInput()
476 if (*text) in _Redraw()
493 char *utext = text; in _Redraw()
713 text[0]=0x00; in main()
730 text[textlen-1]=0x00; in main()
736 text[textlen-1]=0x00; in main()
764 if (event.text.text[0] == '\0' || event.text.text[0] == '\n' || in main()
768 SDL_Log("Keyboard: text input \"%s\"\n", event.text.text); in main()
770 if (SDL_strlen(text) + SDL_strlen(event.text.text) < sizeof(text)) in main()
771 SDL_strlcat(text, event.text.text, sizeof(text)); in main()
[all …]
/AliOS-Things-master/components/SDL2/src/stdlib/
A DSDL_string.c61 ++text; in SDL_ScanLong()
79 ++text; in SDL_ScanLong()
115 ++text; in SDL_ScanUnsignedLong()
147 ++text; in SDL_ScanUintPtrT()
166 ++text; in SDL_ScanLongLong()
184 ++text; in SDL_ScanLongLong()
220 ++text; in SDL_ScanUnsignedLongLong()
240 ++text; in SDL_ScanFloat()
242 text += SDL_ScanUnsignedLong(text, 10, &lvalue); in SDL_ScanFloat()
246 ++text; in SDL_ScanFloat()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/
A D_haas1000_alios_sec_b.lds195 *:mpu.o(.text*)
203 *:tcp.o(.text*)
214 *:rx.o(.text*)
219 *:tx.o(.text*)
225 *:bh.o(.text*)
229 *:ip*.o(.text*)
230 *:def.o(.text*)
232 *:raw.o(.text*)
242 *:k_*.o(.text*)
538 *:vq.o(.text*)
[all …]
A D_haas1000_alios_sec_b_a7.lds195 *:mpu.o(.text*)
203 *:tcp.o(.text*)
214 *:rx.o(.text*)
219 *:tx.o(.text*)
225 *:bh.o(.text*)
229 *:ip*.o(.text*)
230 *:def.o(.text*)
232 *:raw.o(.text*)
242 *:k_*.o(.text*)
535 *:vq.o(.text*)
[all …]
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Ddebug.h47 #define MBEDTLS_SSL_DEBUG_RET( level, text, ret ) \ argument
48 mbedtls_debug_print_ret( ssl, level, __FILE__, __LINE__, text, ret )
50 #define MBEDTLS_SSL_DEBUG_BUF( level, text, buf, len ) \ argument
54 #define MBEDTLS_SSL_DEBUG_MPI( level, text, X ) \ argument
55 mbedtls_debug_print_mpi( ssl, level, __FILE__, __LINE__, text, X )
59 #define MBEDTLS_SSL_DEBUG_ECP( level, text, X ) \ argument
60 mbedtls_debug_print_ecp( ssl, level, __FILE__, __LINE__, text, X )
64 #define MBEDTLS_SSL_DEBUG_CRT( level, text, crt ) \ argument
142 const char *text, int ret );
162 const char *file, int line, const char *text,
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/
A Dwritepng.c180 png_text text[6]; in writepng_init() local
185 text[num_text].key = "Title"; in writepng_init()
186 text[num_text].text = mainprog_ptr->title; in writepng_init()
191 text[num_text].key = "Author"; in writepng_init()
192 text[num_text].text = mainprog_ptr->author; in writepng_init()
198 text[num_text].text = mainprog_ptr->desc; in writepng_init()
204 text[num_text].text = mainprog_ptr->copyright; in writepng_init()
209 text[num_text].key = "E-mail"; in writepng_init()
210 text[num_text].text = mainprog_ptr->email; in writepng_init()
215 text[num_text].key = "URL"; in writepng_init()
[all …]
/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_label.c137 ext->text = lv_mem_realloc(ext->text, lv_mem_get_size(copy_ext->text)); in lv_label_create()
140 memcpy(ext->text, copy_ext->text, lv_mem_get_size(copy_ext->text)); in lv_label_create()
177 if(text == NULL) { in lv_label_set_text()
182 if(ext->text == text) { in lv_label_set_text()
184 ext->text = lv_mem_realloc(ext->text, strlen(ext->text) + 1); in lv_label_set_text()
199 strcpy(ext->text, text); in lv_label_set_text()
257 ext->text = (char *)text; in lv_label_set_static_text()
762 ext->text = lv_mem_realloc(ext->text, new_len + 1); in lv_label_ins_text()
858 …lv_txt_get_size(&size, ext->text, style->text.font, style->text.letter_space, style->text.line_spa… in lv_label_design()
880 …lv_txt_get_size(&size, ext->text, style->text.font, style->text.letter_space, style->text.line_spa… in lv_label_design()
[all …]
/AliOS-Things-master/components/SDL2/src/video/haiku/
A DSDL_bclipboard.cc38 int HAIKU_SetClipboardText(_THIS, const char *text) { in HAIKU_SetClipboardText() argument
45 for(; text[asciiLength] != 0; ++asciiLength) {} in HAIKU_SetClipboardText()
46 clip->AddData("text/plain", B_MIME_TYPE, text, asciiLength); in HAIKU_SetClipboardText()
56 const char *text = NULL; in HAIKU_GetClipboardText() local
62 clip->FindData("text/plain", B_MIME_TYPE, (const void**)&text, in HAIKU_GetClipboardText()
68 if (!text) { in HAIKU_GetClipboardText()
73 SDL_strlcpy(result, text, length + 1); in HAIKU_GetClipboardText()
81 char *text = HAIKU_GetClipboardText(_this); in HAIKU_HasClipboardText() local
82 if (text) { in HAIKU_HasClipboardText()
83 result = text[0] != '\0' ? SDL_TRUE : SDL_FALSE; in HAIKU_HasClipboardText()
[all …]
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_clipboard.c28 SDL_SetClipboardText(const char *text) in SDL_SetClipboardText() argument
36 if (!text) { in SDL_SetClipboardText()
37 text = ""; in SDL_SetClipboardText()
40 return _this->SetClipboardText(_this, text); in SDL_SetClipboardText()
43 _this->clipboard_text = SDL_strdup(text); in SDL_SetClipboardText()
61 const char *text = _this->clipboard_text; in SDL_GetClipboardText() local
62 if (!text) { in SDL_GetClipboardText()
63 text = ""; in SDL_GetClipboardText()
65 return SDL_strdup(text); in SDL_GetClipboardText()
/AliOS-Things-master/components/ucloud_ai/
A DREADME.md390 0text: 《爆炸新闻》
394 0text top: 141
397 1text: 19
401 1text top: 115
404 2text: 豆瓣评分7.1
408 2text top: 168
415 3text top: 181
422 4text top: 216
429 5text top: 231
432 6text: 农历正月初八
[all …]
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11clipboard.c71 X11_SetClipboardText(_THIS, const char *text) in X11_SetClipboardText() argument
88 (const unsigned char *)text, SDL_strlen(text)); in X11_SetClipboardText()
115 char *text; in X11_GetClipboardText() local
124 text = NULL; in X11_GetClipboardText()
170 if (text) { in X11_GetClipboardText()
172 text[nbytes] = '\0'; in X11_GetClipboardText()
178 if (!text) { in X11_GetClipboardText()
179 text = SDL_strdup(""); in X11_GetClipboardText()
182 return text; in X11_GetClipboardText()
190 if (text) { in X11_HasClipboardText()
[all …]
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsclipboard.c51 WIN_SetClipboardText(_THIS, const char *text) in WIN_SetClipboardText() argument
62 tstr = WIN_UTF8ToString(text); in WIN_SetClipboardText()
110 char *text; in WIN_GetClipboardText() local
112 text = NULL; in WIN_GetClipboardText()
121 text = WIN_StringToUTF8(tstr); in WIN_GetClipboardText()
128 if (!text) { in WIN_GetClipboardText()
129 text = SDL_strdup(""); in WIN_GetClipboardText()
131 return text; in WIN_GetClipboardText()
138 char *text = WIN_GetClipboardText(_this); in WIN_HasClipboardText() local
139 if (text) { in WIN_HasClipboardText()
[all …]
/AliOS-Things-master/components/SDL2/include/
A DSDL_ttf.h182 const char *text, SDL_Color fg);
184 const char *text, SDL_Color fg);
186 const Uint16 *text, SDL_Color fg);
225 const char *text, SDL_Color fg);
227 const char *text, SDL_Color fg);
255 #define TTF_RenderText(font, text, fg, bg) \ argument
256 TTF_RenderText_Shaded(font, text, fg, bg)
257 #define TTF_RenderUTF8(font, text, fg, bg) \ argument
258 TTF_RenderUTF8_Shaded(font, text, fg, bg)
259 #define TTF_RenderUNICODE(font, text, fg, bg) \ argument
[all …]
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandclipboard.c29 Wayland_SetClipboardText(_THIS, const char *text) in Wayland_SetClipboardText() argument
42 if (text[0] != '\0') { in Wayland_SetClipboardText()
44 Wayland_data_source_add_data(source, TEXT_MIME, text, in Wayland_SetClipboardText()
45 strlen(text) + 1); in Wayland_SetClipboardText()
65 char *text = NULL; in Wayland_GetClipboardText() local
80 text = (char*) buffer; in Wayland_GetClipboardText()
86 text = (char*) buffer; in Wayland_GetClipboardText()
91 if (text == NULL) { in Wayland_GetClipboardText()
92 text = SDL_strdup(""); in Wayland_GetClipboardText()
95 return text; in Wayland_GetClipboardText()
/AliOS-Things-master/components/littlevgl/src/lv_draw/
A Dlv_draw_label.c61 const lv_font_t * font = style->text.font; in lv_draw_label()
69 …lv_txt_get_size(&p, txt, style->text.font, style->text.letter_space, style->text.line_space, LV_CO… in lv_draw_label()
74 lv_coord_t line_height = lv_font_get_line_height(font) + style->text.line_space; in lv_draw_label()
114 line_end += lv_txt_get_next_line(&txt[line_start], font, style->text.letter_space, w, flag); in lv_draw_label()
140 …lv_opa_t opa = opa_scale == LV_OPA_COVER ? style->text.opa : (uint16_t)((uint16_t)style->text.opa … in lv_draw_label()
149 sel_style.body.main_color = sel_style.body.grad_color = style->text.sel_color; in lv_draw_label()
194 recolor.full = style->text.color.full; in lv_draw_label()
202 lv_color_t color = style->text.color; in lv_draw_label()
215 sel_coords.x2 = pos.x + letter_w + style->text.letter_space - 1; in lv_draw_label()
223 pos.x += letter_w + style->text.letter_space; in lv_draw_label()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/flatbuffers/include/flatbuffers/
A Dutil.h580 std::string &text = *_text; in EscapeString() local
581 text += "\""; in EscapeString()
594 text += c; in EscapeString()
601 text += "\\x"; in EscapeString()
624 text += "\\u"; in EscapeString()
632 text += "\\u"; in EscapeString()
634 text += "\\u"; in EscapeString()
644 text += "\""; in EscapeString()
658 text += "0x"; in BufferToHexText()
665 text += '\n'; in BufferToHexText()
[all …]
/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_common.c52 text += length; in SDL_snprintfcat()
733 char text[1024]; in SDLTest_PrintRenderer() local
738 SDL_snprintfcat(text, sizeof(text), " ("); in SDLTest_PrintRenderer()
744 SDL_snprintfcat(text, sizeof(text), " | "); in SDLTest_PrintRenderer()
746 SDLTest_PrintRendererFlag(text, sizeof(text), flag); in SDLTest_PrintRenderer()
750 SDL_snprintfcat(text, sizeof(text), ")"); in SDLTest_PrintRenderer()
756 SDL_snprintfcat(text, sizeof(text), ", "); in SDLTest_PrintRenderer()
839 char text[1024]; in SDLTest_CommonInit() local
850 SDL_snprintfcat(text, sizeof(text), ","); in SDLTest_CommonInit()
1143 SDL_snprintfcat(text, sizeof(text), ","); in SDLTest_CommonInit()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/script/
A Drlx8711B-symbol-v02-img2-2nd_boot.ld30 .rom.text : { } > ROM
56 .ram_image1.text . :
58 /* image1 text */
59 *(.boot.ram.text*)
91 .ram_image2.text :
133 .ram_rdp.text :
144 .xip_image1.text :
148 *(.flashboot.text*)
155 .xip_image2.text :
160 *(.text)
[all …]
A Drlx8711B-symbol-v02-img2_xip1.ld36 .rom.text : { } > ROM
62 .ram_image1.text . :
64 /* image1 text */
65 *(.boot.ram.text*)
97 .ram_image2.text :
139 .ram_rdp.text :
150 .xip_image1.text :
154 *(.flashboot.text*)
161 .xip_image2.text :
166 *(.text)
[all …]
A Drlx8711B-symbol-v02-img2_xip2.ld36 .rom.text : { } > ROM
62 .ram_image1.text . :
64 /* image1 text */
65 *(.boot.ram.text*)
97 .ram_image2.text :
139 .ram_rdp.text :
150 .xip_image1.text :
154 *(.flashboot.text*)
161 .xip_image2.text :
166 *(.text)
[all …]
A Drlx8711B-symbol-v02-img2.ld27 .rom.text : { } > ROM
45 .ram_image1.text . :
47 /* image1 text */
48 *(.boot.ram.text*)
80 .ram_image2.text :
114 .ram_rdp.text :
118 KEEP(*(.rdp.ram.text*))
125 .xip_image1.text :
129 *(.flashboot.text*)
136 .xip_image2.text :
[all …]
/AliOS-Things-master/components/littlevgl/src/lv_core/
A Dlv_style.c93 lv_style_scr.text.opa = LV_OPA_COVER; in lv_style_init()
94 lv_style_scr.text.color = lv_color_make(0x30, 0x30, 0x30); in lv_style_init()
96 lv_style_scr.text.font = LV_FONT_DEFAULT; in lv_style_init()
97 lv_style_scr.text.letter_space = 0; in lv_style_init()
98 lv_style_scr.text.line_space = 2; in lv_style_init()
244 STYLE_ATTR_MIX(text.line_space, ratio); in lv_style_mix()
245 STYLE_ATTR_MIX(text.letter_space, ratio); in lv_style_mix()
246 STYLE_ATTR_MIX(text.opa, ratio); in lv_style_mix()
258 res->text.color = lv_color_mix(end->text.color, start->text.color, opa); in lv_style_mix()
265 res->text.font = start->text.font; in lv_style_mix()
[all …]

Completed in 75 milliseconds

12345678910>>...15