/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
H A D | keymap.h | 20 /** Character to be used instead */ 21 uint8_t to; member in struct:key_mapping
|
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/ |
H A D | sendto.c | 21 The sendto routine queues data to the network for transmission. 23 between multiple machine where it is required to specify the target 32 @param [in] buffer Address of a buffer containing the data to send. 38 @param [in] to Remote system address 53 const struct sockaddr * to, 92 to, 48 sendto( int s, const void * buffer, size_t length, int flags, const struct sockaddr * to, socklen_t tolen ) argument
|
/vbox/src/VBox/Devices/Network/slirp/ |
H A D | sbuf.c | 103 * Try and write() to the socket, whatever doesn't get written 104 * append to the buffer... for a host with a fast net connection, 173 * we don't need to check because if it has closed, 201 * The caller is responsible to make sure there's enough room 252 * Copy data from sbuf to a normal, straight buffer 257 sbcopy(struct sbuf *sb, int off, int len, char *to) argument 269 memcpy(to, from, len); 277 memcpy(to, from, off); 280 memcpy(to+off, sb->sb_data, len);
|
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/ |
H A D | state_attrib.c | 1176 CRAttribState *to = &(toCtx->attrib); local 1178 if (to->attribStackDepth != 0 || from->attribStackDepth != 0) 1180 crWarning( "Trying to switch contexts when the attribute stacks "
|
H A D | state_diff.c | 14 void crStateDiffContext( CRContext *from, CRContext *to ) 23 crStateTransformDiff( &(sb->transform), bitID, from, to ); 27 crStatePixelDiff( &(sb->pixel), bitID, from, to ); 31 crStateViewportDiff( &(sb->viewport), bitID, from, to ); 35 crStateFogDiff( &(sb->fog), bitID, from, to ); 39 crStateTextureDiff( &(sb->texture), bitID, from, to ); 43 crStateListsDiff( &(sb->lists), bitID, from, to ); 47 crStateBufferDiff( &(sb->buffer), bitID, from, to ); 52 crStateBufferObjectDiff( &(sb->bufferobject), bitID, from, to ); 57 crStateClientDiff(&(sb->client), bitID, from, to ); 126 crStateFreeFBImageLegacy(CRContext *to) argument 143 crStateAcquireFBImage(CRContext *to, CRFBData *data) argument 279 crStateApplyFBImage(CRContext *to, CRFBData *data) argument [all...] |
H A D | state_point.c | 208 CRPointState *to = &(toCtx->point); local 220 if (from->pointSmooth != to->pointSmooth) 222 able[to->pointSmooth](GL_POINT_SMOOTH); 223 from->pointSmooth = to->pointSmooth; 229 if (from->pointSize != to->pointSize) 231 diff_api.PointSize (to->pointSize); 232 from->pointSize = to->pointSize; 238 if (from->minSize != to->minSize) 240 diff_api.PointParameterfARB (GL_POINT_SIZE_MIN_ARB, to->minSize); 241 from->minSize = to 319 CRPointState *to = &(toCtx->point); local [all...] |
H A D | state_current.c | 30 * initialize all vertex attributes to <0,0,0,1> for starters 161 const CRCurrentState *to = &(toCtx->current); local 170 if (to->rasterValid) { 174 const GLfloat toX = to->rasterAttrib[VERT_ATTRIB_POS][0]; 175 const GLfloat toY = to->rasterAttrib[VERT_ATTRIB_POS][1]; 176 const GLfloat toZ = to->rasterAttrib[VERT_ATTRIB_POS][2]; 179 diff_api.WindowPos3fvARB(to->rasterAttrib[VERT_ATTRIB_POS]); 191 ** We also need to restore the current state tracking pointer 196 if (to->colorIndex != from->colorIndex) { 197 diff_api.Indexf(to 304 const CRCurrentState *to = &(toCtx->current); local [all...] |
H A D | state_pixel.c | 560 CRPixelState *to = &(toCtx->pixel); local 568 if (from->mapColor != to->mapColor) 570 diff_api.PixelTransferi (GL_MAP_COLOR, to->mapColor); 571 from->mapColor = to->mapColor; 573 if (from->mapStencil != to->mapStencil) 575 diff_api.PixelTransferi (GL_MAP_STENCIL, to->mapStencil); 576 from->mapStencil = to->mapStencil; 578 if (from->indexOffset != to->indexOffset) 580 diff_api.PixelTransferi (GL_INDEX_OFFSET, to->indexOffset); 581 from->indexOffset = to 683 CRPixelState *to = &(toCtx->pixel); local [all...] |
H A D | state_texdiff.c | 101 const CRTextureState *to = &(toCtx->texture); local 120 if (from->unit[i].enabled1D != to->unit[i].enabled1D) 122 able[to->unit[i].enabled1D](GL_TEXTURE_1D); 126 if (from->unit[i].enabled2D != to->unit[i].enabled2D) 128 able[to->unit[i].enabled2D](GL_TEXTURE_2D); 133 if (from->unit[i].enabled3D != to->unit[i].enabled3D) 135 able[to->unit[i].enabled3D](GL_TEXTURE_3D); 142 from->unit[i].enabledCubeMap != to->unit[i].enabledCubeMap) 144 able[to->unit[i].enabledCubeMap](GL_TEXTURE_CUBE_MAP_ARB); 151 from->unit[i].enabledRect != to 523 crStateTextureCheckDirtyImages(CRContext *from, CRContext *to, GLenum target, int textureUnit) argument 931 CRTextureState *to = &(toCtx->texture); local [all...] |
H A D | state_lists.c | 42 crDebug("crStateQueryHWState fixed %s from "format" to "format, #state, g->state, value); \ 45 # define CR_STATE_SETTEX_MSG(state, st, hw) crDebug("crStateQueryHWState fixed %s from %i to %i", state, st, hw) 215 /* seems to always match previous .logicOp 1291 crStateError(__LINE__, __FILE__, GL_INVALID_VALUE, "Negative range passed to glGenLists: %d", range); 1313 crStateError(__LINE__, __FILE__, GL_INVALID_VALUE, "Negative range passed to glDeleteLists: %d", range); 1317 crHashtableDeleteBlock(g->shared->dlistTable, list, range, crFree); /* call crFree to delete list data */ 1363 CRListsState *to = &(toCtx->lists); local 1372 if (from->base != to->base) { 1373 diff_api.ListBase(to->base); 1374 from->base = to 1388 CRListsState *to = &(toCtx->lists); local [all...] |
H A D | state_stencil.c | 387 CRStencilState *to = &(toCtx->stencil); local 402 if (from->stencilTest != to->stencilTest) 404 able[to->stencilTest](GL_STENCIL_TEST); 405 from->stencilTest = to->stencilTest; 415 if (from->stencilTwoSideEXT != to->stencilTwoSideEXT) 417 able[to->stencilTwoSideEXT](GL_STENCIL_TEST_TWO_SIDE_EXT); 418 from->stencilTwoSideEXT = to->stencilTwoSideEXT; 425 if (from->clearValue != to->clearValue) 427 diff_api.ClearStencil (to->clearValue); 428 from->clearValue = to 928 CRStencilState *to = &(toCtx->stencil); local [all...] |
H A D | state_bufferobject.c | 386 ctStateBuffersRefsCleanup(ctx, obj, g->neg_bitid); /* <- yes, use g->neg_bitid, i.e. neg_bitid of the current context to ensure others bits get dirtified, 756 * We need to check if the GL_EXT_vertex/pixel_buffer_object extensions 759 * or needs to be tested for (-1). 771 /* XXX this check is temporary. We need to make the tilesort SPU plug 772 * GetString into the diff'ing table in order for this to really work. 796 const CRBufferObjectState *to = &(toCtx->bufferobject); local 801 if (from->arrayBuffer != to->arrayBuffer) 803 GLuint bufferID = to->arrayBuffer ? to->arrayBuffer->hwid : 0; 813 from->arrayBuffer = to 977 const CRBufferObjectState *to = &(toCtx->bufferobject); local 1023 CRBufferObjectState *to = &(toCtx->bufferobject); local [all...] |
H A D | state_evaluators.c | 169 * memory space to a buffer of contiguous control points. 171 * Return: pointer to buffer of contiguous control points or NULL if out 198 * Same as above but convert doubles to floats. 225 * memory space to a buffer of contiguous control points. 226 * Additional memory is allocated to be used by the Horner and 230 * Return: pointer to buffer of contiguous control points or NULL if out 274 * Same as above but convert doubles to floats. 877 CREvaluatorState *to = &(toCtx->eval); local 885 if (from->autoNormal != to->autoNormal) { 889 able[to 968 CREvaluatorState *to = &(toCtx->eval); local [all...] |
/vbox/src/libs/libxml2-2.6.31/ |
H A D | testAutomata.c | 80 int from, to; local 91 to = scanNumber(&ptr); 97 if (states[to] == NULL) 98 states[to] = xmlAutomataNewState(am); 100 xmlAutomataNewTransition(am, states[from], states[to], 104 int from, to; local 115 to = scanNumber(&ptr); 116 if (states[to] == NULL) 117 states[to] = xmlAutomataNewState(am); 118 xmlAutomataNewEpsilon(am, states[from], states[to]); 132 int from, to; local [all...] |
H A D | error.c | 65 * @msg: the message to display/transmit 87 * to the builtin error function. 103 * Function to reset the handler and the error context for out of 107 * be passed as first argument to @handler 108 * One can simply force messages to be emitted to another FILE * than 109 * stderr by setting @ctx to this file handle and @handler to NULL. 126 * Function to reset the handler and the error context for out of 130 * be passed as first argument to 452 xmlErrorPtr to = &xmlLastError; local 945 xmlCopyError(xmlErrorPtr from, xmlErrorPtr to) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Uefi/Devices/Utility/ |
H A D | DevGenisis.c | 27 DeviceNode *daDefaultDevice = NULL; ///< Device to use if nothing else found 58 int EFIAPI fbadop_rename (const char *from, const char *to) argument 64 /** Add a new device to the device list. 67 @param DevName Name of the device to add. 68 @param DevProto Pointer to the GUID identifying the protocol associated with this device. 69 If DevProto is NULL, startup code will not try to find instances 71 @param OpenFunc Pointer to the device's Open function. 72 @param InstanceList Optional pointer to the device's initialized instance list. 77 @param Modes Bit-mapped flags indicating operations (R, W, RW, ...) permitted to this device.
|
/vbox/src/VBox/Devices/Network/slirp/bsd/kern/ |
H A D | uipc_mbuf2.c | 17 * may be used to endorse or promote products derived from this software 45 * may be used to endorse or promote products derived from this software 142 /* be sure to point non-empty mbuf */ 156 * data region to require all of the following: 157 * (i) mbuf _has_ to have M_EXT set; if it is just a regular 159 * (ii) since mbuf has M_EXT, the ext_type _has_ to be 168 * to 1), but we'll fail to notice it unless we re-evaluate 174 * then we're not "writable," according to this code. 192 * chop the current mbuf into two pieces, set off to 518 m_tag_copy_chain(struct mbuf *to, struct mbuf *from, int how) argument [all...] |
/vbox/src/VBox/Devices/Network/lwip/vbox/ |
H A D | sys_arch.c | 48 /** Maximum number of threads lwIP is allowed to create. */ 87 * Initialize the port to IPRT. 233 /* mbox is full, have to wait until a slot becomes available. */ 279 /* mbox is empty, have to wait until a slot is filled. */ 327 * Grab the pointer to this thread's timeouts from TLS. 336 struct sys_timeouts *to = NULL; local 348 to = &g_aTLS[i].timeouts; 353 if (!to) 360 to = &g_aTLS[id].timeouts; 367 return to; [all...] |
/vbox/src/libs/xpcom18a4/xpcom/ds/ |
H A D | nsTHashtable.h | 5 * The contents of this file are subject to the Mozilla Public License Version 28 * of those above. If you wish to allow use of your version of this file only 29 * under the terms of either the GPL or the LGPL, and not to allow others to 57 * Clients will rarely need to use this class directly. Check the derived 58 * classes first, to see if they will meet your needs. 73 * // requires keys to cast to <code>const void*</code> 91 * // KeyToPointer(): Convert KeyType to KeyTypePointer 98 * // to us 386 s_CopyEntry(PLDHashTable *table, const PLDHashEntryHdr *from, PLDHashEntryHdr *to) argument [all...] |
/vbox/src/libs/xpcom18a4/xpcom/string/src/ |
H A D | nsTStringObsolete.cpp | 6 * The contents of this file are subject to the Mozilla Public License Version 29 * of those above. If you wish to allow use of your version of this file only 30 * under the terms of either the GPL or the LGPL, and not to allow others to 130 // We want to pass a "data length" to ::RFindCharInSet 140 // it's a shame to replicate this code. it was done this way in the past 141 // to help performance. this function also gets to keep the rickg style 192 CharT* first=--cp; //in case we have to bac 312 char_type* to = mData + aOffset; local [all...] |
H A D | nsTSubstring.cpp | 6 * The contents of this file are subject to the Mozilla Public License Version 29 * of those above. If you wish to allow use of your version of this file only 30 * under the terms of either the GPL or the LGPL, and not to allow others to 41 * helper function for down-casting a nsTSubstring to a nsTFixedString. 51 * this function is called to prepare mData for writing. the given capacity 60 // initialize to no old data 67 // need to allocate a new buffer. we cannot use the existing buffer even 77 // use doubling algorithm when forced to increase available capacity, 156 // still the best time to se 197 PRUint32 to = cutStart + fragLen; local 213 PRUint32 to = cutStart + fragLen; local [all...] |
/vbox/src/libs/zlib-1.2.6/examples/ |
H A D | gun.c | 1 /* gun.c -- simple gunzip to give an example of the use of inflateBack() 16 Copy file attributes from input file to output file 27 gun will decompress from stdin to stdout. The names must end in .gz, -gz, 28 .z, -z, _z, or .Z. The uncompressed data will be written to a file name 31 continue to process the remaining names on the command line. A memory 38 writing all of the uncompressed data to the output. Unlike gzip, gun allows 49 file are maintained in the final uncompressed file, to the extent that the 78 /* structure for infback() to pass to input function in() -- it maintains the 85 /* Load input buffer, assumed to b 516 copymeta(char *from, char *to) argument [all...] |
H A D | gzappend.c | 1 /* gzappend -- command to append to a gzip file 10 Permission is granted to anyone to use this software for any purpose, 11 including commercial applications, and to alter it and redistribute it 12 freely, subject to the following restrictions: 30 * - Add version and copyright to help 31 * - Send help to stdout instead of stderr 33 * - Add L to constants in lseek() calls 41 * (Why you ask? Because it was fun to writ 125 unsigned char *start, *last, *to, *from; local [all...] |
/vbox/src/libs/liblzf-3.4/ |
H A D | lzf.c | 28 * the above. If you wish to allow the use of your version of this file 29 * only under the terms of the GPL and not to allow others to use your 177 compress_fd (int from, int to) argument 211 if (wwrite (to, header, len) == -1) 219 uncompress_fd (int from, int to) argument 291 if (wwrite (to, buf1, us)) 302 if (wwrite (to, buf2, us)) 514 fprintf (stderr, "%s: compressed data not read from a terminal. Use -f to force decompression.\n", imagename); 519 fprintf (stderr, "%s: compressed data not written to [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/config/ |
H A D | nsinstall.c | 5 * The contents of this file are subject to the Mozilla Public License Version 28 * of those above. If you wish to allow use of your version of this file only 29 * under the terms of either the GPL or the LGPL, and not to allow others to 299 /* source is absolute pathname, link to it directly */ 308 /* Symlink the relative path from todir to source name. */ 346 /* Copy from name to toname, which might be the same file. */ 364 fail("cannot write to %s", toname); 373 ** have to utime() last since fchown/chmod alter the timestamps. 394 fail("cannot write to 540 relatepaths(char *from, char *to, char *outpath) argument [all...] |