Searched refs:pointer (Results 1 - 25 of 112) sorted by relevance

12345

/haiku/src/bin/network/telnet/
H A Dutilities.c289 printsub(char direction, unsigned char *pointer, int length)
298 (want_status_response && (pointer[0] == TELOPT_STATUS))) {
305 i = pointer[length-2];
306 j = pointer[length-1];
333 switch (pointer[0]) {
336 switch (pointer[1]) {
338 fprintf(NetTrace, "IS \"%.*s\"", length-2, (char *)pointer+2);
346 pointer[1], pointer[1]);
355 switch (pointer[
288 printsub(char direction, unsigned char *pointer, int length) argument
[all...]
/haiku/src/bin/network/telnetd/
H A Dutility.c194 * simple, is to clear the urgent data pointer. The principal
195 * caller should be setting the urgent data pointer AFTER calling
513 printsub(char direction, unsigned char *pointer, int length) argument
526 i = pointer[length-2];
527 j = pointer[length-1];
552 switch (pointer[0]) {
555 switch (pointer[1]) {
557 output_data("IS \"%.*s\"", length-2, (char *)pointer+2);
565 pointer[1], pointer[
[all...]
/haiku/src/add-ons/kernel/drivers/power/acpi_battery/
H A Dacpi_battery.cpp68 buffer.pointer = NULL;
72 acpi_object_type* pointer; local
79 object = (acpi_object_type*)buffer.pointer;
86 pointer = object->package.objects;
87 batteryStatus->state = (pointer->object_type == ACPI_TYPE_INTEGER)
88 ? pointer->integer.integer : BATTERY_CRITICAL_STATE;
90 pointer++;
91 batteryStatus->current_rate = (pointer->object_type == ACPI_TYPE_INTEGER)
92 ? pointer->integer.integer : -1;
94 pointer
127 acpi_object_type* pointer; local
[all...]
/haiku/src/kits/support/
H A DBlockCache.cpp100 void *pointer = fFreeList; local
102 DEBUG_ONLY(memset(pointer, 0xCC, sizeof(_FreeBlock)));
103 fFree(pointer);
114 void *pointer; local
119 pointer = fFreeList;
122 DEBUG_ONLY(memset(pointer, 0xCC, sizeof(_FreeBlock)));
126 pointer = fAlloc(blockSize);
127 DEBUG_ONLY(if (pointer) memset(pointer, 0xCC, sizeof(_FreeBlock)));
130 return pointer;
135 Save(void *pointer, size_t blockSize) argument
[all...]
/haiku/src/add-ons/kernel/debugger/run_on_exit/
H A Drun_on_exit.cpp24 char *pointer = sCommandBuffer; local
26 uint8 argCount = (uint8)pointer[0];
27 pointer++;
31 args[i] = pointer;
32 uint32 length = strlen(pointer);
33 pointer += length + 1;
71 char *pointer = sCommandBuffer + sCommandOffset; local
72 *pointer++ = (char)(argc - 1);
75 strcpy(pointer, argv[i]);
76 pointer
[all...]
/haiku/headers/cpp/
H A Ddefalloc.h66 typedef T* pointer; typedef in class:allocator
72 pointer allocate(size_type n) {
73 return ::allocate((difference_type)n, (pointer)0);
75 void deallocate(pointer p) { ::deallocate(p); }
76 pointer address(reference x) { return (pointer)&x; }
90 typedef void* pointer; typedef in class:allocator
H A Dstl_raw_storage_iter.h44 typedef void pointer; typedef in class:raw_storage_iterator
/haiku/headers/os/support/
H A DBlockCache.h43 void Save(void *pointer, size_t blockSize);
60 void (*fFree)(void *pointer);
/haiku/headers/posix/
H A Dmalloc.h19 extern void free(void *pointer);
/haiku/src/kits/app/
H A DMessageAdapter.cpp413 uint8 *pointer = (uint8 *)buffer + sizeof(r5_message_header); local
421 *(int32 *)pointer = header->target;
422 pointer += sizeof(int32);
429 *(port_id *)pointer = header->reply_port;
430 pointer += sizeof(port_id);
431 *(int32 *)pointer = header->reply_target;
432 pointer += sizeof(int32);
433 *(team_id *)pointer = header->reply_team;
434 pointer += sizeof(team_id);
437 *pointer
638 uint8 *pointer = buffer; local
[all...]
/haiku/docs/interface_guidelines/docbook-css/
H A Dmozilla.css20 cursor: pointer;
/haiku/src/system/boot/platform/bios_ia32/
H A Dacpi.cpp179 PointerType* pointer = (PointerType*)((uint8*)acpiSdt local
183 for (int32 j = 0; j < sNumEntries; j++, pointer++) {
185 mmu_map_physical_memory((uint32)*pointer,
202 TRACE(("acpi: Found '%.4s' @ %p\n", signature, pointer));
215 (uint32)*pointer, length, kDefaultPageFlags);
241 for (char* pointer = (char*)acpi_scan_spots[i].start;
242 (uint32)pointer < acpi_scan_spots[i].stop; pointer += 16) {
243 if (strncmp(pointer, ACPI_RSDP_SIGNATURE, 8) == 0) {
245 pointer));
[all...]
H A Dsmp.cpp72 for (uint32 *pointer = (uint32 *)base; (uint32)pointer < limit; pointer++) {
73 if (*pointer == MP_FLOATING_SIGNATURE) {
74 TRACE(("smp_mp_probe: found floating pointer structure at %p\n",
75 pointer));
76 return (mp_floating_struct *)pointer;
152 char *pointer = (char *)((uint32)config + sizeof(struct mp_config_table)); local
154 switch (*pointer) {
158 = (struct mp_base_processor *)pointer;
[all...]
/haiku/src/add-ons/kernel/bus_managers/pci/arch/x86/
H A Dpci_acpi.cpp183 PointerType* pointer = (PointerType*)((uint8*)acpiSdt local
188 for (int32 j = 0; j < sNumEntries; j++, pointer++) {
189 headerArea = map_physical_memory("acpi header", (uint32)*pointer,
207 TRACE(("acpi: Found '%.4s' @ %p\n", signature, pointer));
220 (uint32)*pointer, length, B_ANY_KERNEL_ADDRESS,
256 for (char *pointer = start;
257 (addr_t)pointer < (addr_t)start + acpi_scan_spots[i].length;
258 pointer += 16) {
259 if (strncmp(pointer, ACPI_RSDP_SIGNATURE, 8) == 0) {
261 pointer));
[all...]
/haiku/src/add-ons/kernel/drivers/power/x86_cpuidle/
H A Dacpi_cpuidle.cpp113 arg.pointer = &obj;
151 arg.pointer = obj;
165 buf.pointer = NULL;
171 acpi_object_type *osc = (acpi_object_type *)buf.pointer;
284 acpi_object_type * pointer = &object->data.package.objects[1]; local
285 if (pointer->object_type != ACPI_TYPE_INTEGER) {
289 uint32 n = pointer->data.integer;
299 pointer = &object->data.package.objects[2];
300 if (pointer->object_type != ACPI_TYPE_INTEGER) {
304 n = pointer
416 acpi_object_type *pointer = object->data.package.objects; local
[all...]
/haiku/src/tests/system/libroot/posix/
H A Dsignal_test.cpp38 is_alternate(void* pointer) argument
40 return (char*)pointer > &sAlternateStack[0]
41 && (char*)pointer <= &sAlternateStack[0] + SIGSTKSZ;
/haiku/src/system/kernel/slab/
H A DSmallObjectCache.cpp22 BytePointer<slab> pointer(pages);
23 pointer += slab_size - sizeof(slab);
24 return &pointer;
/haiku/src/build/libbe/app/
H A DMessage.cpp78 print_to_stream_type(uint8 *pointer) argument
80 Type *item = (Type *)pointer;
87 print_type(const char *format, uint8 *pointer) argument
89 Type *item = (Type *)pointer;
193 void *pointer = sMsgCache->Get(size); local
194 return pointer;
199 BMessage::operator new(size_t, void *pointer) argument
202 return pointer;
207 BMessage::operator delete(void *pointer, size_t size) argument
210 sMsgCache->Save(pointer, siz
521 uint8 *pointer = fData + field->offset + field->name_length; local
1461 uint8 *pointer = fData + offset; local
1534 uint8 *pointer = fData + field->offset + field->name_length; local
1576 uint8 *pointer = fData + offset; local
1765 AddPointer(const char *name, const void *pointer) argument
2102 ReplacePointer(const char *name, const void *pointer) argument
2109 ReplacePointer(const char *name, int32 index, const void *pointer) argument
[all...]
/haiku/src/system/runtime_loader/
H A Delf_tls.cpp21 inline TLSBlock(void* pointer);
88 void* pointer = malloc(fMemorySize); local
89 if (pointer == NULL)
91 memcpy(pointer, fAddress, fFileSize);
93 memset((char*)pointer + fFileSize, 0, fMemorySize - fFileSize);
94 return TLSBlock(pointer);
175 TLSBlock::TLSBlock(void* pointer) argument
177 fPointer(pointer)
/haiku/src/system/kernel/
H A Dcommpage.cpp32 #define ALIGN_ENTRY(pointer) (void*)ROUNDUP((addr_t)(pointer), 8)
/haiku/headers/private/libroot/time/
H A Dprivate.h247 void * irealloc P((void * pointer, int size));
248 void icfree P((char * pointer));
249 void ifree P((char * pointer));
/haiku/src/apps/haiku3d/
H A DRenderView.h38 static int32 _RenderThreadEntry(void* pointer);
/haiku/src/kits/debugger/dwarf/
H A DAttributeValue.cpp34 snprintf(buffer, size, "%#" B_PRIx64, pointer);
/haiku/src/system/libroot/posix/malloc_debug/
H A Dmalloc_debug_api.cpp291 posix_memalign(void **pointer, size_t alignment, size_t size) argument
294 return sCurrentHeap->posix_memalign(pointer, alignment, size);
299 *pointer = memalign(alignment, size);
300 if (*pointer == NULL)
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dmalloc.h58 # define free(pointer, tag) kernel_free(pointer, tag)

Completed in 199 milliseconds

12345