PW32G 171 win32/registry.c if (!PW32G(registry_directories)) { PW32G 172 win32/registry.c PW32G(registry_directories) = (HashTable*)malloc(sizeof(HashTable)); PW32G 173 win32/registry.c zend_hash_init(PW32G(registry_directories), 0, NULL, delete_internal_hashtable, 1); PW32G 174 win32/registry.c if (!OpenPhpRegistryKey("\\Per Directory Values", &PW32G(registry_key))) { PW32G 175 win32/registry.c PW32G(registry_key) = NULL; PW32G 178 win32/registry.c PW32G(registry_event) = CreateEvent(NULL, TRUE, FALSE, NULL); PW32G 179 win32/registry.c if (PW32G(registry_event)) { PW32G 180 win32/registry.c RegNotifyChangeKeyValue(PW32G(registry_key), TRUE, RegNotifyFlags, PW32G(registry_event), TRUE); PW32G 182 win32/registry.c if (!LoadDirectory(PW32G(registry_directories), PW32G(registry_key), "", 0, NULL)) { PW32G 185 win32/registry.c } else if (PW32G(registry_event) && WaitForSingleObject(PW32G(registry_event), 0) == WAIT_OBJECT_0) { PW32G 186 win32/registry.c RegNotifyChangeKeyValue(PW32G(registry_key), TRUE, RegNotifyFlags, PW32G(registry_event), TRUE); PW32G 187 win32/registry.c zend_hash_clean(PW32G(registry_directories)); PW32G 188 win32/registry.c if (!LoadDirectory(PW32G(registry_directories), PW32G(registry_key), "", 0, NULL)) { PW32G 191 win32/registry.c } else if (zend_hash_num_elements(PW32G(registry_directories)) == 0) { PW32G 238 win32/registry.c if (zend_hash_find(PW32G(registry_directories), path, path_len+1, (void**)&pht) == SUCCESS) { PW32G 63 win32/time.c if (PW32G(starttime).tv_sec == 0) { PW32G 66 win32/time.c PW32G(starttime).tv_sec = -1; PW32G 69 win32/time.c PW32G(freq) = li.QuadPart; PW32G 72 win32/time.c PW32G(starttime).tv_sec = -1; PW32G 75 win32/time.c getfilesystemtime(&PW32G(starttime)); PW32G 77 win32/time.c dt = (double)timer/PW32G(freq); PW32G 78 win32/time.c PW32G(starttime).tv_usec -= (int)((dt-(int)dt)*1000000); PW32G 79 win32/time.c if (PW32G(starttime).tv_usec < 0) { PW32G 80 win32/time.c PW32G(starttime).tv_usec += 1000000; PW32G 81 win32/time.c --PW32G(starttime).tv_sec; PW32G 83 win32/time.c PW32G(starttime).tv_sec -= (int)dt; PW32G 87 win32/time.c if (PW32G(starttime).tv_sec > 0) { PW32G 90 win32/time.c PW32G(starttime).tv_sec = -1; PW32G 94 win32/time.c if (timer < PW32G(lasttime)) { PW32G 96 win32/time.c dt = (double)timer/PW32G(freq); PW32G 97 win32/time.c PW32G(starttime) = *time_Info; PW32G 98 win32/time.c PW32G(starttime).tv_usec -= (int)((dt-(int)dt)*1000000); PW32G 99 win32/time.c if (PW32G(starttime).tv_usec < 0) { PW32G 100 win32/time.c PW32G(starttime).tv_usec += 1000000; PW32G 101 win32/time.c --PW32G(starttime).tv_sec; PW32G 103 win32/time.c PW32G(starttime).tv_sec -= (int)dt; PW32G 106 win32/time.c PW32G(lasttime) = timer; PW32G 107 win32/time.c dt = (double)timer/PW32G(freq); PW32G 108 win32/time.c time_Info->tv_sec = PW32G(starttime).tv_sec + (int)dt; PW32G 109 win32/time.c time_Info->tv_usec = PW32G(starttime).tv_usec + (int)((dt-(int)dt)*1000000); PW32G 117 win32/time.c if (PW32G(starttime).tv_sec < 0) { PW32G 65 win32/wsyslog.c if (PW32G(log_source)) { PW32G 66 win32/wsyslog.c DeregisterEventSource(PW32G(log_source)); PW32G 67 win32/wsyslog.c PW32G(log_source) = NULL; PW32G 69 win32/wsyslog.c if (PW32G(log_header)) { PW32G 70 win32/wsyslog.c STR_FREE(PW32G(log_header)); PW32G 71 win32/wsyslog.c PW32G(log_header) = NULL; PW32G 91 win32/wsyslog.c if (!PW32G(log_source)) PW32G 109 win32/wsyslog.c strs[0] = PW32G(log_header); /* write header */ PW32G 112 win32/wsyslog.c ReportEvent(PW32G(log_source), etype, (unsigned short) priority, evid, NULL, 2, 0, strs, NULL); PW32G 128 win32/wsyslog.c if (PW32G(log_source)) { PW32G 132 win32/wsyslog.c STR_FREE(PW32G(log_header)); PW32G 134 win32/wsyslog.c PW32G(log_source) = RegisterEventSource(NULL, "PHP-" PHP_VERSION); PW32G 135 win32/wsyslog.c spprintf(&PW32G(log_header), 0, (logopt & LOG_PID) ? "%s[%d]" : "%s", ident, getpid());