/system/bt/hci/src/ |
buffer_allocator.cc | 29 static const allocator_t interface = {buffer_alloc, osi_free}; variable 31 const allocator_t* buffer_allocator_get_interface() { return &interface; }
|
/system/core/libnetutils/ |
dhcptool.c | 29 error(EXIT_FAILURE, 0, "usage: %s INTERFACE", argv[0]); 32 char* interface = argv[1]; local 34 err(errno, "dhcptool %s: ifc_init failed", interface); 39 int rc = do_dhcp(interface); 41 err(errno, "dhcptool %s: do_dhcp failed", interface);
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
OMXClient.h | 37 sp<IOMX> interface() { function in class:android::OMXClient
|
/external/mesa3d/src/compiler/glsl/tests/ |
general_ir_test.cpp | 29 TEST(ir_variable_constructor, interface) 37 const glsl_type *const interface = local 47 new(mem_ctx) ir_variable(interface, name, ir_var_uniform); 51 EXPECT_EQ(interface, v->type); 52 EXPECT_EQ(interface, v->get_interface_type()); 63 const glsl_type *const interface = local 71 glsl_type::get_array_instance(interface, 2); 81 EXPECT_EQ(interface, v->get_interface_type());
|
/external/syslinux/gpxe/src/include/gpxe/ |
interface.h | 14 /** An object communication interface */ 15 struct interface { struct 16 /** Destination interface 18 * When messages are sent via this interface, they will be 19 * delivered to the destination interface. 21 * This pointer may never be NULL. When the interface is 22 * unplugged, it should point to a null interface. 24 struct interface *dest; 27 * If this interface is not part of a reference-counted 34 * Increment reference count on an interface [all...] |
/external/walt/android/WALT/app/src/main/jni/ |
sync_clock_linux.c | 41 // The interface and endpoint numbers are defined by the TeensyUSB. They may 45 // Host Viewer on Android. Look for a "CDC Data" interface (class 0x0a). 46 int interface = 1; local 50 int ret = ioctl(fd, USBDEVFS_CLAIMINTERFACE, &interface); 51 printf("Interface claimed retval=%d, errno=%d, %s\n", ret, errno, strerror(errno)); 54 "interface claimed by the kernel serial driver.");
|
/art/runtime/mirror/ |
iftable.h | 29 Class* interface = GetWithoutChecks((i * kMax) + kInterface)->AsClass(); local 30 DCHECK(interface != nullptr); 31 return interface; 34 ALWAYS_INLINE void SetInterface(int32_t i, ObjPtr<Class> interface) 61 // Points to the interface class. 63 // Method pointers into the vtable, allow fast map from interface method index to concrete
|
/external/google-tv-pairing-protocol/cpp/src/polo/wire/ |
polowireadapter.h | 30 // Creates a new adapter on the given interface. The interface should only 33 // @param interface the interface used to send and receive data 34 explicit PoloWireAdapter(PoloWireInterface* interface); 41 // Gets the next message from the interface asynchronously. The listener 79 // Gets the Polo wire interface used to send and receive data. 80 PoloWireInterface* interface() { return interface_; } function in class:polo::wire::PoloWireAdapter
|
/external/autotest/client/deps/glbench/src/ |
contexttest.cc | 34 GLInterface* interface = g_main_gl_interface.get(); local 35 CHECK(interface); 36 GLContext main_context = interface->GetMainContext(); 37 GLContext new_context = interface->CreateContext(); 42 interface->MakeCurrent(new_context); 44 interface->MakeCurrent(main_context); 49 interface->MakeCurrent(IsEven(i) ? new_context : main_context); 52 interface->MakeCurrent(main_context); 53 interface->DeleteContext(new_context);
|
/external/skia/tools/fiddle/ |
egl_context.cpp | 74 auto interface = GrGLCreateNativeInterface(); local 75 if (!interface) { 80 return sk_sp<GrContext>(GrContext::Create(kOpenGL_GrBackend, (GrBackendContext)interface));
|
/external/strace/tests/ |
ip_mreq.c | 46 static const char interface[] = "127.0.0.1"; local 54 inet_pton(AF_INET, interface, &m4->imr_interface); 135 interface, (unsigned) sizeof(*m4), sprintrc(rc));
|
/external/strace/tests-m32/ |
ip_mreq.c | 46 static const char interface[] = "127.0.0.1"; local 54 inet_pton(AF_INET, interface, &m4->imr_interface); 135 interface, (unsigned) sizeof(*m4), sprintrc(rc));
|
/external/strace/tests-mx32/ |
ip_mreq.c | 46 static const char interface[] = "127.0.0.1"; local 54 inet_pton(AF_INET, interface, &m4->imr_interface); 135 interface, (unsigned) sizeof(*m4), sprintrc(rc));
|
/frameworks/native/cmds/ip-up-vpn/ |
ip-up-vpn.c | 49 * are interface, addresses, routes, DNS servers, and search domains and VPN 62 * is to have an interface configured with the given address and netmask 85 const char *interface = env("INTERFACE"); local 93 /* Bring up the interface. */ 95 strncpy(ifr.ifr_name, interface, IFNAMSIZ); 97 ALOGE("Cannot bring up %s: %s", interface, strerror(errno)); 118 fprintf(state, "%s\n", interface);
|
/frameworks/wilhelm/tests/sandbox/ |
engine.c | 40 printf("Display the ID of each available interface\n"); 48 printf("interface[%u] ", index); 75 printf("Create engine with NULL interface pointer\n"); 95 printf("Create an engine and require non-sensical volume interface\n"); 103 printf("Create an engine and politely request a non-sensical interface with options\n"); 114 printf("Get each available interface before realization\n"); 116 void *interface = NULL; local 117 // Use the interface ID as returned by slQuerySupportedEngineInterfaces 118 result = (*engineObject)->GetInterface(engineObject, engine_ids[index], &interface); 121 printf("interface available pre-realize: ") 140 void *interface = NULL; local [all...] |
/system/bt/btif/src/ |
btif_sock.cc | 52 static btsock_interface_t interface = {sizeof(interface), btsock_listen, local 55 return &interface;
|
/system/core/libunwindstack/ |
Elf.cpp | 132 std::unique_ptr<ElfInterface> interface; local 150 interface.reset(new ElfInterfaceArm(memory)); 152 interface.reset(new ElfInterface32(memory)); 168 interface.reset(new ElfInterface64(memory)); 171 return interface.release();
|
/system/core/libunwindstack/tests/ |
ElfTest.cpp | 124 ASSERT_TRUE(elf.interface() == nullptr); 170 ASSERT_TRUE(elf.interface() != nullptr); 182 ASSERT_TRUE(elf.interface() != nullptr); 194 ASSERT_TRUE(elf.interface() != nullptr); 206 ASSERT_TRUE(elf.interface() != nullptr); 217 ASSERT_TRUE(elf.interface() != nullptr); 219 EXPECT_EQ(0x1acU, elf.interface()->gnu_debugdata_offset()); 220 EXPECT_EQ(0x100U, elf.interface()->gnu_debugdata_size()); 231 ASSERT_TRUE(elf.interface() != nullptr); 233 EXPECT_EQ(0x200U, elf.interface()->gnu_debugdata_offset()) 283 ElfInterface* interface = new ElfInterface32(memory_); local [all...] |
/system/core/libunwindstack/tools/ |
unwind_info.cpp | 39 void DumpArm(ElfInterfaceArm* interface) { 40 if (interface == nullptr) { 46 for (const auto& entry : interface->pt_loads()) { 50 for (auto addr : *interface) { 56 if (interface->GetFunctionName(pc | 1, &name, &func_offset) && !name.empty()) { 61 if (!interface->FindEntry(pc, &entry)) { 65 ArmExidx arm(nullptr, interface->memory(), nullptr); 85 void DumpDwarfSection(ElfInterface* interface, DwarfSection* section, uint64_t load_bias) { 95 if (interface->GetFunctionName(fde->pc_start + load_bias, &name, &func_offset) && 123 ElfInterface* interface = elf.interface() local [all...] |
/system/hwservicemanager/ |
TokenManager.h | 48 sp<IBase> interface; member in struct:android::hidl::token::V1_0::implementation::TokenManager::TokenInterface 52 TokenInterface generateToken(const sp<IBase> &interface);
|
/system/netd/server/ |
Network.cpp | 38 bool Network::hasInterface(const std::string& interface) const { 39 return mInterfaces.find(interface) != mInterfaces.end(); 50 std::string interface = *mInterfaces.begin(); local 51 if (int ret = removeInterface(interface)) {
|
/system/tools/hidl/ |
Interface.h | 29 struct Interface : public Scope { 30 Interface(const char* localName, const Location& location, Scope* parent, Interface* super); 42 const Interface *superType() const; 47 std::vector<const Interface *> superTypeChain() const; 50 std::vector<const Interface *> typeChain() const; 54 // HIDL reserved methods (every interface has these implicitly defined) 113 Interface *mSuperType; 128 DISALLOW_COPY_AND_ASSIGN(Interface); 131 // An interface / method tuple 137 const Interface *interface() const { return mInterface; } function in struct:android::InterfaceAndMethod [all...] |
/test/vts/compilation_tools/vtsc/code_gen/profiler/ |
ProfilerCodeGenBase.cpp | 45 InterfaceSpecificationMessage interface = message.interface(); local 47 // defined types within the interface. 48 for (const auto attribute : interface.attribute()) { 64 out << "const char* interface,\n"; 92 InterfaceSpecificationMessage interface = message.interface(); local 94 // the interface. 95 for (const auto attribute : interface.attribute()) { 108 out << "const char* interface,\n" [all...] |
/development/samples/ToyVpn/server/linux/ |
ToyVpnServer.cpp | 43 // # Create a TUN interface. 46 // # Set the addresses and bring up the interface. 54 // its own TUN interface. A short shell script will be sufficient. Since this 63 int interface = open("/dev/net/tun", O_RDWR | O_NONBLOCK); local 70 if (ioctl(interface, TUNSETIFF, &ifr)) { 71 perror("Cannot get TUN interface"); 75 return interface; 174 "Note that TUN interface needs to be configured properly\n" 184 // Get TUN interface. 185 int interface = get_interface(argv[1]) local [all...] |
/external/skia/src/gpu/gl/ |
GrGLAssembleInterface.cpp | 81 GrGLInterface* interface = new GrGLInterface(); local 82 GrGLInterface::Functions* functions = &interface->fFunctions; 318 delete interface; 537 interface->fStandard = kGL_GrGLStandard; 538 interface->fExtensions.swap(&extensions); 540 return interface; 567 GrGLInterface* interface = new GrGLInterface; local 568 GrGLInterface::Functions* functions = &interface->fFunctions; [all...] |