| /external/libcap-ng/libcap-ng-0.7/utils/ |
| netcap.c | 39 static int perm_warn = 0, header = 0, last_uid = -1; variable 218 if (header == 0) { 222 header = 1; 360 // Increment the interface number since header is 2 lines long
|
| /external/libcups/cups/ |
| file.c | 1206 * header... 1209 unsigned char header[10]; /* gzip file header */ local 1214 header[0] = 0x1f; 1215 header[1] = 0x8b; 1216 header[2] = Z_DEFLATED; 1217 header[3] = 0; 1218 header[4] = (unsigned char)curtime; 1219 header[5] = (unsigned char)(curtime >> 8); 1220 header[6] = (unsigned char)(curtime >> 16) [all...] |
| /external/libcups/filter/ |
| rastertolabel.c | 80 void StartPage(ppd_file_t *ppd, cups_page_header2_t *header); 81 void EndPage(ppd_file_t *ppd, cups_page_header2_t *header); 83 void OutputLine(ppd_file_t *ppd, cups_page_header2_t *header, unsigned y); 156 cups_page_header2_t *header) /* I - Page header */ 167 fprintf(stderr, "DEBUG: Duplex = %d\n", header->Duplex); 168 fprintf(stderr, "DEBUG: HWResolution = [ %d %d ]\n", header->HWResolution[0], header->HWResolution[1]); 169 fprintf(stderr, "DEBUG: ImagingBoundingBox = [ %d %d %d %d ]\n", header->ImagingBoundingBox[0], header->ImagingBoundingBox[1], header->ImagingBoundingBox[2], header->ImagingBoundingBox[3]) 1090 cups_page_header2_t header; \/* Page header from file *\/ local [all...] |
| /external/libevent/sample/ |
| http-server.c | 115 struct evkeyval *header; local 135 for (header = headers->tqh_first; header; 136 header = header->next.tqe_next) { 137 printf(" %s: %s\n", header->key, header->value);
|
| /external/libevent/test/ |
| regress_rpc.c | 114 const char *header = evhttp_find_header( local 116 assert(header); 117 assert(strcmp(header, "input") == 0); 334 const char *header = evhttp_find_header( local 336 assert(header); 337 assert(strcmp(header, "ran") == 0); 426 const char *header = evhttp_find_header(req->input_headers, "X-Hook"); local 430 assert(header != NULL); 431 assert(strcmp(header, arg) == 0);
|
| /external/libmicrohttpd/src/microhttpd/ |
| digestauth.c | 40 * Beginning string for any valid Digest authentication header. 198 * Lookup subvalue off of the HTTP Authorization header. 207 * @param data pointer to the Authorization header 353 * Get the username from the authorization header sent by the client 365 const char *header; local 367 if (NULL == (header = MHD_lookup_connection_value (connection, 371 if (0 != strncmp (header, _BASE, strlen (_BASE))) 373 header += strlen (_BASE); 376 header, 453 if (0 != strcmp (key, pos->header)) 569 const char *header; local 837 char *header; local [all...] |
| /external/libmojo/ipc/ |
| ipc_message.h | 73 return static_cast<PriorityValue>(header()->flags & PRIORITY_MASK); 78 header()->flags |= SYNC_BIT; 81 return (header()->flags & SYNC_BIT) != 0; 86 header()->flags |= REPLY_BIT; 90 return (header()->flags & REPLY_BIT) != 0; 96 header()->flags |= REPLY_ERROR_BIT; 100 return (header()->flags & REPLY_ERROR_BIT) != 0; 108 header()->flags |= UNBLOCK_BIT; 110 header()->flags &= ~UNBLOCK_BIT; 115 return (header()->flags & UNBLOCK_BIT) != 0 252 Header* header() { function in class:IPC::Message 255 const Header* header() const { function in class:IPC::Message [all...] |
| /external/libmojo/mojo/edk/system/ |
| channel.cc | 34 static_assert(IsAlignedForChannelMessage(sizeof(Channel::Message::Header)), 35 "Invalid Header size."); 41 offsetof(Channel::Message::Header, num_bytes), 42 "num_bytes should be at the same offset in both Header structs."); 44 offsetof(Channel::Message::Header, message_type), 45 "message_type should be at the same offset in both Header " 73 // On Windows we serialize HANDLEs into the extra header space. 85 // Pad extra header data to be aliged to |kChannelMessageAlignment| bytes. 92 is_legacy_message ? sizeof(LegacyHeader) : sizeof(Header); 98 // Only zero out the header and not the payload. Since the payload is going t 156 const Header* header = nullptr; local 304 Channel::Message::Header* Channel::Message::header() const { function in class:mojo::edk::Channel::Message 604 const Message::Header* header = nullptr; local [all...] |
| /external/libmojo/mojo/public/cpp/bindings/ |
| message.h | 33 // mutate the data and handles. The message's data is comprised of a header 75 // Access the header. 76 const internal::MessageHeader* header() const { function in class:mojo::Message 79 internal::MessageHeader* header() { function in class:mojo::Message 101 uint32_t version() const { return header()->version; } 103 uint32_t interface_id() const { return header()->interface_id; } 104 void set_interface_id(uint32_t id) { header()->interface_id = id; } 106 uint32_t name() const { return header()->name; } 107 bool has_flag(uint32_t flag) const { return !!(header()->flags & flag); }
|
| /external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
| RouterImpl.java | 168 // The message must have a header. 222 MessageHeader header = message.asServiceMessage().getHeader(); local 223 if (header.hasFlag(MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG)) { 231 } else if (header.hasFlag(MessageHeader.MESSAGE_IS_RESPONSE_FLAG)) { 232 long requestId = header.getRequestId();
|
| /external/libmojo/third_party/jinja2/ |
| _stringdefs.py | 107 header = content[:content.find('Cc =')] variable [all...] |
| /external/libogg/include/ogg/ |
| ogg.h | 44 unsigned char *header; member in struct:__anon25579 69 unsigned char header[282]; /* working space for header encode */ member in struct:__anon25580
|
| /external/libpcap/ |
| pcap-new.c | 94 struct rpcap_header header; /* structure that keeps the general header of the rpcap protocol */ local 399 rpcap_createhdr(&header, RPCAP_MSG_FINDALLIF_REQ, 0, 0); 401 if (sock_send(sockctrl, (char *)&header, sizeof(struct rpcap_header), errbuf, PCAP_ERRBUF_SIZE) == -1) 404 if (sock_recv(sockctrl, (char *)&header, sizeof(struct rpcap_header), SOCK_RECEIVEALL_YES, errbuf, PCAP_ERRBUF_SIZE) == -1) 408 retval = rpcap_checkmsg(errbuf, sockctrl, &header, RPCAP_MSG_FINDALLIF_REPLY, RPCAP_MSG_ERROR, 0); 436 nif = ntohs(header.value); 623 if (totread != ntohl(header.plen)) 625 if (sock_discard(sockctrl, ntohl(header.plen) - totread, errbuf, PCAP_ERRBUF_SIZE) == 1) 656 if (totread != ntohl(header.plen) 1163 struct rpcap_header header; local [all...] |
| /external/libvncserver/libvncclient/ |
| zrle.c | 86 rfbZRLEHeader header; local 111 if (!ReadFromRFBServer(client, (char *)&header, sz_rfbZRLEHeader)) 114 remaining = rfbClientSwap32IfLE(header.length);
|
| /external/libvpx/libvpx/examples/ |
| vp8_multi_resolution_encoder.c | 126 char header[32]; local 129 header[0] = 'D'; 130 header[1] = 'K'; 131 header[2] = 'I'; 132 header[3] = 'F'; 133 mem_put_le16(header + 4, 0); /* version */ 134 mem_put_le16(header + 6, 32); /* headersize */ 135 mem_put_le32(header + 8, fourcc); /* headersize */ 136 mem_put_le16(header + 12, cfg->g_w); /* width */ 137 mem_put_le16(header + 14, cfg->g_h); /* height * 148 char header[12]; local [all...] |
| /external/linux-kselftest/tools/testing/selftests/net/ |
| psock_fanout.c | 208 struct tpacket2_hdr *header = ring; local 211 while (count < RING_NUM_FRAMES && header->tp_status & TP_STATUS_USER) { 213 header = ring + (count * getpagesize());
|
| /external/llvm/examples/BrainF/ |
| BrainF.cpp | 59 header(Context); 65 void BrainF::header(LLVMContext& C) { function in class:BrainF 84 //Function header
|
| /external/llvm/lib/Target/AMDGPU/ |
| AMDGPUAsmPrinter.cpp | 641 amd_kernel_code_t header; local 643 AMDGPU::initDefaultAMDKernelCodeT(header, STM.getFeatureBits()); 645 header.compute_pgm_resource_registers = 648 header.code_properties = AMD_CODE_PROPERTY_IS_PTR64; 651 AMD_HSA_BITS_SET(header.code_properties, 656 header.code_properties |= 661 header.code_properties |= AMD_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_PTR; 664 header.code_properties |= AMD_CODE_PROPERTY_ENABLE_SGPR_QUEUE_PTR; 667 header.code_properties |= AMD_CODE_PROPERTY_ENABLE_SGPR_KERNARG_SEGMENT_PTR; 670 header.code_properties |= AMD_CODE_PROPERTY_ENABLE_SGPR_DISPATCH_ID [all...] |
| /external/llvm/tools/yaml2obj/ |
| yaml2macho.cpp | 32 is64Bit = Obj.Header.magic == MachO::MH_MAGIC_64 || 33 Obj.Header.magic == MachO::MH_CIGAM_64; 34 memset(reinterpret_cast<void *>(&Header), 0, sizeof(MachO::mach_header_64)); 62 MachO::mach_header_64 Header; 77 Header.magic = Obj.Header.magic; 78 Header.cputype = Obj.Header.cputype; 79 Header.cpusubtype = Obj.Header.cpusubtype 469 MachO::fat_header header; local [all...] |
| /external/ltp/testcases/kernel/device-drivers/pci/tpci_kernel/ |
| ltp_tpci.c | 552 u32 header; local 563 if (pci_read_config_dword(dev, pos, &header)) { 569 if ((header & 0x000000ff) == PCI_CAP_ID_EXP) { 571 header); 576 header);
|
| /external/lzma/C/Util/Lzma/ |
| LzmaUtil.c | 112 /* header: 5 bytes of LZMA properties and 8 bytes of uncompressed size */
113 unsigned char header[LZMA_PROPS_SIZE + 8];
local 115 /* Read and parse header */
117 RINOK(SeqInStream_Read(inStream, header, sizeof(header)));
121 unpackSize += (UInt64)header[LZMA_PROPS_SIZE + i] << (i * 8);
124 RINOK(LzmaDec_Allocate(&state, header, LZMA_PROPS_SIZE, &g_Alloc));
147 Byte header[LZMA_PROPS_SIZE + 8];
local 151 res = LzmaEnc_WriteProperties(enc, header, &headerSize);
153 header[headerSize++] = (Byte)(fileSize >> (8 * i)); [all...] |
| /external/mesa3d/src/amd/vulkan/ |
| radv_pipeline_cache.c | 311 struct cache_header header; local 313 if (size < sizeof(header)) 315 memcpy(&header, data, sizeof(header)); 316 if (header.header_size < sizeof(header)) 318 if (header.header_version != VK_PIPELINE_CACHE_HEADER_VERSION_ONE) 320 if (header.vendor_id != 0x1002) 322 if (header.device_id != device->physical_device->rad_info.pci_id) 324 if (memcmp(header.uuid, device->physical_device->uuid, VK_UUID_SIZE) != 0 406 struct cache_header *header; local [all...] |
| /external/mesa3d/src/gallium/auxiliary/tgsi/ |
| tgsi_parse.h | 40 struct tgsi_header Header; 140 struct tgsi_header header; local 141 memcpy(&header, tokens, sizeof(header)); 142 return header.HeaderSize + header.BodySize;
|
| /external/mesa3d/src/gallium/drivers/svga/ |
| svga_cmd.c | 89 * more uniform: each command begins with a header containing the 93 * reserve space for the whole command, and write the header. 113 SVGA3dCmdHeader *header; local 115 header = swc->reserve(swc, sizeof *header + cmdSize, nr_relocs); 116 if (!header) 119 header->id = cmd; 120 header->size = cmdSize; 124 return &header[1]; [all...] |
| svga_resource_buffer_upload.c | 47 SVGA3dCmdHeader header; member in struct:svga_3d_update_gb_image 52 SVGA3dCmdHeader header; member in struct:svga_3d_invalidate_gb_image 262 cicmd->header.size = sizeof(*invalidate_cmd); 275 whole_update_cmd->header.id = SVGA_3D_CMD_UPDATE_GB_IMAGE; 296 whole_update_cmd->header.size = sizeof(*update_cmd);
|