Home
last modified time | relevance | path

Searched refs:io (Results 1 – 25 of 4754) sorted by relevance

12345678910>>...191

/third_party/pulseaudio/src/pulsecore/
Diochannel.c62 static void delete_events(pa_iochannel *io) { in delete_events() argument
63 pa_assert(io); in delete_events()
65 if (io->input_event) in delete_events()
66 io->mainloop->io_free(io->input_event); in delete_events()
68 if (io->output_event && io->output_event != io->input_event) in delete_events()
69 io->mainloop->io_free(io->output_event); in delete_events()
71 io->input_event = io->output_event = NULL; in delete_events()
74 static void enable_events(pa_iochannel *io) { in enable_events() argument
75 pa_assert(io); in enable_events()
77 if (io->hungup) { in enable_events()
[all …]
/third_party/libsoup/libsoup/
Dsoup-message-io.c102 SoupMessageIOData *io; in soup_message_io_cleanup() local
106 io = soup_message_get_io_data (msg); in soup_message_io_cleanup()
107 if (!io) in soup_message_io_cleanup()
111 if (io->iostream) in soup_message_io_cleanup()
112 g_object_unref (io->iostream); in soup_message_io_cleanup()
113 if (io->body_istream) in soup_message_io_cleanup()
114 g_object_unref (io->body_istream); in soup_message_io_cleanup()
115 if (io->body_ostream) in soup_message_io_cleanup()
116 g_object_unref (io->body_ostream); in soup_message_io_cleanup()
117 if (io->async_context) in soup_message_io_cleanup()
[all …]
/third_party/mesa3d/src/freedreno/decode/
Dio.c39 struct io { struct
46 io_error(struct io *io) in io_error() argument
48 fprintf(stderr, "%s\n", archive_error_string(io->a)); in io_error()
49 io_close(io); in io_error()
52 static struct io *
55 struct io *io = calloc(1, sizeof(*io)); in io_new() local
58 if (!io) in io_new()
61 io->a = archive_read_new(); in io_new()
62 ret = archive_read_support_filter_gzip(io->a); in io_new()
64 io_error(io); in io_new()
[all …]
/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_freeglut.cpp29 ImGuiIO& io = ImGui::GetIO(); in ImGui_ImplFreeGLUT_Init() local
30 io.BackendPlatformName ="imgui_impl_freeglut"; in ImGui_ImplFreeGLUT_Init()
35 io.KeyMap[ImGuiKey_Tab] = '\t'; // == 9 == CTRL+I in ImGui_ImplFreeGLUT_Init()
36 io.KeyMap[ImGuiKey_LeftArrow] = 256 + GLUT_KEY_LEFT; in ImGui_ImplFreeGLUT_Init()
37 io.KeyMap[ImGuiKey_RightArrow] = 256 + GLUT_KEY_RIGHT; in ImGui_ImplFreeGLUT_Init()
38 io.KeyMap[ImGuiKey_UpArrow] = 256 + GLUT_KEY_UP; in ImGui_ImplFreeGLUT_Init()
39 io.KeyMap[ImGuiKey_DownArrow] = 256 + GLUT_KEY_DOWN; in ImGui_ImplFreeGLUT_Init()
40 io.KeyMap[ImGuiKey_PageUp] = 256 + GLUT_KEY_PAGE_UP; in ImGui_ImplFreeGLUT_Init()
41 io.KeyMap[ImGuiKey_PageDown] = 256 + GLUT_KEY_PAGE_DOWN; in ImGui_ImplFreeGLUT_Init()
42 io.KeyMap[ImGuiKey_Home] = 256 + GLUT_KEY_HOME; in ImGui_ImplFreeGLUT_Init()
[all …]
Dimgui_impl_glfw.cpp93 ImGuiIO& io = ImGui::GetIO(); in ImGui_ImplGlfw_ScrollCallback() local
94 io.MouseWheelH += (float)xoffset; in ImGui_ImplGlfw_ScrollCallback()
95 io.MouseWheel += (float)yoffset; in ImGui_ImplGlfw_ScrollCallback()
103 ImGuiIO& io = ImGui::GetIO(); in ImGui_ImplGlfw_KeyCallback() local
105 io.KeysDown[key] = true; in ImGui_ImplGlfw_KeyCallback()
107 io.KeysDown[key] = false; in ImGui_ImplGlfw_KeyCallback()
110 io.KeyCtrl = io.KeysDown[GLFW_KEY_LEFT_CONTROL] || io.KeysDown[GLFW_KEY_RIGHT_CONTROL]; in ImGui_ImplGlfw_KeyCallback()
111 io.KeyShift = io.KeysDown[GLFW_KEY_LEFT_SHIFT] || io.KeysDown[GLFW_KEY_RIGHT_SHIFT]; in ImGui_ImplGlfw_KeyCallback()
112 io.KeyAlt = io.KeysDown[GLFW_KEY_LEFT_ALT] || io.KeysDown[GLFW_KEY_RIGHT_ALT]; in ImGui_ImplGlfw_KeyCallback()
113 io.KeySuper = io.KeysDown[GLFW_KEY_LEFT_SUPER] || io.KeysDown[GLFW_KEY_RIGHT_SUPER]; in ImGui_ImplGlfw_KeyCallback()
[all …]
Dimgui_impl_win32.cpp53 ImGuiIO& io = ImGui::GetIO(); in ImGui_ImplWin32_Init() local
54io.BackendFlags |= ImGuiBackendFlags_HasMouseCursors; // We can honor GetMouseCursor() val… in ImGui_ImplWin32_Init()
55io.BackendFlags |= ImGuiBackendFlags_HasSetMousePos; // We can honor io.WantSetMousePos r… in ImGui_ImplWin32_Init()
56 io.BackendPlatformName = "imgui_impl_win32"; in ImGui_ImplWin32_Init()
57 io.ImeWindowHandle = hwnd; in ImGui_ImplWin32_Init()
60 io.KeyMap[ImGuiKey_Tab] = VK_TAB; in ImGui_ImplWin32_Init()
61 io.KeyMap[ImGuiKey_LeftArrow] = VK_LEFT; in ImGui_ImplWin32_Init()
62 io.KeyMap[ImGuiKey_RightArrow] = VK_RIGHT; in ImGui_ImplWin32_Init()
63 io.KeyMap[ImGuiKey_UpArrow] = VK_UP; in ImGui_ImplWin32_Init()
64 io.KeyMap[ImGuiKey_DownArrow] = VK_DOWN; in ImGui_ImplWin32_Init()
[all …]
Dimgui_impl_sdl.cpp84 ImGuiIO& io = ImGui::GetIO(); in ImGui_ImplSDL2_ProcessEvent() local
89 if (event->wheel.x > 0) io.MouseWheelH += 1; in ImGui_ImplSDL2_ProcessEvent()
90 if (event->wheel.x < 0) io.MouseWheelH -= 1; in ImGui_ImplSDL2_ProcessEvent()
91 if (event->wheel.y > 0) io.MouseWheel += 1; in ImGui_ImplSDL2_ProcessEvent()
92 if (event->wheel.y < 0) io.MouseWheel -= 1; in ImGui_ImplSDL2_ProcessEvent()
104 io.AddInputCharactersUTF8(event->text.text); in ImGui_ImplSDL2_ProcessEvent()
111 IM_ASSERT(key >= 0 && key < IM_ARRAYSIZE(io.KeysDown)); in ImGui_ImplSDL2_ProcessEvent()
112 io.KeysDown[key] = (event->type == SDL_KEYDOWN); in ImGui_ImplSDL2_ProcessEvent()
113 io.KeyShift = ((SDL_GetModState() & KMOD_SHIFT) != 0); in ImGui_ImplSDL2_ProcessEvent()
114 io.KeyCtrl = ((SDL_GetModState() & KMOD_CTRL) != 0); in ImGui_ImplSDL2_ProcessEvent()
[all …]
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_glut.cpp42 ImGuiIO& io = ImGui::GetIO(); in ImGui_ImplGLUT_Init() local
45 io.BackendPlatformName = "imgui_impl_glut (freeglut)"; in ImGui_ImplGLUT_Init()
47 io.BackendPlatformName = "imgui_impl_glut"; in ImGui_ImplGLUT_Init()
53 io.KeyMap[ImGuiKey_Tab] = '\t'; // == 9 == CTRL+I in ImGui_ImplGLUT_Init()
54 io.KeyMap[ImGuiKey_LeftArrow] = 256 + GLUT_KEY_LEFT; in ImGui_ImplGLUT_Init()
55 io.KeyMap[ImGuiKey_RightArrow] = 256 + GLUT_KEY_RIGHT; in ImGui_ImplGLUT_Init()
56 io.KeyMap[ImGuiKey_UpArrow] = 256 + GLUT_KEY_UP; in ImGui_ImplGLUT_Init()
57 io.KeyMap[ImGuiKey_DownArrow] = 256 + GLUT_KEY_DOWN; in ImGui_ImplGLUT_Init()
58 io.KeyMap[ImGuiKey_PageUp] = 256 + GLUT_KEY_PAGE_UP; in ImGui_ImplGLUT_Init()
59 io.KeyMap[ImGuiKey_PageDown] = 256 + GLUT_KEY_PAGE_DOWN; in ImGui_ImplGLUT_Init()
[all …]
Dimgui_impl_android.cpp41 ImGuiIO& io = ImGui::GetIO(); in ImGui_ImplAndroid_HandleInputEvent() local
51 io.KeyCtrl = ((event_meta_state & AMETA_CTRL_ON) != 0); in ImGui_ImplAndroid_HandleInputEvent()
52 io.KeyShift = ((event_meta_state & AMETA_SHIFT_ON) != 0); in ImGui_ImplAndroid_HandleInputEvent()
53 io.KeyAlt = ((event_meta_state & AMETA_ALT_ON) != 0); in ImGui_ImplAndroid_HandleInputEvent()
84 io.MouseDown[0] = (event_action == AMOTION_EVENT_ACTION_DOWN); in ImGui_ImplAndroid_HandleInputEvent()
85io.MousePos = ImVec2(AMotionEvent_getX(input_event, event_pointer_index), AMotionEvent_getY(input_… in ImGui_ImplAndroid_HandleInputEvent()
92 io.MouseDown[0] = ((button_state & AMOTION_EVENT_BUTTON_PRIMARY) != 0); in ImGui_ImplAndroid_HandleInputEvent()
93 io.MouseDown[1] = ((button_state & AMOTION_EVENT_BUTTON_SECONDARY) != 0); in ImGui_ImplAndroid_HandleInputEvent()
94 io.MouseDown[2] = ((button_state & AMOTION_EVENT_BUTTON_TERTIARY) != 0); in ImGui_ImplAndroid_HandleInputEvent()
99io.MousePos = ImVec2(AMotionEvent_getX(input_event, event_pointer_index), AMotionEvent_getY(input_… in ImGui_ImplAndroid_HandleInputEvent()
[all …]
Dimgui_impl_sdl.cpp115 ImGuiIO& io = ImGui::GetIO(); in ImGui_ImplSDL2_ProcessEvent() local
122 if (event->wheel.x > 0) io.MouseWheelH += 1; in ImGui_ImplSDL2_ProcessEvent()
123 if (event->wheel.x < 0) io.MouseWheelH -= 1; in ImGui_ImplSDL2_ProcessEvent()
124 if (event->wheel.y > 0) io.MouseWheel += 1; in ImGui_ImplSDL2_ProcessEvent()
125 if (event->wheel.y < 0) io.MouseWheel -= 1; in ImGui_ImplSDL2_ProcessEvent()
137 io.AddInputCharactersUTF8(event->text.text); in ImGui_ImplSDL2_ProcessEvent()
144 IM_ASSERT(key >= 0 && key < IM_ARRAYSIZE(io.KeysDown)); in ImGui_ImplSDL2_ProcessEvent()
145 io.KeysDown[key] = (event->type == SDL_KEYDOWN); in ImGui_ImplSDL2_ProcessEvent()
146 io.KeyShift = ((SDL_GetModState() & KMOD_SHIFT) != 0); in ImGui_ImplSDL2_ProcessEvent()
147 io.KeyCtrl = ((SDL_GetModState() & KMOD_CTRL) != 0); in ImGui_ImplSDL2_ProcessEvent()
[all …]
/third_party/boost/libs/iostreams/test/
Dnewline_test.cpp20 namespace io = boost::iostreams;
128 struct string_source : boost::base_from_member<std::string>, io::array_source {
129 typedef io::array_source base_type;
142 using namespace io; in read_newline_filter()
183 io::array_source src(input.data(), input.data() + input.size()); in my_test_output_filter()
186 io::copy(src, compose(filter, stream)); in my_test_output_filter()
196 using namespace io; in write_newline_filter()
223 io::copy( in test_input_against_flags()
224 io::compose( in test_input_against_flags()
225 io::newline_checker(flags), in test_input_against_flags()
[all …]
Dexample_test.cpp27 namespace io = boost::iostreams;
45 io::stream<vector_source> first(seq); in container_device_test()
46 io::stream<io::file_source> second(file.name(), in_mode); in container_device_test()
53 io::stream<vector_sink> out(first); in container_device_test()
60 io::stream<vector_device> io(v); in container_device_test() local
61 BOOST_CHECK(test_seekable_in_chunks(io)); in container_device_test()
71 io::example::dictionary d; in dictionary_filter_test()
113 io::test_input_filter( io::example::dictionary_stdio_filter(d), in dictionary_filter_test()
118 io::test_output_filter( io::example::dictionary_stdio_filter(d), in dictionary_filter_test()
123 io::test_input_filter( io::example::dictionary_input_filter(d), in dictionary_filter_test()
[all …]
/third_party/boost/libs/iostreams/test/detail/
Dverification.hpp131 bool test_seekable_in_chars(std::iostream& io) in test_seekable_in_chars() argument
139 io.put(narrow_data()[j]); in test_seekable_in_chars()
140 io.seekp(-chunk_size, BOOST_IOS::cur); in test_seekable_in_chars()
142 if (io.get() != narrow_data()[j]) in test_seekable_in_chars()
144 io.seekg(-chunk_size, BOOST_IOS::cur); in test_seekable_in_chars()
146 io.put(narrow_data()[j]); in test_seekable_in_chars()
151 io.seekp(0, BOOST_IOS::beg); in test_seekable_in_chars()
155 io.put(narrow_data()[j]); in test_seekable_in_chars()
156 io.seekp(off, BOOST_IOS::beg); in test_seekable_in_chars()
158 if (io.get() != narrow_data()[j]) in test_seekable_in_chars()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dio_dec.c25 static int EmitYUV(const VP8Io* const io, WebPDecParams* const p) { in EmitYUV() argument
28 uint8_t* const y_dst = buf->y + io->mb_y * buf->y_stride; in EmitYUV()
29 uint8_t* const u_dst = buf->u + (io->mb_y >> 1) * buf->u_stride; in EmitYUV()
30 uint8_t* const v_dst = buf->v + (io->mb_y >> 1) * buf->v_stride; in EmitYUV()
31 const int mb_w = io->mb_w; in EmitYUV()
32 const int mb_h = io->mb_h; in EmitYUV()
37 memcpy(y_dst + j * buf->y_stride, io->y + j * io->y_stride, mb_w); in EmitYUV()
40 memcpy(u_dst + j * buf->u_stride, io->u + j * io->uv_stride, uv_w); in EmitYUV()
41 memcpy(v_dst + j * buf->v_stride, io->v + j * io->uv_stride, uv_w); in EmitYUV()
43 return io->mb_h; in EmitYUV()
[all …]
/third_party/skia/third_party/externals/libwebp/src/dec/
Dio_dec.c25 static int EmitYUV(const VP8Io* const io, WebPDecParams* const p) { in EmitYUV() argument
28 uint8_t* const y_dst = buf->y + (size_t)io->mb_y * buf->y_stride; in EmitYUV()
29 uint8_t* const u_dst = buf->u + (size_t)(io->mb_y >> 1) * buf->u_stride; in EmitYUV()
30 uint8_t* const v_dst = buf->v + (size_t)(io->mb_y >> 1) * buf->v_stride; in EmitYUV()
31 const int mb_w = io->mb_w; in EmitYUV()
32 const int mb_h = io->mb_h; in EmitYUV()
35 WebPCopyPlane(io->y, io->y_stride, y_dst, buf->y_stride, mb_w, mb_h); in EmitYUV()
36 WebPCopyPlane(io->u, io->uv_stride, u_dst, buf->u_stride, uv_w, uv_h); in EmitYUV()
37 WebPCopyPlane(io->v, io->uv_stride, v_dst, buf->v_stride, uv_w, uv_h); in EmitYUV()
38 return io->mb_h; in EmitYUV()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModuleSummaryIndexYAML.h19 static void enumeration(IO &io, TypeTestResolution::Kind &value) {
20 io.enumCase(value, "Unsat", TypeTestResolution::Unsat);
21 io.enumCase(value, "ByteArray", TypeTestResolution::ByteArray);
22 io.enumCase(value, "Inline", TypeTestResolution::Inline);
23 io.enumCase(value, "Single", TypeTestResolution::Single);
24 io.enumCase(value, "AllOnes", TypeTestResolution::AllOnes);
29 static void mapping(IO &io, TypeTestResolution &res) {
30 io.mapOptional("Kind", res.TheKind);
31 io.mapOptional("SizeM1BitWidth", res.SizeM1BitWidth);
32 io.mapOptional("AlignLog2", res.AlignLog2);
[all …]
/third_party/alsa-lib/src/pcm/
Dpcm_ioplug.c59 ioplug_priv_t *io = pcm->private_data; in snd_pcm_ioplug_hw_ptr_update() local
62 hw = io->data->callback->pointer(io->data); in snd_pcm_ioplug_hw_ptr_update()
67 if ((snd_pcm_uframes_t)hw >= io->last_hw) in snd_pcm_ioplug_hw_ptr_update()
68 delta = hw - io->last_hw; in snd_pcm_ioplug_hw_ptr_update()
71 (io->data->flags & SND_PCM_IOPLUG_FLAG_BOUNDARY_WA) ? in snd_pcm_ioplug_hw_ptr_update()
73 delta = wrap_point + hw - io->last_hw; in snd_pcm_ioplug_hw_ptr_update()
75 snd_pcm_mmap_hw_forward(io->data->pcm, delta); in snd_pcm_ioplug_hw_ptr_update()
77 if (io->data->state == SND_PCM_STATE_DRAINING) { in snd_pcm_ioplug_hw_ptr_update()
82 io->last_hw = (snd_pcm_uframes_t)hw; in snd_pcm_ioplug_hw_ptr_update()
84 if (io->data->state == SND_PCM_STATE_DRAINING) in snd_pcm_ioplug_hw_ptr_update()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_enum_field.h69 void GenerateInterfaceMembers(io::Printer* printer) const;
70 void GenerateMembers(io::Printer* printer) const;
71 void GenerateBuilderMembers(io::Printer* printer) const;
72 void GenerateInitializationCode(io::Printer* printer) const;
73 void GenerateBuilderClearCode(io::Printer* printer) const;
74 void GenerateMergingCode(io::Printer* printer) const;
75 void GenerateBuildingCode(io::Printer* printer) const;
76 void GenerateParsingCode(io::Printer* printer) const;
77 void GenerateParsingDoneCode(io::Printer* printer) const;
78 void GenerateSerializationCode(io::Printer* printer) const;
[all …]
Djava_message_field.h70 void GenerateInterfaceMembers(io::Printer* printer) const;
71 void GenerateMembers(io::Printer* printer) const;
72 void GenerateBuilderMembers(io::Printer* printer) const;
73 void GenerateInitializationCode(io::Printer* printer) const;
74 void GenerateBuilderClearCode(io::Printer* printer) const;
75 void GenerateMergingCode(io::Printer* printer) const;
76 void GenerateBuildingCode(io::Printer* printer) const;
77 void GenerateParsingCode(io::Printer* printer) const;
78 void GenerateParsingDoneCode(io::Printer* printer) const;
79 void GenerateSerializationCode(io::Printer* printer) const;
[all …]
Djava_string_field.h70 void GenerateInterfaceMembers(io::Printer* printer) const;
71 void GenerateMembers(io::Printer* printer) const;
72 void GenerateBuilderMembers(io::Printer* printer) const;
73 void GenerateInitializationCode(io::Printer* printer) const;
74 void GenerateBuilderClearCode(io::Printer* printer) const;
75 void GenerateMergingCode(io::Printer* printer) const;
76 void GenerateBuildingCode(io::Printer* printer) const;
77 void GenerateParsingCode(io::Printer* printer) const;
78 void GenerateParsingDoneCode(io::Printer* printer) const;
79 void GenerateSerializationCode(io::Printer* printer) const;
[all …]
Djava_primitive_field.h70 void GenerateInterfaceMembers(io::Printer* printer) const;
71 void GenerateMembers(io::Printer* printer) const;
72 void GenerateBuilderMembers(io::Printer* printer) const;
73 void GenerateInitializationCode(io::Printer* printer) const;
74 void GenerateBuilderClearCode(io::Printer* printer) const;
75 void GenerateMergingCode(io::Printer* printer) const;
76 void GenerateBuildingCode(io::Printer* printer) const;
77 void GenerateParsingCode(io::Printer* printer) const;
78 void GenerateParsingDoneCode(io::Printer* printer) const;
79 void GenerateSerializationCode(io::Printer* printer) const;
[all …]
/third_party/flatbuffers/tests/MyGame/Example/
DMonsterStorageGrpc.java10 import static io.grpc.MethodDescriptor.generateFullMethodName;
11 import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
12 import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
13 import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
14 import static io.grpc.stub.ClientCalls.asyncUnaryCall;
15 import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
16 import static io.grpc.stub.ClientCalls.blockingUnaryCall;
17 import static io.grpc.stub.ClientCalls.futureUnaryCall;
18 import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
19 import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
[all …]
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message_field.h56 void GeneratePrivateMembers(io::Printer* printer) const;
57 void GenerateAccessorDeclarations(io::Printer* printer) const;
58 void GenerateInlineAccessorDefinitions(io::Printer* printer) const;
59 void GenerateNonInlineAccessorDefinitions(io::Printer* printer) const;
60 void GenerateInternalAccessorDeclarations(io::Printer* printer) const;
61 void GenerateInternalAccessorDefinitions(io::Printer* printer) const;
62 void GenerateClearingCode(io::Printer* printer) const;
63 void GenerateMessageClearingCode(io::Printer* printer) const;
64 void GenerateMergingCode(io::Printer* printer) const;
65 void GenerateSwappingCode(io::Printer* printer) const;
[all …]
Dcpp_string_field.h54 void GeneratePrivateMembers(io::Printer* printer) const;
55 void GenerateStaticMembers(io::Printer* printer) const;
56 void GenerateAccessorDeclarations(io::Printer* printer) const;
57 void GenerateInlineAccessorDefinitions(io::Printer* printer) const;
58 void GenerateNonInlineAccessorDefinitions(io::Printer* printer) const;
59 void GenerateClearingCode(io::Printer* printer) const;
60 void GenerateMessageClearingCode(io::Printer* printer) const;
61 void GenerateMergingCode(io::Printer* printer) const;
62 void GenerateSwappingCode(io::Printer* printer) const;
63 void GenerateConstructorCode(io::Printer* printer) const;
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/
DBUILD.gn97 build_config_java = "$target_gen_dir/io/flutter/BuildConfig.java"
125 "io/flutter/Log.java",
126 "io/flutter/app/FlutterActivity.java",
127 "io/flutter/app/FlutterActivityDelegate.java",
128 "io/flutter/app/FlutterActivityEvents.java",
129 "io/flutter/app/FlutterApplication.java",
130 "io/flutter/app/FlutterFragmentActivity.java",
131 "io/flutter/app/FlutterPluginRegistry.java",
132 "io/flutter/embedding/android/AndroidKeyProcessor.java",
133 "io/flutter/embedding/android/AndroidTouchProcessor.java",
[all …]

12345678910>>...191